Adding "Super" ("Win") modificator to keyboard.
#1
I've found that some HID remotes (at least mine) send some keyboard sequences that are combination such as <Win>+<D> so it would be good to don't treat them as just 'D' but have something like <d mod="super">SomeAction</d> in keyboard.xml file. I've added some modification to source, recompiled it, checked on my remote, it works fine. I've added ticket in the Trac in hope it will go into SVN and want your opinions.
Reply
#2
LStranger Wrote:I've found that some HID remotes (at least mine) send some keyboard sequences that are combination such as <Win>+<D> so it would be good to don't treat them as just 'D' but have something like <d mod="super">SomeAction</d> in keyboard.xml file. I've added some modification to source, recompiled it, checked on my remote, it works fine. I've added ticket in the Trac in hope it will go into SVN and want your opinions.

Do you by any chance have an app that can display which keystrokes those HIDs send?
Reply
#3
nikiiv Wrote:Do you by any chance have an app that can display which keystrokes those HIDs send?

If you switch debug logging on in XBMC settings then you can see them in your XBMC temp folder's file xbmc.log in lines such as
Code:
DEBUG: SDLKeyboard: scancode: 64, sym: 308, unicode: 0, modifier: 0
- look for scancode there, some keys on remote send 1 keystroke but some send 2 or more (something like <Ctrl>+<Alt>+<F1> for example).
Reply
#4
LStranger Wrote:If you switch debug logging on in XBMC settings then you can see them in your XBMC temp folder's file xbmc.log in lines such as
Code:
DEBUG: SDLKeyboard: scancode: 64, sym: 308, unicode: 0, modifier: 0
- look for scancode there, some keys on remote send 1 keystroke but some send 2 or more (something like <Ctrl>+<Alt>+<F1> for example).

Smart.. thank you
Reply

Logout Mark Read Team Forum Stats Members Help
Adding "Super" ("Win") modificator to keyboard.0