Kodi Community Forum
Keymap on VirtualKeyboard screen, custom action on long pressed space - 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: OS independent / Other (https://forum.kodi.tv/forumdisplay.php?fid=228)
+---- Thread: Keymap on VirtualKeyboard screen, custom action on long pressed space (/showthread.php?tid=364017)



Keymap on VirtualKeyboard screen, custom action on long pressed space - Vodochnik - 2021-08-16

Hi,
I've got some "stupid" remote, (MX3) without mod keys.
I want to run a script to change keyboard layout and all this works.

I have 2 mappings in user keymaps.xml:
      <space mod="longpress">XBMC.RunScript(/home/pi/.kodi/userdata/scripts/hwkb_cycle_layout.py)</space>
      <right mod="longpress">XBMC.RunScript(/home/pi/.kodi/userdata/scripts/hwkb_cycle_layout.py)</right>

The second one does work, but first one, with SPACE, works everywhere but not on VirtualKeyboard screen!
Logs: https://paste.kodi.tv/ihiritolar.kodi

Hope somebody can help)