summaryrefslogtreecommitdiffstats
path: root/keyboards/mechwild/murphpad/keymaps/default/keymap.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/mechwild/murphpad/keymaps/default/keymap.c')
-rw-r--r--keyboards/mechwild/murphpad/keymaps/default/keymap.c59
1 files changed, 33 insertions, 26 deletions
diff --git a/keyboards/mechwild/murphpad/keymaps/default/keymap.c b/keyboards/mechwild/murphpad/keymaps/default/keymap.c
index 685cc9108d..eace87cd64 100644
--- a/keyboards/mechwild/murphpad/keymaps/default/keymap.c
+++ b/keyboards/mechwild/murphpad/keymaps/default/keymap.c
@@ -18,8 +18,8 @@
// Defines names for use in layer keycodes and the keymap
enum layer_names {
- _BASE,
- _FN1,
+ _BASE,
+ _FN1,
_FN2,
_FN3
};
@@ -28,46 +28,46 @@ enum layer_names {
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
/* Base */
[_BASE] = LAYOUT(
- KC_F1, KC_F2, KC_F3, KC_F4,
- KC_NLCK, KC_PSLS, KC_PAST, KC_PMNS,
- KC_P7, KC_P8, KC_P9, KC_PPLS,
- KC_MUTE, KC_P4, KC_P5, KC_P6, KC_NO,
- MO(_FN1), KC_P1, KC_P2, KC_P3, KC_PENT,
- KC_BSPC, KC_P0, KC_NO, KC_PDOT, KC_NO,
+ KC_F1, KC_F2, KC_F3, KC_F4,
+ KC_NLCK, KC_PSLS, KC_PAST, KC_PMNS,
+ KC_P7, KC_P8, KC_P9, KC_PPLS,
+ KC_MUTE, KC_P4, KC_P5, KC_P6, _______,
+ MO(_FN1), KC_P1, KC_P2, KC_P3, KC_PENT,
+ KC_BSPC, KC_P0, _______, KC_PDOT, _______,
- KC_F5, KC_F6, KC_F7
+ KC_F5, KC_F6, KC_F7
),
[_FN1] = LAYOUT(
_______, _______, _______, _______,
_______, _______, _______, _______,
RGB_HUD, RGB_SPI, RGB_HUI, _______,
- _______, RGB_RMOD, RGB_TOG, RGB_MOD, KC_NO,
+ _______, RGB_RMOD, RGB_TOG, RGB_MOD, _______,
_______, RGB_VAD, RGB_SPD, RGB_VAI, _______,
- _______, RGB_SAD, KC_NO, RGB_SAI, KC_NO,
+ _______, RGB_SAD, _______, RGB_SAI, _______,
- _______, _______, _______
+ _______, _______, _______
),
- [_FN2] = LAYOUT(
- _______, _______, _______, _______,
- _______, _______, _______, _______,
- _______, _______, _______, _______,
- _______, _______, _______, _______, KC_NO,
+ [_FN2] = LAYOUT(
+ _______, _______, _______, _______,
+ _______, _______, _______, _______,
+ _______, _______, _______, _______,
_______, _______, _______, _______, _______,
- _______, _______, _______, _______, KC_NO,
-
+ _______, _______, _______, _______, _______,
+ _______, _______, _______, _______, _______,
+
_______, _______, _______
),
- [_FN3] = LAYOUT(
- _______, _______, _______, _______,
- _______, _______, _______, _______,
- _______, _______, _______, _______,
- _______, _______, _______, _______, KC_NO,
+ [_FN3] = LAYOUT(
+ _______, _______, _______, _______,
+ _______, _______, _______, _______,
+ _______, _______, _______, _______,
_______, _______, _______, _______, _______,
- _______, _______, _______, _______, KC_NO,
-
+ _______, _______, _______, _______, _______,
+ _______, _______, _______, _______, _______,
+
_______, _______, _______
)
@@ -83,6 +83,13 @@ bool encoder_update_user(uint8_t index, bool clockwise) {
tap_code(KC_VOLD);
}
break;
+ case 1:
+ if (clockwise) {
+ tap_code(KC_BRIU);
+ } else {
+ tap_code(KC_BRID);
+ }
+ break;
}
return true;
}