summaryrefslogtreecommitdiff
path: root/keyboards/mechwild/murphpad/keymaps
diff options
context:
space:
mode:
authorKyle McCreery <mccreery.kyle@gmail.com>2021-06-18 14:48:41 -1000
committerGitHub <noreply@github.com>2021-06-18 17:48:41 -0700
commitfeaf972eb7f56a2f6dca98ed1a6b7c3c6bb9b667 (patch)
treea1b3bc70924e2aba33e28d920f1049ff5f94d0b2 /keyboards/mechwild/murphpad/keymaps
parent6e132884b34817d569a8c74b09e4bbedbcd5bcea (diff)
downloadqmk_firmware-feaf972eb7f56a2f6dca98ed1a6b7c3c6bb9b667.tar.gz
qmk_firmware-feaf972eb7f56a2f6dca98ed1a6b7c3c6bb9b667.zip
[Keyboard] Murphpad Changes and Updates (#12995)
Co-authored-by: Ryan <fauxpark@gmail.com> Co-authored-by: Drashna Jaelre <drashna@live.com>
Diffstat (limited to 'keyboards/mechwild/murphpad/keymaps')
-rw-r--r--keyboards/mechwild/murphpad/keymaps/default/keymap.c59
-rw-r--r--keyboards/mechwild/murphpad/keymaps/via/keymap.c81
2 files changed, 77 insertions, 63 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;
}
diff --git a/keyboards/mechwild/murphpad/keymaps/via/keymap.c b/keyboards/mechwild/murphpad/keymaps/via/keymap.c
index bd74d2184f..f7d3819403 100644
--- a/keyboards/mechwild/murphpad/keymaps/via/keymap.c
+++ b/keyboards/mechwild/murphpad/keymaps/via/keymap.c
@@ -17,8 +17,8 @@
// Defines names for use in layer keycodes and the keymap
enum layer_names {
- _BASE,
- _FN1,
+ _BASE,
+ _FN1,
_FN2,
_FN3
};
@@ -26,49 +26,49 @@ 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
),
[_FN1] = LAYOUT(
- _______, _______, _______, _______,
- _______, _______, _______, _______,
- RGB_HUD, RGB_SPI, RGB_HUI, _______,
- _______, RGB_RMOD, RGB_TOG, RGB_MOD, KC_NO,
- _______, RGB_VAD, RGB_SPD, RGB_VAI, _______,
- _______, RGB_SAD, KC_NO, RGB_SAI, KC_NO,
-
- _______, _______, _______
+ _______, _______, _______, _______,
+ _______, _______, _______, _______,
+ RGB_HUD, RGB_SPI, RGB_HUI, _______,
+ _______, RGB_RMOD, RGB_TOG, RGB_MOD, _______,
+ _______, RGB_VAD, RGB_SPD, RGB_VAI, _______,
+ _______, RGB_SAD, _______, RGB_SAI, _______,
+
+ _______, _______, _______
),
- [_FN2] = LAYOUT(
- _______, _______, _______, _______,
- _______, _______, _______, _______,
- _______, _______, _______, _______,
- _______, _______, _______, _______, KC_NO,
- _______, _______, _______, _______, _______,
- _______, _______, _______, _______, KC_NO,
-
- _______, _______, _______
+ [_FN2] = LAYOUT(
+ _______, _______, _______, _______,
+ _______, _______, _______, _______,
+ _______, _______, _______, _______,
+ _______, _______, _______, _______, _______,
+ _______, _______, _______, _______, _______,
+ _______, _______, _______, _______, _______,
+
+ _______, _______, _______
),
- [_FN3] = LAYOUT(
- _______, _______, _______, _______,
- _______, _______, _______, _______,
- _______, _______, _______, _______,
- _______, _______, _______, _______, KC_NO,
- _______, _______, _______, _______, _______,
- _______, _______, _______, _______, KC_NO,
-
- _______, _______, _______
+ [_FN3] = LAYOUT(
+ _______, _______, _______, _______,
+ _______, _______, _______, _______,
+ _______, _______, _______, _______,
+ _______, _______, _______, _______, _______,
+ _______, _______, _______, _______, _______,
+ _______, _______, _______, _______, _______,
+
+ _______, _______, _______
- )
+ )
};
#ifdef ENCODER_ENABLE
@@ -81,6 +81,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;
}