Kodi Community Forum
Close XBMC when pressing "Esc" key - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111)
+---- Forum: Windows (https://forum.kodi.tv/forumdisplay.php?fid=59)
+---- Thread: Close XBMC when pressing "Esc" key (/showthread.php?tid=189813)



Close XBMC when pressing "Esc" key - Solid One - 2014-03-20

I'm trying to use XBMC only as a frontend for emulators by using Rom Collection Browser addon. I've installed XBMC in portable mode, to make it standalone by itself and to avoid conflicts with another XBMC installations.

Here's what I've already done:
  • Installed XBMC with only Confluence skin, only a few languages and no PVR addons;
  • Configured XBMC in Portable Mode by creating a batch file that runs XBMC.exe with -p parameter (I've even compiled the batch file to an executable);
  • Removed all home items, except "System" and "Programs"
  • Installed and configured Rom Collection Browser;
  • Created a "autoexec.py" file in order to autostart Rom Collection Browser, by following these instructions;

I intent to run it from Steam Big Picture, and I want to map a key (or button from my Xbox360 controller) to close XBMC and go back to Steam BP interface. However, I couldn't find any native option inside XBMC settings, and exitting by pressing "S" or "Alt + F4" keys isn't as comfortable and easy to close the app, since "S" key will open a menu with closing options, and "Alt + F4" is a key combination.

Can I map, per example, the "Esc" key to close XBMC?


RE: Close XBMC when pressing "Esc" key - scott967 - 2014-03-21

Should be able to map it in keymap.xml to XBMC.Quit.

scott s.
.


RE: Close XBMC when pressing "Esc" key - baijuxavior - 2014-03-21

Try <escape>XBMC.Quit</escape> under global section of keyboard.xml.


RE: Close XBMC when pressing "Esc" key - Solid One - 2014-03-21

Confirmed that mapping "XBMC.Quit" command to Esc key worked. Thanks!