fix pitch and quick screen keymaps for h100 lcd remote
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10864 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
47df0f7c9a
commit
bfe1cd17c6
1 changed files with 31 additions and 2 deletions
|
@ -499,6 +499,20 @@ const struct button_mapping button_context_quickscreen_h100remote[] = {
|
|||
LAST_ITEM_IN_LIST__NEXTLIST(CONTEXT_STD)
|
||||
}; /* button_context_quickscreen */
|
||||
|
||||
const struct button_mapping button_context_quickscreen_h100lcdremote[] = {
|
||||
{ ACTION_QS_DOWNINV, BUTTON_RC_VOL_UP, BUTTON_NONE },
|
||||
{ ACTION_QS_DOWNINV, 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 },
|
||||
{ ACTION_QS_LEFT, BUTTON_RC_REW|BUTTON_REPEAT, BUTTON_NONE },
|
||||
{ ACTION_QS_RIGHT, BUTTON_RC_BITRATE, BUTTON_NONE },
|
||||
{ ACTION_QS_RIGHT, BUTTON_RC_BITRATE|BUTTON_REPEAT, BUTTON_NONE },
|
||||
{ ACTION_STD_CANCEL, BUTTON_RC_MODE, BUTTON_NONE },
|
||||
|
||||
LAST_ITEM_IN_LIST__NEXTLIST(CONTEXT_STD)
|
||||
}; /* button_context_quickscreen */
|
||||
|
||||
const struct button_mapping button_context_quickscreen_h300lcdremote[] = {
|
||||
{ ACTION_QS_DOWNINV, BUTTON_RC_VOL_UP, BUTTON_NONE },
|
||||
{ ACTION_QS_DOWNINV, BUTTON_RC_VOL_UP|BUTTON_REPEAT, BUTTON_NONE },
|
||||
|
@ -528,6 +542,21 @@ const struct button_mapping button_context_pitchscreen_h100remote[] = {
|
|||
LAST_ITEM_IN_LIST__NEXTLIST(CONTEXT_STD)
|
||||
}; /* button_context_pitchcreen */
|
||||
|
||||
const struct button_mapping button_context_pitchscreen_h100lcdremote[] = {
|
||||
{ ACTION_PS_INC_SMALL, BUTTON_RC_FF, BUTTON_NONE },
|
||||
{ ACTION_PS_INC_BIG, BUTTON_RC_FF|BUTTON_REPEAT, BUTTON_NONE },
|
||||
{ ACTION_PS_DEC_SMALL, BUTTON_RC_REW, BUTTON_NONE },
|
||||
{ ACTION_PS_DEC_BIG, BUTTON_RC_REW|BUTTON_REPEAT, BUTTON_NONE },
|
||||
{ ACTION_PS_NUDGE_LEFT, BUTTON_RC_SOURCE, BUTTON_NONE },
|
||||
{ ACTION_PS_NUDGE_LEFTOFF, BUTTON_RC_SOURCE|BUTTON_REL, BUTTON_NONE },
|
||||
{ ACTION_PS_NUDGE_RIGHT, BUTTON_RC_BITRATE, BUTTON_NONE },
|
||||
{ ACTION_PS_NUDGE_RIGHTOFF, BUTTON_RC_BITRATE|BUTTON_REL, BUTTON_NONE },
|
||||
{ ACTION_PS_RESET, BUTTON_RC_ON, BUTTON_NONE },
|
||||
{ ACTION_PS_EXIT, BUTTON_RC_STOP, BUTTON_NONE },
|
||||
|
||||
LAST_ITEM_IN_LIST__NEXTLIST(CONTEXT_STD)
|
||||
};
|
||||
|
||||
const struct button_mapping button_context_pitchscreen_h300lcdremote[] = {
|
||||
{ ACTION_PS_INC_SMALL, BUTTON_RC_VOL_UP, BUTTON_NONE },
|
||||
{ ACTION_PS_INC_BIG, BUTTON_RC_VOL_UP|BUTTON_REPEAT, BUTTON_NONE },
|
||||
|
@ -685,9 +714,9 @@ static void remap_remote(void)
|
|||
remote_btn_ctxt_yesno = button_context_yesno_h100remote,
|
||||
remote_btn_ctxt_bmark = button_context_bmark_h100remote,
|
||||
remote_btn_ctxt_quickscreen
|
||||
= button_context_quickscreen_h100remote,
|
||||
= button_context_quickscreen_h100lcdremote,
|
||||
remote_btn_ctxt_pitchscreen
|
||||
= button_context_pitchscreen_h100remote,
|
||||
= button_context_pitchscreen_h100lcdremote,
|
||||
remote_btn_ctxt_recscreen
|
||||
= button_context_recscreen_h100remote,
|
||||
remote_btn_ctxt_keyboard
|
||||
|
|
Loading…
Reference in a new issue