I'm unable to get the media keys to work in XBMC, primarily because XBMC doesn't seem recognize the keys.
Whenever I press a media key on the Logitech DiNovo Mini (Previous, Stop, Play/Pause, Next), all it registers in the xbmc log is this:
Code:
DEBUG: SDLKeyboard found something unknown (unicode <> printable ASCII): scancode: 0, sym: 0, unicode: 0, modifier: 0
I even tried connecting a Microsoft Natural Ergonomic 4000 keyboard and using the media keys on that (Play/Pause, Previous, Next) and it gives the same result in the XBMC.log.
It can recognize the various normal buttons just fine:
Code:
DEBUG: CApplication::OnKey: 61448 pressed, action is 10 (Backspace)
DEBUG: CApplication::OnKey: 61449 pressed, action is 18 (Tab)
DEBUG: CApplication::OnKey: 61453 pressed, action is 7 (Enter)
DEBUG: CApplication::OnKey: 61467 pressed, action is 13 (ESC?)
DEBUG: CApplication::OnKey: 61472 pressed, action is 12 (Space)
DEBUG: CApplication::OnKey: 61473 pressed, action is 5 (PageUp)
DEBUG: CApplication::OnKey: 61474 pressed, action is 6 (PageDown)
DEBUG: CApplication::OnKey: 61478 pressed, action is 3 (ArrowUp)
DEBUG: CApplication::OnKey: 61480 pressed, action is 4 (ArrowDown)
DEBUG: CApplication::OnKey: 61510 pressed, action is 77 (F)
DEBUG: CApplication::OnKey: 61513 pressed, action is 11 (I)
DEBUG: CApplication::OnKey: 61517 pressed, action is 24 (M)
DEBUG: CApplication::OnKey: 61520 pressed, action is 79 (P)
DEBUG: CApplication::OnKey: 61522 pressed, action is 78 (R)
DEBUG: CApplication::OnKey: 61523 pressed, action is 122 (S)
DEBUG: CApplication::OnKey: 61528 pressed, action is 13 (X)
DEBUG: CApplication::OnKey: 61536 pressed, action is 58 (0)
DEBUG: CApplication::OnKey: 61537 pressed, action is 59 (1)
DEBUG: CApplication::OnKey: 61538 pressed, action is 60 (2)
DEBUG: CApplication::OnKey: 61539 pressed, action is 61 (3)
DEBUG: CApplication::OnKey: 61540 pressed, action is 62 (4)
DEBUG: CApplication::OnKey: 61541 pressed, action is 63 (5)
DEBUG: CApplication::OnKey: 61542 pressed, action is 64 (6)
DEBUG: CApplication::OnKey: 61543 pressed, action is 65 (7)
DEBUG: CApplication::OnKey: 61544 pressed, action is 66 (8)
DEBUG: CApplication::OnKey: 61545 pressed, action is 67 (9)
DEBUG: CApplication::OnKey: 61628 pressed, action is 21 (Komma)
DEBUG: CApplication::OnKey: 61630 pressed, action is 20 (Period)
I even tried using the keycodes I found in another thread and modify the keymap.xml to handle them:
Code:
<key id="61520">Pause</key>
<key id="61467">Stop</key>
<key id="61479">SkipNext</key>
<key id="61477">SkipPrevious</key>
But since the keys themselves aren't recognized by XBMC I figured this was a long shot, and so it was (no luck).
Another thread refers to the uberOptions program, which is not really a solution for the media keys, since mapping Play/Pause to Space or Previous to komma (,) would make the keys not work in other applications. According to uberOptions they are mapped "correctly" to Media
lay etc. (upside to this program is that I could map the MC launcher button to launch XBMC instead of Windows Media Center).
I'm using XBMC Atlantis Beta 2 on Windows Vista Ultimate (32-bit), on a Gigabyte GA-MA78GM-S2H with a AMD Athlon 64 X2 4850e CPU and 4 GB DDR2 RAM.
Any ideas or suggestions?
Edit:
I just tried installing a 3rd. party SVN build (XBMCSetup-Rev16120.exe) build Nov. 8th. 2008, same result. Media keys still not recognized.