v19 Keymap Editor (Kodi 18/19 and on) - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33) +--- Forum: Add-on Support (https://forum.kodi.tv/forumdisplay.php?fid=27) +---- Forum: Program Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=151) +---- Thread: v19 Keymap Editor (Kodi 18/19 and on) (/showthread.php?tid=356730) |
RE: Keymap Editor (Kodi 18/19 and on) - Trillian_M1 - 2022-12-01 Hey Racer_X, thanks for your reply. Im not sure if I understand you right: I'm not talking about the Shield Remote or the Shield Receiver. This is what I'm using: https://www.amazon.de/Hama-Remote-Control-PC-Fernbedienung-andere/dp/B000X1EL4W I think this is close what you ment by saying "something like a FLIRC", right? Also on the shield itself all the buttons from the remote are recognized, but its inside Kodi itself where the numbers on the remote stop working. RE: Keymap Editor (Kodi 18/19 and on) - Racer_X - 2022-12-01 (2022-12-01, 17:42)Trillian_M1 Wrote: Hey Racer_X, thanks for your reply. Im not sure if I understand you right:Hey, no I get what you're using. I used the Shield remote just as an example to show you how many button-signals the shield system is programmed to recognize. If you're getting all your MCE remote buttons, if things like the number buttons actually do come through on the shield, 1- that surprises me greatly and 2- then it might be your remote that's adding that function (great!). I don't know if it's the same as a flirc, I don't really know that much about the flirc. But anyway- if you are getting 'button throughput' on the shield os (home screen, other apps, etc.), the yeah, for sure those should work on Kodi / Kodi keymapper. RE: Keymap Editor (Kodi 18/19 and on) - Glennza - 2022-12-02 Nice, thanks. I guess you have to be in "air mouse" mode? RE: Keymap Editor (Kodi 18/19 and on) - Glennza - 2022-12-02 (2022-11-13, 15:44)swurzn Wrote: had the same problem with the new G20s pro. Nice, thanks. I guess you have to be in "air mouse" mode? RE: Keymap Editor (Kodi 18/19 and on) - Glennza - 2022-12-02 (2022-11-13, 15:44)swurzn Wrote: had the same problem with the new G20s pro.Update: I adapted the instructions from this thread and the okay button works properly now! https://forum.libreelec.tv/thread/26261-fix-for-xiaomi-bluetooth-remote-with-nonworking-button/?postID=174004#post174004 RE: Keymap Editor (Kodi 18/19 and on) - Trillian_M1 - 2022-12-03 (2022-12-01, 18:09)Racer_X Wrote:(2022-12-01, 17:42)Trillian_M1 Wrote: Hey Racer_X, thanks for your reply. Im not sure if I understand you right:Hey, no I get what you're using. I used the Shield remote just as an example to show you how many button-signals the shield system is programmed to recognize. If you're getting all your MCE remote buttons, if things like the number buttons actually do come through on the shield, 1- that surprises me greatly and 2- then it might be your remote that's adding that function (great!). I don't know if it's the same as a flirc, I don't really know that much about the flirc. Hey Razer_x, Thanks for your input. Responding to your last answer: yes i get Button through put on the shield meaning i can use those number Buttons in the shield and in different Apps except for kodi. In kodi they are Not recognized and um wondering how i can fix that. Any ideas? RE: Keymap Editor (Kodi 18/19 and on) - wallaceff - 2022-12-11 Hi, I'm trying to map the functions 'tempoup' and 'tempodown', that are built into Kodi Matrix, but I don't see these anyway in the editor? Any advise please? RE: Keymap Editor (Kodi 18/19 and on) - pkscout - 2022-12-11 (2022-12-11, 10:59)wallaceff Wrote: Hi,It doesn't look like tempoUp and tempoDown are actually standalone functions. They are arguments you can include with PlayerControl. That doesn't mean you can't map it to a key, but you'd have to do it manually. Keymap is only setup to map direct functions, so it doesn't support all the variations PlayerControl can take. RE: Keymap Editor (Kodi 18/19 and on) - wallaceff - 2022-12-12 Oh... But when I look at the official list it's there? The reason I ask is that it's going to be very very painful to try and add it somehow via a custom method of writing the file on several devices I have. Is there any way you could look at perhaps having an option somehow in the keymap editor to 'inset custom commands' and they map be able to map a remote function to it? RE: Keymap Editor (Kodi 18/19 and on) - User 384674 - 2022-12-12 This link describes how to find and edit the keymap file manually for different devices: HOW-TO:Modify_keymaps (wiki) Then, as an example, adding the following green highlighted text below would map tempodown to a long press on the left arrow and tempoup to a long press on the right arrow: <keymap> <fullscreenvideo> <keyboard> <left mod="longpress">PlayerControl(tempodown)</left> <right mod="longpress">PlayerControl(tempoup)</right> </keyboard> </fullscreenvideo> </keymap> RE: Keymap Editor (Kodi 18/19 and on) - wallaceff - 2022-12-12 I appreciate the reply, just not so easy to get an editor and correctly so this for so many devices with different directories. I was hoping there could be an extension to the keymap editor to make it easier? It's that not within the scope of the add-on? RE: Keymap Editor (Kodi 18/19 and on) - pkscout - 2022-12-13 I've just spent nearly a half an hour trying like 18 different things, and I cannot get the PlayerControl(TempoUp) or PlayerControl(TempoDown) to do anything when mapped, at least not on Nexus. Honestly, I ported this from Python2 to Python3 just so it would run in current Kodi versions as a favor to someone else. I don't really use it, and I only sort of understand how it works. If anyone wants to take a stab at adding those functions, the code is all here: https://github.com/pkscout/script.keymap RE: Keymap Editor (Kodi 18/19 and on) - wallaceff - 2022-12-13 All you have to do for the option to show up, is turn on "sync playback to display" in the player settings. Then you will see the "play speed" option in the setting of your videos. (See this reedit post: https://www.reddit.com/r/kodi/comments/htii7m/how_to_increase_playback_speed_via_remote/) So... If you enable the map anyway, I'd love to test it out! RE: Keymap Editor (Kodi 18/19 and on) - pkscout - 2022-12-13 (2022-12-13, 09:01)wallaceff Wrote: All you have to do for the option to show up, is turn on "sync playback to display" in the player settings.Thanks for that tip. I was finally able to confirm that the mapping I added actually did something. I've put in a pull request for an update to this that includes TempoUp and TempoDown as mappable options in the Playback section. Once it's reviewed and approved, your local version should update automatically. RE: Keymap Editor (Kodi 18/19 and on) - wallaceff - 2022-12-13 Thank you! I'll be waiting for it! Out of interest, how do I knew when it actually gets updated? How long does that usually take? |