Kodi Community Forum
How to ignore up and down events when OSD is not shown? - 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: How to ignore up and down events when OSD is not shown? (/showthread.php?tid=347134)



How to ignore up and down events when OSD is not shown? - yopet - 2019-09-10

Howdy!

I've been trying to get some clarity on this online and on this forum, and failed. Sorry if this has already been asked and answered.

Would it be possible to ignore the events from keyboard/remote while playing the video and the OSD is not shown? In other words how to prevent NextChapter and PreviousChapter completely?

Thanks a lot in advance!

Cheers...


RE: How to ignore up and down events when OSD is not shown? - jjd-uk - 2019-09-10

Remove any unwanted functions from the section <FullscreenVideo> in the keymap, so for up/down remove these https://github.com/xbmc/xbmc/blob/master/system/keymaps/keyboard.xml#L370-L371 from the keyboard.xml also see https://kodi.wiki/view/Keymap for more info on creating a custom keymap.


RE: How to ignore up and down events when OSD is not shown? - yopet - 2019-09-10

(2019-09-10, 09:37)jjd-uk Wrote: Remove any unwanted functions from the section <FullscreenVideo> in the keymap, so for up/down remove these https://github.com/xbmc/xbmc/blob/master/system/keymaps/keyboard.xml#L370-L371 from the keyboard.xml also see https://kodi.wiki/view/Keymap for more info on creating a custom keymap.

Thank you so much on a quick and precise answer!!!