Kodi Community Forum
How binding Escape button / function to skin button action - Printable Version

+- Kodi Community Forum (http://forum.kodi.tv)
+-- Forum: Development (/forumdisplay.php?fid=32)
+--- Forum: Skin Development (/forumdisplay.php?fid=12)
+--- Thread: How binding Escape button / function to skin button action (/showthread.php?tid=59577)



How binding Escape button / function to skin button action - harris - 2009-10-12 17:05

With pressing the ESC button (Desktop Windows) I can navigate to the last window / close the dialog etc.

How can i bind this Escape button / function to a skin button action

<onclick>Confused</onclick>


- spiff - 2009-10-12 17:28

keymap.xml - just like any other keybindings...


- harris - 2009-10-12 19:21

Hm

I don't want to modify key mappings but bind the function(s) of an existing
keyboard key binding to a gui button pressing


- Jezz_X - 2009-10-12 23:25

You can use any command from keymap for the buttons <onclick> so in this case <onclick>PreviousMenu</onclick>