2011-10-19, 10:48
Hi all,
I am using XBMC/Linux since 2 years now, and everything runs perfectly. Up to now, my system was controlled with a IR remote managed by LIRC.
I got recently a "Logitech Dinovo Mini" keyboard and i am trying to use it inside XBMC, but i am facing issues with media keys (an i guess those issues are not linked to the device itself but more to the key recognition on XBMC).
The facts :
- I am using the Dinovo Mini with the dongle provided by Logitech : the device is recognized as 2 USBHID devices (ie mouse + keyboard).
- The keyboard is working perfectly in XBMC (arrows, enter, letters, ..., ...)
- But the media keys are not recognized properly.
My tests :
- In order to see what keycodes are generated, i activated the debug option in XBMC.
- Then for each media keys, i look in the xbmc.log
- Then for the media key "VolumeDown", i get the following lines :
which is fine. But for all the remaining keys, i just get the SDL scancode :
and no OnKey information.
Hence, i cannot used these keys under XBMC thru the keymap.xml
My questions :
1 - Why the SDL scancode is captured, but not translated to a OnKey value ?
2 - What is the solution to get those keys recognized ?
Thanks !
System : OpenSUSE 11.3, kernel 2.6.34.10-0.2-desktop
XBMC running in -fs mode (ie no graphical desktop behind)
XBMC v10.1 (-4.24), installed directly from the packman repository http://packman.links2linux.de
I am using XBMC/Linux since 2 years now, and everything runs perfectly. Up to now, my system was controlled with a IR remote managed by LIRC.
I got recently a "Logitech Dinovo Mini" keyboard and i am trying to use it inside XBMC, but i am facing issues with media keys (an i guess those issues are not linked to the device itself but more to the key recognition on XBMC).
The facts :
- I am using the Dinovo Mini with the dongle provided by Logitech : the device is recognized as 2 USBHID devices (ie mouse + keyboard).
- The keyboard is working perfectly in XBMC (arrows, enter, letters, ..., ...)
- But the media keys are not recognized properly.
My tests :
- In order to see what keycodes are generated, i activated the debug option in XBMC.
- Then for each media keys, i look in the xbmc.log
- Then for the media key "VolumeDown", i get the following lines :
Code:
10:39:55 T:139655830136896 M:3575820288 DEBUG: SDLKeyboard: scancode: 122, sym: 0, unicode: 0, modifier: 0
10:39:55 T:139655830136896 M:3575820288 DEBUG: OnKey: 61610 pressed, action is
Code:
10:39:55 T:139655830136896 M:3575820288 DEBUG: SDLKeyboard: scancode: 123, sym: 0, unicode: 0, modifier: 0
10:39:55 T:139655830136896 M:3575820288 DEBUG: SDLKeyboard: scancode: 121, sym: 0, unicode: 0, modifier: 0
Hence, i cannot used these keys under XBMC thru the keymap.xml
My questions :
1 - Why the SDL scancode is captured, but not translated to a OnKey value ?
2 - What is the solution to get those keys recognized ?
Thanks !
System : OpenSUSE 11.3, kernel 2.6.34.10-0.2-desktop
XBMC running in -fs mode (ie no graphical desktop behind)
XBMC v10.1 (-4.24), installed directly from the packman repository http://packman.links2linux.de