summaryrefslogtreecommitdiffstats
path: root/uisimulator/x11/button-x11.c
diff options
context:
space:
mode:
authorBjörn Stenberg <bjorn@haxx.se>2002-05-16 14:46:58 +0000
committerBjörn Stenberg <bjorn@haxx.se>2002-05-16 14:46:58 +0000
commit28af55d61a6d392e73a37d0f3b50844459fae5ce (patch)
treec035a8b1653a28af5c669e8f60360c11088f8fb5 /uisimulator/x11/button-x11.c
parentd902f94313fe24826cfd2719bb6cc63ae8157a13 (diff)
downloadrockbox-28af55d61a6d392e73a37d0f3b50844459fae5ce.tar.gz
rockbox-28af55d61a6d392e73a37d0f3b50844459fae5ce.tar.bz2
rockbox-28af55d61a6d392e73a37d0f3b50844459fae5ce.zip
Added support for player keypad
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@597 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'uisimulator/x11/button-x11.c')
-rw-r--r--uisimulator/x11/button-x11.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/uisimulator/x11/button-x11.c b/uisimulator/x11/button-x11.c
index c3afa4b42a..b138d1e038 100644
--- a/uisimulator/x11/button-x11.c
+++ b/uisimulator/x11/button-x11.c
@@ -63,6 +63,7 @@ static int get_raw_button (void)
case XK_KP_2:
return BUTTON_DOWN;
+#ifdef HAVE_RECORDER_KEYPAD
case XK_KP_Space:
case XK_KP_5:
return BUTTON_PLAY;
@@ -81,6 +82,7 @@ static int get_raw_button (void)
case XK_KP_Subtract:
return BUTTON_F3;
+#endif
default:
return 0;