summaryrefslogtreecommitdiffstats
path: root/uisimulator
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2006-01-19 12:44:46 +0000
committerDaniel Stenberg <daniel@haxx.se>2006-01-19 12:44:46 +0000
commitacf7d5e89e356cfe9e137e7e9eff74ddbbc9bc09 (patch)
treefa95f67ee95b3535a9f7bcf82a385921503c3a9f /uisimulator
parent457b51dfa7dd496c6988aae05150dc4825425245 (diff)
downloadrockbox-acf7d5e89e356cfe9e137e7e9eff74ddbbc9bc09.tar.gz
rockbox-acf7d5e89e356cfe9e137e7e9eff74ddbbc9bc09.tar.bz2
rockbox-acf7d5e89e356cfe9e137e7e9eff74ddbbc9bc09.zip
more iAudio x5 adjustments by Matt v.d. Westhuizen (#1408980)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8386 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'uisimulator')
-rw-r--r--uisimulator/sdl/button-x11.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/uisimulator/sdl/button-x11.c b/uisimulator/sdl/button-x11.c
index 7c41f24cc8..b0ab81a86a 100644
--- a/uisimulator/sdl/button-x11.c
+++ b/uisimulator/sdl/button-x11.c
@@ -199,6 +199,12 @@ void button_read (void)
break;
#endif
+#ifdef BUTTON_POWER
+ case SDLK_KP_MINUS:
+ case SDLK_p:
+ k = BUTTON_POWER;
+#endif
+
#ifdef BUTTON_F1
case SDLK_KP_DIVIDE:
case SDLK_F1: