Support and General Use > User Interface and Voice
Mapping a button
Visti:
Hi guys, I have a c240 with a broken "volume down" button. Is there any way I can remap another button, such as the "record" to that function?
Cheers!
AlexP:
Yes, you can, but you need to edit the code and then compile.
You need to have a development environment set up, then edit the appropriate keymap in:
apps/keymaps/keymap-c200.c
JdGordon:
the easier way to do it would be to change firmware/target/arm/sandisk/sansa-e200/button-e200.c to return BUTTON_DOWN instead of BUTTON_REC (around line 255) that will swap the buttons in the entire rockbox.. no other changes willl be needed
kugel.:
If his volume down button is broken he should rather return BUTTON_VOL_DOWN.
But yes, that would be the easiest way to do it (the usual rec button functionality is of course lost).
AlexP:
Ah yes, it didn't occur to change the whole lot in one go. Good plan!
Navigation
[0] Message Index
[#] Next page
Go to full version