Having trouble key mapping the Home button on my new air mouse remote. I continue getting the following in the debug log
Keyboard: scancode: 0x00, sym: 0x0000, unicode: 0x0000, modifier: 0x0
00:48:33 T:13572 DEBUG: CInputManager::OnKey: long-0 (0x100f200) pressed, action is
00:48:33 T:13572 DEBUG: WinEventsWin32.cpp: APPCOMMAND 7
00:48:33 T:13572 DEBUG: CApplication::OnAppCommand: appcommand 7, trying action FirstPage
00:48:33 T:13572 DEBUG: Keyboard: scancode: 0x00, sym: 0x0000, unicode: 0x0000, modifier: 0x0
00:48:33 T:13572 DEBUG: CInputManager::OnKey: long-0 (0x100f200) pressed, action is
00:48:33 T:13572 DEBUG: WinEventsWin32.cpp: APPCOMMAND 7
00:48:33 T:13572 DEBUG: CApplication::OnAppCommand: appcommand 7, trying action FirstPage
It seems like Kodi cannot find anything for the home button so is defaulting to FirstPage action. First I attempted to create a keyboard.xml in userdata folder using the following mapping <home>ActivateWindow(Home)</home>, but it had no effect. While looking at the keyboard.xml in programfiles/kodi/system I found the mapping <home>FirstPage</home>, thinking this was the issue I changed it to <home>ActivateWindow(Home)</home>, but again with no effect. Last I tried to make a <long-0>ActivateWindow(Home)</long-0> mapping in the userdata folder but again I am only getting the FirstPage action. Does anyone have any expertise with this? On my old keyboard I would press Esc key and it would take me back to the home screen no matter where I was in Kodi, which is all I want the Home button to do. Thanks for any input I can get.
Here is the format my mapping is in, in case that is the problem
<keymap>
<global>
<keyboard>
<home>ActivateWindow(Home)</home>
</keyboard>
</global>
</keymap>