2016-07-27, 18:09
Not having any luck with this at all.
This is part of my old keymap.xml -
Tried each the following but got no response from my remote -
So I used Keymap Editor to check the ID and it's now changed to 44. Tried again -
And while this opens the info dialog on media longpress results in the dialog constantly opening and closing.
I also don't see the reason for adding this as the Fire TV remote was already available in the Bluetooth settings.
This is part of my old keymap.xml -
PHP Code:
<keymap>
<Global>
<keyboard>
<key id="61952">Info</key>
<key id="61952" mod="longpress">ContextMenu</key>
Tried each the following but got no response from my remote -
PHP Code:
<KEY_MENU>Info</KEY_MENU>
PHP Code:
<KEY_TITLE>Info</KEY_TITLE>
PHP Code:
<title>Info</title>
PHP Code:
<menu>Info</menu>
So I used Keymap Editor to check the ID and it's now changed to 44. Tried again -
PHP Code:
<keymap>
<Global>
<keyboard>
<key id="44">Info</key>
<key id="44" mod="longpress">ContextMenu</key>
And while this opens the info dialog on media longpress results in the dialog constantly opening and closing.
I also don't see the reason for adding this as the Fire TV remote was already available in the Bluetooth settings.
(2016-07-26, 22:39)lrusak Wrote:(2016-07-26, 07:48)Hitcher Wrote:(2016-07-26, 00:31)porkchop999 Wrote: I copied the file /usr/lib/udev/rules.d/98-eventlircd.rules to /storage/.config/udev.rules.d/98-eventlircd.rules and edited it removing the new code
http://pastebin.com/KAVyX7Tr
This allows me to use my custom keyboard.xml with the aftv remote
I'm going to try later and see if it's simply a case of changing the values over.
ie
Code:<key id="61952">Info</key>
should now be -
Code:<KEY_MENU>Info</key>
or -
Code:<KEY_TITLE>Info</key>
This is most likely the case, now that the keys are mapped properly.
Hopefully someone can test this.
You can use evtest to check what the keypresses are mapped to. evtest is available in the system-tools add-on in the LibreELEC repo.
You will probably have to stop kodi and eventlircd to use it.