2020-03-14, 17:00
2020-03-14, 18:05
Thank you but Keymap editor was useful to find out the keyid
Example
I press Rec on my mce remote and found out that was key is 232
Via keymap editor was possible to associate the key to a command
Or once key id was known to edit keymap xml like
I don't understand how to hnow which key id is a button
Example mce button Eject Which key id is ?
Example
I press Rec on my mce remote and found out that was key is 232
Via keymap editor was possible to associate the key to a command
Or once key id was known to edit keymap xml like
Code:
<key id="24">runscript(script.audio.profiles,0)</key>
I don't understand how to hnow which key id is a button
Example mce button Eject Which key id is ?
2020-03-14, 18:14
(2020-03-14, 18:05)Roby77 Wrote: Example mce button Eject Which key id is ?
34 according to the wiki. https://kodi.wiki/?title=Using_a_Microso...tton_codes
2020-03-14, 18:16
@Roby77 Turn on Debug logging and you should be able to see the keypress in the log file.
2020-03-14, 18:20
(2020-03-14, 18:14)black_eagle Wrote:(2020-03-14, 18:05)Roby77 Wrote: Example mce button Eject Which key id is ?
34 according to the wiki. https://kodi.wiki/?title=Using_a_Microso...tton_codes
Thank you!
2020-03-14, 18:20
(2020-03-14, 18:16)FXB78 Wrote: @Roby77 Turn on Debug logging and you should be able to see the keypress in the log file.
Good!
Thank for your suggestion
2020-03-26, 16:49
i tried
enabled debug logging + tail -f ~/.kodi/temp/kodi.log
but i don't catch the key id
i see this in the log
2020-03-26 14:38:21.920 T:693 DEBUG: LIRC: - NEW a1 0 KEY_EJECTCD devinput (KEY_EJECTCD)
2020-03-26 14:38:21.964 T:689 DEBUG: HandleKey: config (0xeb) pressed, action is EjectTray()
2020-03-26 14:38:23.612 T:693 DEBUG: Previous line repeats 8 times.
but i want to catch key id, i don't see it
ps:tried and eject id is not 34
enabled debug logging + tail -f ~/.kodi/temp/kodi.log
but i don't catch the key id
i see this in the log
2020-03-26 14:38:21.920 T:693 DEBUG: LIRC: - NEW a1 0 KEY_EJECTCD devinput (KEY_EJECTCD)
2020-03-26 14:38:21.964 T:689 DEBUG: HandleKey: config (0xeb) pressed, action is EjectTray()
2020-03-26 14:38:23.612 T:693 DEBUG: Previous line repeats 8 times.
but i want to catch key id, i don't see it
ps:tried and eject id is not 34
2020-03-26, 17:06
Mine shows "HandleKey: 251 (0xfb, obc4) pressed, action is info" where 0xfb is hexadecimal for 251. So going by that logic I'd suggest your hex figure of 0xeb which is 235 decimal is the value you need.
Strange that your log doesn't give the decimal figure, however if you map key 235 it should hopefully work
Strange that your log doesn't give the decimal figure, however if you map key 235 it should hopefully work
2020-08-23, 00:05
Sorry to necro this thread, but seeing as how the add-on appears to be gone, can anyone help me re-map the home button on my Amazon TV Fire Stick remote to open Kodi instead? I can't make sense of the XML file. Thank you.
2020-08-23, 00:48
(2020-08-23, 00:05)nibiyabi Wrote: Sorry to necro this thread, but seeing as how the add-on appears to be gone, can anyone help me re-map the home button on my Amazon TV Fire Stick remote to open Kodi instead? I can't make sense of the XML file. Thank you.The Kodi keymap only works when Kodi is running, you'd have to look on Android forums to see if there's a way to map a key in the Android OS.
2020-08-23, 10:45
You'd be better asking stuff like that in an Android or FireStick forum.
It's outside of Kodi, so somewhat beyond what we support here. There are various launchers etc for FireStick which might help, but they are entirely 3rd party to us and not supported here.
It's outside of Kodi, so somewhat beyond what we support here. There are various launchers etc for FireStick which might help, but they are entirely 3rd party to us and not supported here.
2020-08-23, 19:26
OK, just because this thread popped back up, I'll mention that I'm going to take a look at what it will take to bring this over to Matrix (and update it properly for Leia). No promises, but I've reached out to the original author to confirm that they aren't intending to continue supporting it so I (or a group of someones) can take over maintenance.
2020-08-25, 19:07
OK, I've got some initial work done on an update for Leia and Matrix. I posted something in the Keymap Editor thread about it, and I'd suggest we take any further discussion over there.
https://forum.kodi.tv/showthread.php?tid...pid2972653
https://forum.kodi.tv/showthread.php?tid...pid2972653