I have a programmable RCA Media-center remote. I have programed it to control Kodi, WMC, Plex all using one device setup it works great on my windows PC.
I now added my android TV box X96max to it and programed all the keys from the remote that came with the TV box. But find that remote lacks many keys like stop, jump back/forward, page up/down to name a few i would like to add to the remote config files of Android. I know i could edit the keymap in kodi but i would like to just do it once have it work for most apps that could use the extra buttons.
On this box there is no remote.conf file in system/etc
but i do have remote.cfg remote.tab1 remote.tab2 remote.tab3 in the system/vendor/etc
So am i to edit remote.tab2 or create and add a remote.conf
I notice in the remote.tab2 file they assign hex to a android key command it looks like. but it is not clear how you come up with the hex value or if i can pick any unused hex value and assign it.
I see that the IR remote buttons they have setup in remote.tab2 mostly match the key command numbers from the Generic.kl file and they assigned a hex value to it but notice the hex value jumps around and is not in sequence.
remote.tab2 0x41 113 #MUTE 0x18 115 #VOLUMEUP 0x10 114 #VOLUMEDOWN Generic.kl key 113 VOLUME_MUTE key 114 VOLUME_DOWN key 115 VOLUME_UP
i read the tutorial here
But it seem the link is broken in the remote.conf section where is says "A full description on how to generate your own remote.conf file..."
So if i could get some guidance that would be great maybe i could do it right the first time and not keep guessing,
Thanks
Comment