2013-08-08, 21:22
Few of the scancodes of the media keys on my rf remote aren't included in XBMC (FastForward, Rewind, Play and Record).
I wouldn't bother to ask adding misc scancodes to XBMC but it looks like these are known scancodes and in both Windows and Gnome-Linux these keys recognized and working pretty well (except Record).
On all platforms Record isn't recognize in XBMC.
On OpenELEC Xorg (Generic) FF, RR and Record doesn't work.
On OpenELEC Raspberry Pi (Generic) FF, RR, Play and Record doesn't work.
As FF, RR and Play does work on Windows and Gnome-Linux I'm guessing there's a standard to these scancodes and that the system key mapping preceed XBMC so XBMC doesn't get the original scancode but another that it does recognize.
I must admit that I've failed to find where these are re-mapped on Gnome-Linux (maybe lirc ?).
If there is such standard I didn't found any resource on it but I did found similar users' posts with the same scancodes (and more scancodes of different buttons) so it may worth to add these to XBMC.
https://github.com/OpenELEC/OpenELEC.tv/issues/1312
http://ubuntuforums.org/showthread.php?t=1890156
OpenELEC Xorg (Generic) v3.1.5
OpenELEC Raspberry Pi, Rbej Gotham build
Linux-Gnome, XBMC 12.2
Windows, Gotham alpha6
I wouldn't bother to ask adding misc scancodes to XBMC but it looks like these are known scancodes and in both Windows and Gnome-Linux these keys recognized and working pretty well (except Record).
On all platforms Record isn't recognize in XBMC.
On OpenELEC Xorg (Generic) FF, RR and Record doesn't work.
On OpenELEC Raspberry Pi (Generic) FF, RR, Play and Record doesn't work.
As FF, RR and Play does work on Windows and Gnome-Linux I'm guessing there's a standard to these scancodes and that the system key mapping preceed XBMC so XBMC doesn't get the original scancode but another that it does recognize.
I must admit that I've failed to find where these are re-mapped on Gnome-Linux (maybe lirc ?).
If there is such standard I didn't found any resource on it but I did found similar users' posts with the same scancodes (and more scancodes of different buttons) so it may worth to add these to XBMC.
https://github.com/OpenELEC/OpenELEC.tv/issues/1312
http://ubuntuforums.org/showthread.php?t=1890156
OpenELEC Xorg (Generic) v3.1.5
Code:
RR
20:36:25 T:139738803738432 DEBUG: Keyboard: scancode: b0, sym: 0153, unicode: 0000, modifier: 0
20:36:25 T:139738803738432 DEBUG: GetActionCode: Trying Hardy keycode for 0xf200
FF
20:36:29 T:139738803738432 DEBUG: Keyboard: scancode: d8, sym: 0157, unicode: 0000, modifier: 0
20:36:29 T:139738803738432 DEBUG: GetActionCode: Trying Hardy keycode for 0xf200
Play
20:36:27 T:139738803738432 DEBUG: Keyboard: scancode: d7, sym: 0155, unicode: 0000, modifier: 0
20:36:27 T:139738803738432 DEBUG: OnKey: play_pause (f0bd) pressed, action is Play
Record
20:36:30 T:139738803738432 DEBUG: Keyboard: scancode: af, sym: 0152, unicode: 0000, modifier: 0
20:36:30 T:139738803738432 DEBUG: GetActionCode: Trying Hardy keycode for 0xf200
OpenELEC Raspberry Pi, Rbej Gotham build
Code:
RR
00:10:06 T:3070140416 DEBUG: Keyboard: scancode: 0xa8, sym: 0x0153, unicode: 0x0000, modifier: 0x0
00:10:06 T:3070140416 DEBUG: GetActionCode: Trying Hardy keycode for 0xf200
FF
00:10:26 T:3070140416 DEBUG: Keyboard: scancode: 0xd0, sym: 0x0157, unicode: 0x0000, modifier: 0x0
00:10:26 T:3070140416 DEBUG: GetActionCode: Trying Hardy keycode for 0xf200
Play
00:09:39 T:3070140416 DEBUG: Keyboard: scancode: 0xcf, sym: 0x0155, unicode: 0x0000, modifier: 0x0
00:09:39 T:3070140416 DEBUG: GetActionCode: Trying Hardy keycode for 0xf200
Record
00:10:40 T:3070140416 DEBUG: Keyboard: scancode: 0xa7, sym: 0x0152, unicode: 0x0000, modifier: 0x0
00:10:40 T:3070140416 DEBUG: GetActionCode: Trying Hardy keycode for 0xf200
Linux-Gnome, XBMC 12.2
Code:
RR
Keyboard: scancode: b0, sym: 0072, unicode: 0000, modifier: 1000
OnKey: r (f052) pressed, action is Rewind
FF
Keyboard: scancode: d8, sym: 0066, unicode: 0000, modifier: 1000
OnKey: f (f046) pressed, action is FastForward
Play
Keyboard: scancode: d7, sym: 00b3, unicode: 0000, modifier: 1000
OnKey: play_pause (f0bd) pressed, action is Pause
Record
Keyboard: scancode: af, sym: 0000, unicode: 0000, modifier: 1000
GetActionCode: Trying Hardy keycode for 0xf200
Windows, Gotham alpha6
Code:
RR
20:50:22 T:4620 DEBUG: WinEventsWin32.cpp: APPCOMMAND 50
20:50:22 T:4620 DEBUG: CApplication::OnAppCommand: appcommand 50, trying action Rewind
FF
20:50:25 T:4620 DEBUG: WinEventsWin32.cpp: APPCOMMAND 49
20:50:25 T:4620 DEBUG: CApplication::OnAppCommand: appcommand 49, trying action FastForward
Play
20:50:23 T:4620 DEBUG: WinEventsWin32.cpp: APPCOMMAND 46
20:50:23 T:4620 DEBUG: CApplication::OnAppCommand: appcommand 46, trying action Play
Record
20:50:26 T:4620 DEBUG: WinEventsWin32.cpp: APPCOMMAND 48
20:50:26 T:4620 DEBUG: CApplication::OnAppCommand: unknown appcommand 48