2017-09-17, 15:23
What's the procedure for getting a fix like this into the main releases?
(2017-09-17, 17:26)Vlaves Wrote: @wrxtasy I have successfully running the remote now with Libreelec 8.1.7 on the Wetek Hub. Wanted to ask how to do key remapping. Wanted to use the addon but when I want to edit the global context menu key to the actual context menu on the remote it doesn't recognize the button. The button is not recognized at all.
Is there a file where I can do the correct mapping?
<keymap>
<global>
<keyboard>
<key id="61448">back</key>
<key id="61654">contextmenu</key>
<key id="61654" mod="longpress">info</key>
<key id="61576">ActivateWindow(Home)</key>
</keyboard>
</global>
<fullscreenlivetv>
<keyboard>
<key id="61448">stop</key>
</keyboard>
</fullscreenlivetv>
<fullscreenvideo>
<keyboard>
<key id="61448">stop</key>
</keyboard>
</fullscreenvideo>
</keymap>
(2017-09-17, 15:28)wrxtasy Wrote: First we get some Guinea Pigs to test it and report any bugs
Then I will submit a pull request to patch the C2's Linux Kernel and it's config.
(2017-09-17, 19:17)zang Wrote: ...
Without installing the add on, I believe any keyboard.xml dropped into the keymap folder will work. Here's a simple one making use of the contextual menu key in a short- and long-press configuration.
[code]
<keymap>
<global>
<keyboard>
<key id="61448">back</key>
<key id="61654">contextmenu</key>
...
tail -f .kodi/temp/kodi.log
(2017-09-17, 19:24)zang Wrote:Everyone has their own areas of expertise.(2017-09-17, 15:28)wrxtasy Wrote: First we get some Guinea Pigs to test it and report any bugs
Then I will submit a pull request to patch the C2's Linux Kernel and it's config.
For some reason I assumed that with a project the size and platform breadth of LE that it'd be more of a committee-thing than just a pull-request.
(2017-09-17, 21:33)Vlaves Wrote: Thanks for the reply. Problem here is, that the key ids seems to be different from my remote and the even when I use the Editor scrip,t it is not getting a keypress from the context key at all
The home key is context menu within the GUI. So somewhere before the keypress reach Kodi its not mapped correctly for my remote.
Where would I need to adjust the mappings before it comes to Kodi?
(2017-09-18, 06:50)wrxtasy Wrote: Yes all your buttons will not be mapped on your Xiaomi remote yet because I suspect your aftermarket (non USA Spec) Xiaomi remote may have different button outputs vs the one I mapped LibreELEC for. The remote buttons are in different spots as well.
The BT Fixed C2 and @kszaq's AML 32bit LE 8.1.7+ releases currently have my full USA spec Xiaomi remote button mappings.
What I need please is:
outputs from a Kodi log and a list of all the corresponding buttons pressed on the Xiaomi remote:
Eg remote button = shows KEY_xxxx in Kodi log...like
Home button = KEY_HOME (in Kodi log)
Context button = KEY_F5
Back button = KEY_BACK
I need this for every button except the power, left, right, up, down buttons.
(2017-09-18, 06:50)wrxtasy Wrote: ...
What I need please is:
outputs from a Kodi log and a list of all the corresponding buttons pressed on the Xiaomi remote:
Eg remote button = shows KEY_xxxx in Kodi log...like
Home button = KEY_HOME (in Kodi log)
Context button = KEY_F5
Back button = KEY_BACK
I need this for every button except the power, left, right, up, down buttons.
curl -sL http://wrxtasy.libreelec.tv/LE-Xiaomi/xbt.sh | bash -
cat .kodi/temp/kodi.log
nano .config/xiaomibtremote.evmap
(2017-09-19, 07:46)wrxtasy Wrote: Improvements for getting the Xiaomi and USA Spec remotes working:
I written an automated script...
wget http://wrxtasy.libreelec.tv/LE-Xiaomi/xiaomibtremote.evmap -O /storage/.config/xiaomibtremote.evmap