Add key mapping for the power button
authorJohn Rennie <john.rennie@ratsauce.co.uk>
Tue, 15 Jan 2013 10:27:00 +0000 (10:27 +0000)
committerJohn Rennie <john.rennie@ratsauce.co.uk>
Tue, 15 Jan 2013 10:27:00 +0000 (10:27 +0000)
system/keymaps/keyboard.xml

index 4271157..d8b6f47 100644 (file)
@@ -94,6 +94,7 @@
       <backslash>ToggleFullScreen</backslash>
       <home>FirstPage</home>
       <end>LastPage</end>
+      <power>XBMC.ShutDown()</power>
       <!-- PVR windows -->
       <e>XBMC.ActivateWindowAndFocus(MyPVR, 31,0, 10,0)</e>
       <h>XBMC.ActivateWindowAndFocus(MyPVR, 32,0, 11,0)</h>