summaryrefslogtreecommitdiff
path: root/apps/keymaps/keymap-h1x0_h3x0.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/keymaps/keymap-h1x0_h3x0.c')
-rw-r--r--apps/keymaps/keymap-h1x0_h3x0.c33
1 files changed, 31 insertions, 2 deletions
diff --git a/apps/keymaps/keymap-h1x0_h3x0.c b/apps/keymaps/keymap-h1x0_h3x0.c
index c96c65487d..1bacbf4bca 100644
--- a/apps/keymaps/keymap-h1x0_h3x0.c
+++ b/apps/keymaps/keymap-h1x0_h3x0.c
@@ -499,6 +499,20 @@ const struct button_mapping button_context_quickscreen_h100remote[] = {
499 LAST_ITEM_IN_LIST__NEXTLIST(CONTEXT_STD) 499 LAST_ITEM_IN_LIST__NEXTLIST(CONTEXT_STD)
500}; /* button_context_quickscreen */ 500}; /* button_context_quickscreen */
501 501
502const struct button_mapping button_context_quickscreen_h100lcdremote[] = {
503 { ACTION_QS_DOWNINV, BUTTON_RC_VOL_UP, BUTTON_NONE },
504 { ACTION_QS_DOWNINV, BUTTON_RC_VOL_UP|BUTTON_REPEAT, BUTTON_NONE },
505 { ACTION_QS_DOWN, BUTTON_RC_VOL_DOWN, BUTTON_NONE },
506 { ACTION_QS_DOWN, BUTTON_RC_VOL_DOWN|BUTTON_REPEAT, BUTTON_NONE },
507 { ACTION_QS_LEFT, BUTTON_RC_REW, BUTTON_NONE },
508 { ACTION_QS_LEFT, BUTTON_RC_REW|BUTTON_REPEAT, BUTTON_NONE },
509 { ACTION_QS_RIGHT, BUTTON_RC_BITRATE, BUTTON_NONE },
510 { ACTION_QS_RIGHT, BUTTON_RC_BITRATE|BUTTON_REPEAT, BUTTON_NONE },
511 { ACTION_STD_CANCEL, BUTTON_RC_MODE, BUTTON_NONE },
512
513 LAST_ITEM_IN_LIST__NEXTLIST(CONTEXT_STD)
514}; /* button_context_quickscreen */
515
502const struct button_mapping button_context_quickscreen_h300lcdremote[] = { 516const struct button_mapping button_context_quickscreen_h300lcdremote[] = {
503 { ACTION_QS_DOWNINV, BUTTON_RC_VOL_UP, BUTTON_NONE }, 517 { ACTION_QS_DOWNINV, BUTTON_RC_VOL_UP, BUTTON_NONE },
504 { ACTION_QS_DOWNINV, BUTTON_RC_VOL_UP|BUTTON_REPEAT, BUTTON_NONE }, 518 { ACTION_QS_DOWNINV, BUTTON_RC_VOL_UP|BUTTON_REPEAT, BUTTON_NONE },
@@ -528,6 +542,21 @@ const struct button_mapping button_context_pitchscreen_h100remote[] = {
528 LAST_ITEM_IN_LIST__NEXTLIST(CONTEXT_STD) 542 LAST_ITEM_IN_LIST__NEXTLIST(CONTEXT_STD)
529}; /* button_context_pitchcreen */ 543}; /* button_context_pitchcreen */
530 544
545const struct button_mapping button_context_pitchscreen_h100lcdremote[] = {
546 { ACTION_PS_INC_SMALL, BUTTON_RC_FF, BUTTON_NONE },
547 { ACTION_PS_INC_BIG, BUTTON_RC_FF|BUTTON_REPEAT, BUTTON_NONE },
548 { ACTION_PS_DEC_SMALL, BUTTON_RC_REW, BUTTON_NONE },
549 { ACTION_PS_DEC_BIG, BUTTON_RC_REW|BUTTON_REPEAT, BUTTON_NONE },
550 { ACTION_PS_NUDGE_LEFT, BUTTON_RC_SOURCE, BUTTON_NONE },
551 { ACTION_PS_NUDGE_LEFTOFF, BUTTON_RC_SOURCE|BUTTON_REL, BUTTON_NONE },
552 { ACTION_PS_NUDGE_RIGHT, BUTTON_RC_BITRATE, BUTTON_NONE },
553 { ACTION_PS_NUDGE_RIGHTOFF, BUTTON_RC_BITRATE|BUTTON_REL, BUTTON_NONE },
554 { ACTION_PS_RESET, BUTTON_RC_ON, BUTTON_NONE },
555 { ACTION_PS_EXIT, BUTTON_RC_STOP, BUTTON_NONE },
556
557 LAST_ITEM_IN_LIST__NEXTLIST(CONTEXT_STD)
558};
559
531const struct button_mapping button_context_pitchscreen_h300lcdremote[] = { 560const struct button_mapping button_context_pitchscreen_h300lcdremote[] = {
532 { ACTION_PS_INC_SMALL, BUTTON_RC_VOL_UP, BUTTON_NONE }, 561 { ACTION_PS_INC_SMALL, BUTTON_RC_VOL_UP, BUTTON_NONE },
533 { ACTION_PS_INC_BIG, BUTTON_RC_VOL_UP|BUTTON_REPEAT, BUTTON_NONE }, 562 { ACTION_PS_INC_BIG, BUTTON_RC_VOL_UP|BUTTON_REPEAT, BUTTON_NONE },
@@ -685,9 +714,9 @@ static void remap_remote(void)
685 remote_btn_ctxt_yesno = button_context_yesno_h100remote, 714 remote_btn_ctxt_yesno = button_context_yesno_h100remote,
686 remote_btn_ctxt_bmark = button_context_bmark_h100remote, 715 remote_btn_ctxt_bmark = button_context_bmark_h100remote,
687 remote_btn_ctxt_quickscreen 716 remote_btn_ctxt_quickscreen
688 = button_context_quickscreen_h100remote, 717 = button_context_quickscreen_h100lcdremote,
689 remote_btn_ctxt_pitchscreen 718 remote_btn_ctxt_pitchscreen
690 = button_context_pitchscreen_h100remote, 719 = button_context_pitchscreen_h100lcdremote,
691 remote_btn_ctxt_recscreen 720 remote_btn_ctxt_recscreen
692 = button_context_recscreen_h100remote, 721 = button_context_recscreen_h100remote,
693 remote_btn_ctxt_keyboard 722 remote_btn_ctxt_keyboard