[App] ButtonRemapper - Beta v0.2.4 (New Galaxy S version added)
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)
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)
As it with all root apps a Nandroid backup is adviced, because you never know.
Tips
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):
Code:
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
211, // HEADSETHOOK
212, // CAMERA
242 // FOCUS
Attached is a little helper app (KeynrTracker.apk) to identify the keynumber you want to remap .
Faq
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.
Changelog
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!
What's "Grave" ? And there's 2 search entries and 3 menu entries. A little confusing. Are these for long press, double tap, etc. or are those for possible layouts across devices? How does one get to the "Apply" screen pictured? Will play around some more.
What's "Grave" ? And there's 2 search entries and 3 menu entries. A little confusing. Are these for long press, double tap, etc. or are those for possible layouts across devices? How does one get to the "Apply" screen pictured? Will play around some more.
Well, I don't know
At the moment this app is just a tool to play around with the low level key layout mapping files Android uses for mapping the keys. It's sort of a power user tool.
In the future I'll need this layer to make a user friendly key remap tool that can do some low level remapping. Then I will hide much of the definitions that can be tweaked with this app.
Some background info about the key layout mapping files:
Would be nice to have the "call" and "end call" function on 1 button (because the only button I do not use on my DHD is the search button..) Don't know if that is possible tho..
When writing an app with performance in mind, you most likely want to write it native code using the … more
XDA Developers was founded by developers, for developers. It is now a valuable resource for people who want to make the most of their mobile devices, from customizing the look and feel to adding new functionality. Are you a developer?