summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorP. J. McDermott <pj@pehjota.net>2021-03-19 09:03:36 (EDT)
committer P. J. McDermott <pj@pehjota.net>2021-03-19 09:03:36 (EDT)
commitefaf76d2f22c967d22327f2535060fd73b4ae7a8 (patch)
treee0e673df23344c206c9f72ed15061466530636d1
parent312c8a5cd499b3e221c56794f03cd6c809f8665e (diff)
downloaddodge-balls-efaf76d2f22c967d22327f2535060fd73b4ae7a8.zip
dodge-balls-efaf76d2f22c967d22327f2535060fd73b4ae7a8.tar.gz
dodge-balls-efaf76d2f22c967d22327f2535060fd73b4ae7a8.tar.bz2
main-menu: Handle keypad Enter key
-rw-r--r--src/main-menu.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main-menu.c b/src/main-menu.c
index 7ebe859..0998d6d 100644
--- a/src/main-menu.c
+++ b/src/main-menu.c
@@ -326,6 +326,7 @@ db_main_menu(void)
}
break;
case SDLK_RETURN:
+ case SDLK_KP_ENTER:
active->action(
active->user_data);
break;