From e131c8fe8de5d8d956a10623bb9351df0c526845 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Sat, 25 Sep 2021 13:14:39 -0400 Subject: tk: Handle keypad Enter key --- (limited to 'src/tk/button.c') diff --git a/src/tk/button.c b/src/tk/button.c index 90752eb..1152bd9 100644 --- a/src/tk/button.c +++ b/src/tk/button.c @@ -63,6 +63,7 @@ _mftk_button_key_event(struct mftk_widget *w, SDL_Event *e) switch (e->key.keysym.sym) { case SDLK_SPACE: case SDLK_RETURN: + case SDLK_KP_ENTER: if (b->action == NULL) { return 0; } -- cgit v0.9.1