Support and General Use > User Interface and Voice
Remap Keys
(1/1)
djremix71:
Hello,
I recently dropped a metal fan on my Sansa e200 and it complete destroyed the power/menu key of my sansa. Is there any way to remap the keys?
Thanks,
David Luttrull
tomers:
--- Quote from: djremix71 on December 15, 2009, 07:59:31 PM ---I recently dropped a metal fan on my Sansa e200 and it complete destroyed the power/menu key of my sansa. Is there any way to remap the keys?
--- End quote ---
The only way to do it is to modify apps/keymaps/keymap-e200.c:
http://svn.rockbox.org/viewvc.cgi/trunk/apps/keymaps/
Note however that this is a delicate task and it will be hard to achieve usability.
You might want to copy key-mapping from a target that has N-1 available keys, where N is the number of keys that the e200 got.
You can also replace the POWER key with any other key, e.g. swap BUTTON_UP as BUTTON_POWER, so that you won't have BUTTON_UP. Do this by modifying button_int() in firmware/target/arm/sandisk/sansa-e200/button-e200.c
See: http://svn.rockbox.org/viewvc.cgi/trunk/firmware/target/arm/sandisk/sansa-e200/
Whatever you do, please post a patch here (not on FlySpray!) so that other people who dropped a metal fan on their Sansa e200 and completely destroyed some buttons can benefit from it :-)
mc2739:
If you destroyed the power button, how do you plan to turn on your e200. Although the buttons functions can be changed within Rockbox, there is no way to change the power on function to any other button. This is a hardware limitation, not a Rockbox limitation.
Navigation
[0] Message Index
Go to full version