From 443a4e2296da68e0cf1b802db8eebb518d9e3f16 Mon Sep 17 00:00:00 2001 From: Antoine Cellerier Date: Sun, 5 Apr 2009 17:35:48 +0000 Subject: Add a few simulator keys for the e200 (in case you don't have a numpad) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20628 a1c6a512-1295-4272-9138-f99709370657 --- uisimulator/sdl/button.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'uisimulator/sdl') diff --git a/uisimulator/sdl/button.c b/uisimulator/sdl/button.c index c32c0a8c6a..e9fa03cbef 100644 --- a/uisimulator/sdl/button.c +++ b/uisimulator/sdl/button.c @@ -674,15 +674,19 @@ void button_event(int key, bool pressed) new_btn = BUTTON_SCROLL_FWD; break; case SDLK_KP9: + case SDLK_PAGEUP: new_btn = BUTTON_UP; break; case SDLK_KP3: + case SDLK_PAGEDOWN: new_btn = BUTTON_DOWN; break; case SDLK_KP1: + case SDLK_HOME: new_btn = BUTTON_POWER; break; case SDLK_KP7: + case SDLK_END: new_btn = BUTTON_REC; break; case SDLK_KP5: -- cgit v1.2.3