how to remap the keys on a bluetooth gamepad

Alastair J McDonald picture Alastair J McDonald · May 13, 2015 · Viewed 20.8k times · Source

I have a Bluetooth gamepad that I want to use with my nexus 7 (2013). It worked great out of the box apart from one snag. The right thumbstickbutton is mapped to back.

Thus makes it really difficult to play games like GTA where the right thumbstick is used extensively.

I tried to use multilanguage keymap redefiner from the play store but it requires you press the key you want to remap but when i do so it goes back out of the menu

I loked for resources related to mkr but wasnt able to find anything not even on the listed creator website.

So i took the plunge and rooted my tablet.

I wanted to use tincore key remapper but found the help and support lacking on the wiki.

Found that the keylayout and keychars were the folders where files pertaining to what physical presses on the gamepad were mapped to (keylayout) and what actions those inputs were mapped too.

I mounted system rw and duplicated the generic.kl file (which I found was the one being used by looking at logcat) and was hoping to use this to modify the behaviour of my gamepad I just can't seem to find how to associate my new layout with the gamepad as the only option that is offered in the menu is still default

Answer

Alastair J McDonald picture Alastair J McDonald · May 13, 2015

Looks like I didn't check enough. Did some digging and found this post

http://gustavepate.github.io/blog/20130714/android-keyboard-layout-logitech-tablet-keyboard/

Seems easy to follow will update with my results