summaryrefslogtreecommitdiffstats
path: root/uisimulator/x11/button-x11.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2002-08-05 14:11:40 +0000
committerDaniel Stenberg <daniel@haxx.se>2002-08-05 14:11:40 +0000
commitb3a80fbe30dc9a72f7146ee15558291d8b70c26f (patch)
tree4343a6fdaa98920fa44f97f3a85fe72c254893f5 /uisimulator/x11/button-x11.c
parent1beaa8b362800b46316355c4ef96bd4983ccd8bd (diff)
downloadrockbox-b3a80fbe30dc9a72f7146ee15558291d8b70c26f.tar.gz
rockbox-b3a80fbe30dc9a72f7146ee15558291d8b70c26f.tar.bz2
rockbox-b3a80fbe30dc9a72f7146ee15558291d8b70c26f.zip
George Styles added a few keys for running the simulator on without numerical
keypad git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1535 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'uisimulator/x11/button-x11.c')
-rw-r--r--uisimulator/x11/button-x11.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/uisimulator/x11/button-x11.c b/uisimulator/x11/button-x11.c
index a359098eb5..c765927189 100644
--- a/uisimulator/x11/button-x11.c
+++ b/uisimulator/x11/button-x11.c
@@ -55,6 +55,11 @@ int button_set_release(int newmask)
* Div,Mul,Sub = The tree menu keys
* +,Enter = On, Off
*
+ * Alternative Keys For Laptop or VNC Users
+ * Recorder:
+ * Space=Play Q=On A=Off 1,2,3 = F1,F2,F3
+ * Player:
+ * Q=On Enter=Menu
*/
/* from uibasic.c */
@@ -89,27 +94,38 @@ static int get_raw_button (void)
case XK_KP_Space:
case XK_KP_5:
case XK_KP_Begin:
+ case XK_space:
return BUTTON_PLAY;
case XK_KP_Enter:
+ case XK_A:
+ case XK_a:
return BUTTON_OFF;
case XK_KP_Add:
+ case XK_Q:
+ case XK_q:
return BUTTON_ON;
case XK_KP_Divide:
+ case XK_1:
return BUTTON_F1;
case XK_KP_Multiply:
+ case XK_2:
return BUTTON_F2;
case XK_KP_Subtract:
+ case XK_3:
return BUTTON_F3;
#else
case XK_KP_Add:
+ case XK_Q:
+ case XK_q:
return BUTTON_ON;
case XK_KP_Enter:
+ case XK_Enter:
return BUTTON_MENU;
#endif