Switch resolution with key

  • Is it normal to switch resolutions with key (back slash "\")? And if yes - can I disable this? I have new little keyboards and accidenally press it instead of Enter.

  • According to https://github.com/xbmc/xbmc/blob…eyboard.xml#L95 backslash toggles between full-screen and windowed mode; which in LE will just result in some kind of screen reset/refresh as there's no windowing environment and we force Kodi to run full-screen all the time. I've never personally used it, but if you install the keymap editor https://kodi.wiki/view/Add-on:Keymap_Editor you should be able to (re)map the key to something else or remove the command. The same can also be done from the CLI by downloading the default keymap from GitHub to /storage/.kodi/userdata/keymaps/ and editing there.

  • Installed Keymap Editor, found the key as Global/System/Toggle Fullscreen. Clicked on Remove (it returned to previous screen and "backslash" text was there). With ESC moved to first screen and clicked Save. Then backslash still works...

  • I am with LE version 9.2. Probably Keyboard Editor uses newer format. Is it necessary to have "gen.xml" name of keymap file in /storage/.kodi/userdata/keymaps/ or any name has to work?

  • Finally, I found the solution of this problem. Go to /storage/.kodi/userdata/keymaps/ folder. If there is empty gen.xml (only blank <keymap /> tag), replace with the following:

    Code
    <keymap>
       <global>
          <keyboard>
             <backslash>noop</backslash>
          </keyboard>
       </global>
    </keymap>

    If there is another xml file like keyboard.xml, find <backslash> tag and replace value with "noop".

    After reboot the backslash key will be disabled.