Small change to sansa fuze keymap.

Move stop from long home to long play/pause in wps, browsers and fm screen.
In the fm screen that means switching between scan and preset is now on long home.
Move stop from the power switch to long play/pause in the hid multimedia mode.
Update manual keymaps.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27836 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Nils Wallménius 2010-08-17 14:30:10 +00:00
parent f3774df8be
commit 8799af3d73
2 changed files with 10 additions and 10 deletions

View file

@ -55,7 +55,7 @@ static const struct button_mapping button_context_standard[] = {
static const struct button_mapping button_context_wps[] = { static const struct button_mapping button_context_wps[] = {
{ ACTION_WPS_PLAY, BUTTON_UP|BUTTON_REL, BUTTON_UP }, { ACTION_WPS_PLAY, BUTTON_UP|BUTTON_REL, BUTTON_UP },
{ ACTION_WPS_STOP, BUTTON_HOME|BUTTON_REPEAT, BUTTON_HOME }, { ACTION_WPS_STOP, BUTTON_UP|BUTTON_REPEAT, BUTTON_UP },
{ ACTION_WPS_SKIPPREV, BUTTON_LEFT|BUTTON_REL, BUTTON_LEFT }, { ACTION_WPS_SKIPPREV, BUTTON_LEFT|BUTTON_REL, BUTTON_LEFT },
{ ACTION_WPS_SEEKBACK, BUTTON_LEFT|BUTTON_REPEAT, BUTTON_NONE }, { ACTION_WPS_SEEKBACK, BUTTON_LEFT|BUTTON_REPEAT, BUTTON_NONE },
@ -113,7 +113,7 @@ static const struct button_mapping button_context_list[] = {
static const struct button_mapping button_context_tree[] = { static const struct button_mapping button_context_tree[] = {
{ ACTION_TREE_WPS, BUTTON_UP|BUTTON_REL, BUTTON_UP }, { ACTION_TREE_WPS, BUTTON_UP|BUTTON_REL, BUTTON_UP },
{ ACTION_TREE_STOP, BUTTON_HOME|BUTTON_REPEAT, BUTTON_HOME }, { ACTION_TREE_STOP, BUTTON_UP|BUTTON_REPEAT, BUTTON_UP },
{ ACTION_TREE_HOTKEY, BUTTON_HOME|BUTTON_REL, BUTTON_HOME }, { ACTION_TREE_HOTKEY, BUTTON_HOME|BUTTON_REL, BUTTON_HOME },
LAST_ITEM_IN_LIST__NEXTLIST(CONTEXT_LIST), LAST_ITEM_IN_LIST__NEXTLIST(CONTEXT_LIST),
@ -238,12 +238,12 @@ static const struct button_mapping button_context_radio[] = {
{ ACTION_STD_NEXT, BUTTON_RIGHT, BUTTON_NONE }, { ACTION_STD_NEXT, BUTTON_RIGHT, BUTTON_NONE },
{ ACTION_STD_NEXTREPEAT, BUTTON_RIGHT|BUTTON_REPEAT, BUTTON_NONE }, { ACTION_STD_NEXTREPEAT, BUTTON_RIGHT|BUTTON_REPEAT, BUTTON_NONE },
{ ACTION_FM_MENU, BUTTON_SELECT|BUTTON_REPEAT, BUTTON_NONE }, { ACTION_FM_MENU, BUTTON_SELECT|BUTTON_REPEAT, BUTTON_NONE },
{ ACTION_FM_STOP, BUTTON_HOME|BUTTON_REPEAT, BUTTON_NONE }, { ACTION_FM_STOP, BUTTON_UP|BUTTON_REPEAT, BUTTON_UP },
{ ACTION_FM_MODE, BUTTON_UP|BUTTON_REPEAT, BUTTON_UP }, { ACTION_FM_MODE, BUTTON_HOME|BUTTON_REPEAT, BUTTON_HOME },
{ ACTION_FM_EXIT, BUTTON_DOWN|BUTTON_REL, BUTTON_DOWN }, { ACTION_FM_EXIT, BUTTON_DOWN|BUTTON_REL, BUTTON_DOWN },
{ ACTION_FM_EXIT, BUTTON_DOWN|BUTTON_REPEAT, BUTTON_NONE }, { ACTION_FM_EXIT, BUTTON_DOWN|BUTTON_REPEAT, BUTTON_NONE },
{ ACTION_FM_PLAY, BUTTON_UP|BUTTON_REL, BUTTON_UP }, { ACTION_FM_PLAY, BUTTON_UP|BUTTON_REL, BUTTON_UP },
{ ACTION_FM_PRESET, BUTTON_HOME|BUTTON_REL, BUTTON_NONE }, { ACTION_FM_PRESET, BUTTON_HOME|BUTTON_REL, BUTTON_HOME },
LAST_ITEM_IN_LIST__NEXTLIST(CONTEXT_SETTINGS) LAST_ITEM_IN_LIST__NEXTLIST(CONTEXT_SETTINGS)
}; /* button_context_radio */ }; /* button_context_radio */
@ -294,7 +294,7 @@ static const struct button_mapping button_context_usb_hid_mode_multimedia[] = {
{ ACTION_USB_HID_MULTIMEDIA_VOLUME_UP, BUTTON_SCROLL_FWD|BUTTON_REPEAT, BUTTON_NONE }, { ACTION_USB_HID_MULTIMEDIA_VOLUME_UP, BUTTON_SCROLL_FWD|BUTTON_REPEAT, BUTTON_NONE },
{ ACTION_USB_HID_MULTIMEDIA_VOLUME_MUTE, BUTTON_SELECT|BUTTON_REL, BUTTON_SELECT }, { ACTION_USB_HID_MULTIMEDIA_VOLUME_MUTE, BUTTON_SELECT|BUTTON_REL, BUTTON_SELECT },
{ ACTION_USB_HID_MULTIMEDIA_PLAYBACK_PLAY_PAUSE, BUTTON_UP|BUTTON_REL, BUTTON_UP }, { ACTION_USB_HID_MULTIMEDIA_PLAYBACK_PLAY_PAUSE, BUTTON_UP|BUTTON_REL, BUTTON_UP },
{ ACTION_USB_HID_MULTIMEDIA_PLAYBACK_STOP, BUTTON_POWER|BUTTON_REL, BUTTON_POWER }, { ACTION_USB_HID_MULTIMEDIA_PLAYBACK_STOP, BUTTON_UP|BUTTON_REPEAT, BUTTON_UP },
{ ACTION_USB_HID_MULTIMEDIA_PLAYBACK_TRACK_PREV, BUTTON_LEFT|BUTTON_REL, BUTTON_LEFT }, { ACTION_USB_HID_MULTIMEDIA_PLAYBACK_TRACK_PREV, BUTTON_LEFT|BUTTON_REL, BUTTON_LEFT },
{ ACTION_USB_HID_MULTIMEDIA_PLAYBACK_TRACK_NEXT, BUTTON_RIGHT|BUTTON_REL, BUTTON_RIGHT }, { ACTION_USB_HID_MULTIMEDIA_PLAYBACK_TRACK_NEXT, BUTTON_RIGHT|BUTTON_REL, BUTTON_RIGHT },

View file

@ -31,7 +31,7 @@
\newcommand{\ActionWpsSeekBack}{Long \ButtonLeft} \newcommand{\ActionWpsSeekBack}{Long \ButtonLeft}
\newcommand{\ActionWpsSeekFwd}{Long \ButtonRight} \newcommand{\ActionWpsSeekFwd}{Long \ButtonRight}
\newcommand{\ActionWpsStop}{Long \ButtonHome} \newcommand{\ActionWpsStop}{Long \ButtonUp}
\newcommand{\ActionWpsVolDown}{\ButtonScrollBack} \newcommand{\ActionWpsVolDown}{\ButtonScrollBack}
\newcommand{\ActionWpsVolUp}{\ButtonScrollFwd} \newcommand{\ActionWpsVolUp}{\ButtonScrollFwd}
@ -49,7 +49,7 @@
%Button actions, tree context %Button actions, tree context
\newcommand{\ActionTreeWps}{\ButtonUp} \newcommand{\ActionTreeWps}{\ButtonUp}
\newcommand{\ActionTreeStop}{Long \ButtonHome} \newcommand{\ActionTreeStop}{Long \ButtonUp}
\newcommand{\ActionTreeEnter}{\ButtonSelect{} or \ButtonRight} \newcommand{\ActionTreeEnter}{\ButtonSelect{} or \ButtonRight}
\newcommand{\ActionTreeParentDirectory}{\ButtonLeft} \newcommand{\ActionTreeParentDirectory}{\ButtonLeft}
\newcommand{\ActionTreeHotkey}{\ButtonHome} \newcommand{\ActionTreeHotkey}{\ButtonHome}
@ -99,8 +99,8 @@
%Button actions, FM radio context %Button actions, FM radio context
\newcommand{\ActionFMPreset}{\ButtonHome} \newcommand{\ActionFMPreset}{\ButtonHome}
\newcommand{\ActionFMMenu}{Long \ButtonSelect} \newcommand{\ActionFMMenu}{Long \ButtonSelect}
\newcommand{\ActionFMMode}{Long \ButtonUp} \newcommand{\ActionFMMode}{Long \ButtonHome}
\newcommand{\ActionFMStop}{Long \ButtonHome} \newcommand{\ActionFMStop}{Long \ButtonUp}
\newcommand{\ActionFMExit}{\ButtonDown} \newcommand{\ActionFMExit}{\ButtonDown}
\newcommand{\ActionFMPlay}{\ButtonUp} \newcommand{\ActionFMPlay}{\ButtonUp}
\newcommand{\ActionFMSettingsInc}{\ButtonScrollFwd} \newcommand{\ActionFMSettingsInc}{\ButtonScrollFwd}