aboutsummaryrefslogtreecommitdiff
path: root/system
diff options
context:
space:
mode:
authorJohn Rennie <john.rennie@ratsauce.co.uk>2011-05-24 10:16:58 +0100
committerJohn Rennie <john.rennie@ratsauce.co.uk>2011-05-24 10:16:58 +0100
commite38894acabcae5934031fa16b56f10b36e6238bb (patch)
tree545bf36767bc96f6427a2f40565cccb9def7a2fc /system
parentfb86f1e78b3e8c410d083a58d90a28042056af02 (diff)
Allow WM_APPCOMMAND messages to be mappable like key presses
Diffstat (limited to 'system')
-rw-r--r--system/keymaps/appcommand.xml24
1 files changed, 24 insertions, 0 deletions
diff --git a/system/keymaps/appcommand.xml b/system/keymaps/appcommand.xml
new file mode 100644
index 0000000000..523a62ace6
--- /dev/null
+++ b/system/keymaps/appcommand.xml
@@ -0,0 +1,24 @@
+<keymap>
+ <global>
+ <appcommand>
+ <browser_backward>ParentDir</browser_backward>
+ <browser_forward/>
+ <browser_refresh/>
+ <browser_stop>Stop</browser_stop>
+ <browser_search/>
+ <browser_favorites>ActivateWindow(Favourites)</browser_favorites>
+ <browser_home>FirstPage</browser_home>
+ <volume_mute/>
+ <volume_down/>
+ <volume_up/>
+ <media_nexttrack>SkipNext</media_nexttrack>
+ <media_previoustrack>SkipPrevious</media_previoustrack>
+ <media_stop>Stop</media_stop>
+ <media_play_pause>Play</media_play_pause>
+ <launch_mail/>
+ <launch_media_select>XBMC.ActivateWindow(MyMusic)</launch_media_select>
+ <launch_app1>ActivateWindow(MyPrograms)</launch_app1>
+ <launch_app2>ActivateWindow(MyPrograms)</launch_app2>
+ </appcommand>
+ </global>
+</keymap>