summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--uisimulator/sdl/button.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/uisimulator/sdl/button.c b/uisimulator/sdl/button.c
index 9f86cd8ed0..840a599aac 100644
--- a/uisimulator/sdl/button.c
+++ b/uisimulator/sdl/button.c
@@ -980,6 +980,10 @@ void button_event(int key, bool pressed)
980 case SDLK_PAGEUP: 980 case SDLK_PAGEUP:
981 new_btn = BUTTON_VOL_UP; 981 new_btn = BUTTON_VOL_UP;
982 break; 982 break;
983 case SDLK_ESCAPE:
984 case SDLK_p:
985 new_btn = BUTTON_POWER;
986 break;
983#else 987#else
984#error No keymap defined! 988#error No keymap defined!
985#endif /* CONFIG_KEYPAD */ 989#endif /* CONFIG_KEYPAD */