aboutsummaryrefslogtreecommitdiffstats
path: root/src/gwin/gwin_button.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gwin/gwin_button.c')
-rw-r--r--src/gwin/gwin_button.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gwin/gwin_button.c b/src/gwin/gwin_button.c
index 4066884c..8a178b72 100644
--- a/src/gwin/gwin_button.c
+++ b/src/gwin/gwin_button.c
@@ -95,6 +95,11 @@ static const gwidgetVMT buttonVMT = {
0, // Process mouse move events (NOT USED)
},
#endif
+ #if GINPUT_NEED_KEYBOARD
+ {
+ 0 // Process keyboard events
+ },
+ #endif
#if GINPUT_NEED_TOGGLE
{
1, // 1 toggle role