dev builds
themes manual
device status forums
mailing lists
IRC bugs
dev guide

Rockbox mail archive

Subject: Custom button mappings - a proposal

Custom button mappings - a proposal

From: Frank Gevaerts <>
Date: Thu, 22 Oct 2009 21:58:42 +0200


I'd like to discuss a way to support custom button mappings that avoids
the often cited problems about supportability.

Basically, there would be a setting that enables a specific key or key
combination to switch to a custom button map. To make things clear, the
setting itself does not switch, and on boot the default button map will
be active.

Possible button combinations to switch to the custom map could be:
a. hold (i.e. hold on == custom map).
b. switch hold on while holding a specific button (similar to above, but
   hold itself stays usable)
c. hold on-off while holding a specific button.
d. some other unlikely to accidentally hit combination that's not used

I'm undecided whether the custom button map should be the same for all
screens, or should be customisable per screen.

All standard controls will be disabled by the custom map, including
touchscreen. They can of course be re-enabled in the map itself.
Thoughts? Questions?


"Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are,
by definition, not smart enough to debug it." - Brian W. Kernighan
Received on 2009-10-22

Page template was last modified "Tue Sep 7 00:00:02 2021" The Rockbox Crew -- Privacy Policy