Find Your Device:
Or Continue to Thread: [App] ButtonRemapper - Beta v…
24th November 2010, 05:26 PM |#1  
appelflap's Avatar
OP Recognized Developer
Flag Utrecht
Thanks Meter: 822
Important questions will be marked with the tag FAQ when they are answered in this thread. Search for FAQ with the "search this thread" button to fetch them.

-------- Update notes --------

Update (Jan 22): New, separate version for the Samsung Galaxy S (This version is not compatible with the Galaxy S variants like the Captivate and Vibrant. A version compatible with these devices will be posted soon)

A special version for the Galaxy Tab can be found here .

------ Initial Announcement --------

* Beta* for full rooted devices. (NAND unlocked. Full, permanent write access to the system dir is needed)

Tool to remap the hardware buttons. Or better: a generic tool to edit the key layout map file Android uses to map the keys. (For info about key layout files, see: and

Supported devices: All, except Samsung Galaxy S variants (only partial support. Update: new, separate version for SGS attached to this post), Droid 2 and Huawei U8110/Android 2.1. On the Vibrate and Captivate only a few buttons can be remapped.
(If you have issues with your device, please let me know)

Functions that can be assigned:
            "Volume up",
            "Volume down",
            "Media Play Pause",
            "Media Stop",
            "Media Next",
            "Media Previous",
            "Media Rewind",
            "Media Fast Forward",
            "Dpad center",
            "Dpad up",
            "Dpad down",
            "Dpad left",
            "Dpad right"
As it with all root apps a Nandroid backup is adviced, because you never know.

In generall, these are the codes of the keys on a standard Android device (for people who can also edit the keyboard codes of a hardware keyboard):
		102, // home button
		114, // Volume down
		115, // Volume up
		116, // Power
		139, // Menu
		158, // Back
		217, // Search`
		231, // CALL              
		232, // DPAD_CENTER      
		108, // DPAD_DOWN        
		103, // DPAD_UP           
		105, // DPAD_LEFT         
		106, // DPAD_RIGHT  
		212, // CAMERA
		242  // FOCUS

Attached is a little helper app (KeynrTracker.apk) to identify the keynumber you want to remap .


Q: can you do also other remappings with the buttons, like for example long pressing, double press, context sensitive remappings etc.
A: For now, this is pretty much it. Check out LaunchKey if you also want to remap the long-press search button.

Q: So this is it?
A: I do plan to add some more functionality and to update the interface, but when that will be I can't tell.


Review by Android Police

Review by Gizmoninja

v0.2.4: Fixed restore problem on some devices (Thanks ljjehl for noticing)

v0.2.3: Hasn't never been released

v0.2.2: * Added support for the Droid X (Thanks Doug for your feedback!) * added an option to hot reboot the device after applying a change, so one can almost change buttons on the fly.

v0.2 Fixed UI issues * Fix for Galaxy S Variants * added (camera) focus as an option to the "remap list"

If you like the app and/or wish to support this project consider buying the donation version from the market (Search term: ButtonRemapper). Don't feel obliged though!
Attached Files
File Type: apk KeynrTracker.apk - [Click for QR Code] (8.3 KB, 66055 views)
File Type: apk ButtonRemapper v0_2.4.1.apk - [Click for QR Code] (51.6 KB, 210578 views)
File Type: apk ButtonRemapper Galaxy S.apk - [Click for QR Code] (72.8 KB, 39395 views)
Last edited by appelflap; 20th February 2011 at 10:27 AM.
The Following 134 Users Say Thank You to appelflap For This Useful Post: [ View ]