Originally Posted by Hrodriguez77
I've been trying to get this working for the last couple of hours. The center button doesn't work for me no matter what I do. When I use the video game mode, the A button acts like the center button should. I tried to customize the droidmote.kl to change key 232 to BUTTON_A. It saved but it didn't work. Any ideas?
Make sure that you load your new custom keylayout from server settings "change keylayout" and select it from the list.
your new keylayout appear in the list if you copy it in the Download folder of your sdcard.
a keylayout to work must have same file permissions of the previous version for this reason i suggest to load from server settings that do all automatically.
disconnect and reconnect the client to apply changes.
If this process not work only when you remap the center button ( scan code 232 ), mean that the source code of your FireTv was changed compared to original Android and the scan code 232 is remapped directly inside the sourcecode to act as different action and can't be remapped. ( very bad practise, infact in Android there are keylayout to support different mapping for external input devices. this is possible if you have a remote control that have an ok button that act as mouse left click.)
but you can always use the BUTTON_A of the soft gamepad like a center button. (rare case, because you have the mouse functionality to click and move around )
If you test the server on an Original Android device you see that the center button works well without remap it, because is a simple ENTER keycode.
Let me know if the center button really can't be remapped with the keylayout. I can also made a little modification to support the bad implementation of firetv.
In a few hours, try the new Client version 3.7.9 and restore the Server to original keylayout configuration.
( Server settings -> change keylayout -> Default. disconnect reconnect client to apply changes )
I swapped the scan code 232 to 28 to help FireTv.
Because this change does not create any problem to the Server for Android, for Windows, and for all Linux variants.