changeset 25337:6a7cf06be2e8

allow osd menu being controlled by joystick
author ben
date Tue, 11 Dec 2007 21:58:42 +0000
parents 83ec95484c61
children dfba06821076
files etc/input.conf etc/menu.conf
diffstat 2 files changed, 7 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/etc/input.conf	Tue Dec 11 20:40:34 2007 +0000
+++ b/etc/input.conf	Tue Dec 11 21:58:42 2007 +0000
@@ -98,6 +98,7 @@
 JOY_BTN1 osd
 JOY_BTN2 volume 1
 JOY_BTN3 volume -1
+JOY_BTN4 set_menu main
 
 ##
 ## Apple Remote section
--- a/etc/menu.conf	Tue Dec 11 20:40:34 2007 +0000
+++ b/etc/menu.conf	Tue Dec 11 21:58:42 2007 +0000
@@ -9,6 +9,12 @@
     <binding key="END" cmd="menu end" />
     <binding key="PGUP" cmd="menu pageup" />
     <binding key="PGDWN" cmd="menu pagedown" />
+    <binding key="JOY_UP" cmd="menu up" />
+    <binding key="JOY_DOWN" cmd="menu down" />
+    <binding key="JOY_LEFT" cmd="menu left" />
+    <binding key="JOY_RIGHT" cmd="menu right" />
+    <binding key="JOY_BTN0" cmd="menu ok" />
+    <binding key="JOY_BTN1" cmd="menu cancel" />
 </keybindings>
 <keybindings name="list" parent="default" />
 <keybindings name="filesel" parent="list">