Posts: 25
Joined: Aug 2015
Reputation:
0
2019-01-29, 22:11
(This post was last modified: 2019-01-29, 22:15 by calisro.)
Prior to the update this morning to LEIA 18.0, I used the "Android TV Remote Control" virtual app remote to manage my shield and KODI. After the upgrade all the buttons work except the 'select' button on the virtual app. I tried to "configure controllers" in the system settings but all the buttons work except for hte 'select' button. Interestingly enough when I use the 'SHIELD REMOTE' virtual app all the buttons work but I need to use the 'android tv remote' virtual remote. Any advice?
Posts: 1
Joined: Jan 2019
Reputation:
0
Noticed the same thing here. Haven't been able to figure it out just yet.
Posts: 9
Joined: Sep 2010
Reputation:
0
When I go into the Android TV Android app, nothing actually works for me at all. 17.6 to 18.0 auto upgrade. I can use the Kore app but I don't want two apps.
Looks like an oversight. Worked great on 17.6.
Posts: 25
Joined: Aug 2015
Reputation:
0
That is what happened at first but if you go into 'controller configurations' in kodi settings, you can get all the buttons working EXCEPT the select button. I'm not sure where that data is stored. If I did, we can probably get it working again.
Posts: 9
Joined: Sep 2010
Reputation:
0
Thanks, I'll give it a whirl later!
Posts: 25
Joined: Aug 2015
Reputation:
0
Thank-you. So what you're saying is to add a file in
userdata/addon_data/peripheral.joystick/resources/buttonmaps/xml/android
with any name like 'androidtvremote.xml'
and retain the original 'default' one so it isn't overwritten.
Is that correct?
Posts: 25
Joined: Aug 2015
Reputation:
0
2019-01-30, 20:58
(This post was last modified: 2019-01-30, 21:08 by calisro.)
Thanks.
My mapping isn't quite correct anyway. The 'a' button doesn't act like a 'select' when playing a video. Im not sure why the word 'select' isn't working.
Posts: 12,464
Joined: Oct 2014
Reputation:
601
You might want enter rather than select? If not look in the wiki link in my previous post as that has a fairly good list of commands, actions and functions.
Give the keymap editor add-on a try, it's usually easier than doing it manually.
Posts: 25
Joined: Aug 2015
Reputation:
0
2019-01-30, 22:27
(This post was last modified: 2019-01-30, 22:33 by calisro.)
The keymap editor doesn't recognize the center button on the remote. The only way I can get it to respond is by modifying the file in
userdata/addon_data/peripheral.joystick/resources/buttonmaps/xml/android
and when I do that, it won't accept 'select' or 'enter' as a "<feature name="XXXXXX" button="22" />"
I can use 'a' which represents the 'a' button on the nvidia game controller. I'm not sure where to go from here to map that button to something like it should be. I looked at the kodi log and it shows this:
14:52:30.464 T:23608 DEBUG: Android Key AKEYCODE_DPAD_CENTER (23) pressed
14:52:30.464 T:23674 DEBUG: BUTTON [ 22 ] on "virtual-remote" pressed
14:52:30.464 T:23674 DEBUG: FEATURE [ a ] on game.controller.default pressed (ignored)
14:52:30.558 T:23608 DEBUG: Previous line repeats 1 times.
14:52:30.558 T:23608 DEBUG: Android Key AKEYCODE_DPAD_CENTER (23) released
14:52:30.561 T:23674 DEBUG: BUTTON [ 22 ] on "virtual-remote" released
14:52:30.561 T:23674 DEBUG: FEATURE [ a ] on game.controller.default released
14:52:30.778 T:23610 DEBUG: Previous line repeats 1 times.
I realize Im updating the location you said not to but I can't figure out how to do it from within the 'keymaps' directory and I can't get the resources/buttonmaps to do what I want.