summaryrefslogtreecommitdiff
path: root/apps/keymaps
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2007-07-15 10:30:11 +0000
committerJonathan Gordon <rockbox@jdgordon.info>2007-07-15 10:30:11 +0000
commit3d73b8eb16b216637646aede5e81cc01886603e5 (patch)
tree1c566f07706dc3fd2aaab838ce597e392ae0143d /apps/keymaps
parentf22dd5195632a4d34f7b9b23f4fdad386477b265 (diff)
downloadrockbox-3d73b8eb16b216637646aede5e81cc01886603e5.zip
rockbox-3d73b8eb16b216637646aede5e81cc01886603e5.tar.gz
rockbox-3d73b8eb16b216637646aede5e81cc01886603e5.tar.bz2
rockbox-3d73b8eb16b216637646aede5e81cc01886603e5.tar.xz
Use the multi-screen api in the usb and time screens
usb screen forces the status bar to display (fixes FS#700) time screen is now usable on the lcd remotes (need keymaps for the m5/x5) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13903 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/keymaps')
-rw-r--r--apps/keymaps/keymap-h1x0_h3x0.c12
1 files changed, 11 insertions, 1 deletions
diff --git a/apps/keymaps/keymap-h1x0_h3x0.c b/apps/keymaps/keymap-h1x0_h3x0.c
index 144b788..0f5911a 100644
--- a/apps/keymaps/keymap-h1x0_h3x0.c
+++ b/apps/keymaps/keymap-h1x0_h3x0.c
@@ -710,6 +710,14 @@ static const struct button_mapping button_context_radio_h300lcdremote[] = {
};
+static const struct button_mapping button_context_time_remote[] = {
+ { ACTION_STD_CANCEL, BUTTON_OFF, BUTTON_NONE },
+ { ACTION_STD_OK, BUTTON_ON, BUTTON_NONE },
+ { ACTION_SETTINGS_INC, BUTTON_RC_BITRATE, BUTTON_NONE },
+ { ACTION_SETTINGS_DEC, BUTTON_RC_SOURCE, BUTTON_NONE },
+ LAST_ITEM_IN_LIST__NEXTLIST(CONTEXT_SETTINGS),
+}; /* button_context_settings_bmark */
+
/* the actual used tables */
static const struct button_mapping
*remote_btn_ctxt_std = 0,
@@ -878,7 +886,9 @@ static const struct button_mapping* get_context_mapping_remote(int context)
return remote_btn_ctxt_listtree_scroll_w_cmb;
case CONTEXT_CUSTOM|CONTEXT_TREE:
return remote_btn_ctxt_tree;
-
+ case CONTEXT_SETTINGS_TIME:
+ return remote_btn_ctxt_settingsgrph;
+
case CONTEXT_SETTINGS:
return remote_btn_ctxt_settings;