diff options
author | Thomas Martitz <kugel@rockbox.org> | 2009-08-29 14:42:03 +0000 |
---|---|---|
committer | Thomas Martitz <kugel@rockbox.org> | 2009-08-29 14:42:03 +0000 |
commit | e454a3985275819d998b84bc0cf7b7b8ad9eab00 (patch) | |
tree | bae381c959526bd90df6a4675f7c3314950e8c14 /apps/keymaps/keymap-x5.c | |
parent | 5226a89cce46e53d3c011de1e7b1c1d7b91af734 (diff) |
Quickscreen: 4th item
This adds a 4th top item to the quickscreen. It's as configurable as the existing three items.
This patch goes along with optimisations for small screens for better displaying of all four items. 14px font is very usable on a 64px height display for example.
Left and Top items go through the items in the opposite direction, so that you can mirror a setting and toggle through it in both directions.
Default item is party mode, as it's target independant.
Flyspray: FS#9706
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22532 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/keymaps/keymap-x5.c')
-rw-r--r-- | apps/keymaps/keymap-x5.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/keymaps/keymap-x5.c b/apps/keymaps/keymap-x5.c index 7a7dd9a7c9..8b94118ac1 100644 --- a/apps/keymaps/keymap-x5.c +++ b/apps/keymaps/keymap-x5.c @@ -195,8 +195,8 @@ static const struct button_mapping remote_button_context_pitchscreen[] = { /** Quickscreen **/ static const struct button_mapping button_context_quickscreen[] = { - { ACTION_QS_DOWNINV, BUTTON_UP, BUTTON_NONE }, - { ACTION_QS_DOWNINV, BUTTON_UP|BUTTON_REPEAT, BUTTON_NONE }, + { ACTION_QS_TOP, BUTTON_UP, BUTTON_NONE }, + { ACTION_QS_TOP, BUTTON_UP|BUTTON_REPEAT, BUTTON_NONE }, { ACTION_QS_DOWN, BUTTON_DOWN, BUTTON_NONE }, { ACTION_QS_DOWN, BUTTON_DOWN|BUTTON_REPEAT, BUTTON_NONE }, { ACTION_QS_LEFT, BUTTON_LEFT, BUTTON_NONE }, @@ -209,8 +209,8 @@ static const struct button_mapping button_context_quickscreen[] = { }; /* button_context_quickscreen */ static const struct button_mapping remote_button_context_quickscreen[] = { - { ACTION_QS_DOWNINV, BUTTON_RC_VOL_UP, BUTTON_NONE }, - { ACTION_QS_DOWNINV, BUTTON_RC_VOL_UP|BUTTON_REPEAT, BUTTON_NONE }, + { ACTION_QS_TOP, BUTTON_RC_VOL_UP, BUTTON_NONE }, + { ACTION_QS_TOP, BUTTON_RC_VOL_UP|BUTTON_REPEAT, BUTTON_NONE }, { ACTION_QS_DOWN, BUTTON_RC_VOL_DOWN, BUTTON_NONE }, { ACTION_QS_DOWN, BUTTON_RC_VOL_DOWN|BUTTON_REPEAT, BUTTON_NONE }, { ACTION_QS_LEFT, BUTTON_RC_REW, BUTTON_NONE }, |