Solved How avoid VirtualKeyboard enter a key with Enter ?
#1
Hi,

I'm using a remote in KODI but sometime i want to use a physical keyboard (to type some text for exemple).
When doing this i don't want using the virtual keyboard so i have created a vkeyboard.xml files to avoid the arrow keys moving in the virtual keyboard.

Code:
<keymap>
  <virtualkeyboard>
    <keyboard>
      <left>CursorLeft</left>
      <right>CursorRight</right>
      <down>CursorLeft</down>
      <up>CursorRight</up>
    </keyboard>
  </virtualkeyboard>
</keymap>

But i don't know how avoid the touchpad going to the virtual keyboard and sometime i touch-it accidentaly without notice it.
So, i would add (if possible) an option to this file like <enter>?</enter> for the enter/return key always act as the "Done" key (and not sending the key pointed in the virtual Keyboard if it is not "Done").

I have try End/Done/Ok without success.

Thanks.
Reply
#2
Use the action "enter". It defaults to "select", so "enter" should always select the done button. That's how I did it with another keymap.

So something like:

Code:
<enter>enter</enter>
Reply
#3
Hi,

thanks for your answer.
It didn't work.
enter do the same as before.
I have try <enter>CursorRight</enter> for testing and it always type the key hightlight in the virtual keyboard.
So it's not the enter key or it can't be remap in this file. :-(

Update :

<return>Enter</return> do the job !

Thanks.
Reply

Logout Mark Read Team Forum Stats Members Help
How avoid VirtualKeyboard enter a key with Enter ?0