summaryrefslogtreecommitdiffstats
path: root/uisimulator/win32/button.c
diff options
context:
space:
mode:
Diffstat (limited to 'uisimulator/win32/button.c')
-rw-r--r--uisimulator/win32/button.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/uisimulator/win32/button.c b/uisimulator/win32/button.c
index 5d56456f6e..a304c366c4 100644
--- a/uisimulator/win32/button.c
+++ b/uisimulator/win32/button.c
@@ -124,9 +124,9 @@ void button_event(int key, bool pressed)
#endif
#ifdef BUTTON_MENU
-#ifdef HAVE_PLAYER_KEYPAD
+#if CONFIG_KEYPAD == PLAYER_PAD
case VK_RETURN:
-#elif defined HAVE_ONDIO_KEYPAD
+#elif CONFIG_KEYPAD == ONDIO_PAD
case VK_INSERT:
#endif
new_btn = BUTTON_MENU;