1 Nov 2008 01:02
pixelma: r18954 - trunk/apps/keymaps
<mailer <at> svn.rockbox.org>
2008-11-01 00:02:06 GMT
2008-11-01 00:02:06 GMT
Date: 2008-11-01 01:02:04 +0100 (Sat, 01 Nov 2008)
New Revision: 18954
Log Message:
OndioFM keymap - trigger screen: prevent pressing 'Right' (to change the value) from also accepting the
setting and leaving the trigger screen; use 'Mode' now for actually accepting the settings. To avoid
button action conflicts, separate the rectrigger context and give it an own ACTION_STD_OK.
Modified:
trunk/apps/keymaps/keymap-ondio.c
Modified: trunk/apps/keymaps/keymap-ondio.c
===================================================================
--- trunk/apps/keymaps/keymap-ondio.c 2008-10-31 22:34:45 UTC (rev 18953)
+++ trunk/apps/keymaps/keymap-ondio.c 2008-11-01 00:02:04 UTC (rev 18954)
<at> <at> -137,16 +137,20 <at> <at>
}; /* button_context_pitchscreen */
#ifdef HAVE_RECORDING
+static const struct button_mapping button_context_rectrigger[] = {
+ { ACTION_STD_OK, BUTTON_MENU|BUTTON_REL, BUTTON_MENU },
+ LAST_ITEM_IN_LIST__NEXTLIST(CONTEXT_RECSCREEN)
+};
static const struct button_mapping button_context_recscreen[] = {
{ ACTION_REC_PAUSE, BUTTON_MENU|BUTTON_REL, BUTTON_MENU },
- { ACTION_SETTINGS_INC, BUTTON_RIGHT, BUTTON_NONE },
+ { ACTION_SETTINGS_INC, BUTTON_RIGHT|BUTTON_REL, BUTTON_RIGHT },
{ ACTION_SETTINGS_INCREPEAT, BUTTON_RIGHT|BUTTON_REPEAT, BUTTON_NONE },
{ ACTION_SETTINGS_DEC, BUTTON_LEFT, BUTTON_NONE },
{ ACTION_SETTINGS_DECREPEAT, BUTTON_LEFT|BUTTON_REPEAT, BUTTON_NONE },
(Continue reading)
RSS Feed