summaryrefslogtreecommitdiffstats
path: root/keyboards/adafruit/macropad/keymaps/default
diff options
context:
space:
mode:
authorDrashna Jaelre <drashna@drashna.net>2023-04-07 17:59:13 -0700
committerGitHub <noreply@github.com>2023-04-08 10:59:13 +1000
commit2c375e64785f3d69a14d7a3e02c041d774d1d75b (patch)
treebebc8ec37099bf4d14b3d0555a3ae848289d88ce /keyboards/adafruit/macropad/keymaps/default
parenta5e68e5f748a98b57bd2865112f5e0caa46df255 (diff)
[Keyboard] Add audio support to Adafruit MacroPad RP2040 (#20353)
Diffstat (limited to 'keyboards/adafruit/macropad/keymaps/default')
-rw-r--r--keyboards/adafruit/macropad/keymaps/default/keymap.c13
1 files changed, 10 insertions, 3 deletions
diff --git a/keyboards/adafruit/macropad/keymaps/default/keymap.c b/keyboards/adafruit/macropad/keymaps/default/keymap.c
index 34989ea0b6..808b202df4 100644
--- a/keyboards/adafruit/macropad/keymaps/default/keymap.c
+++ b/keyboards/adafruit/macropad/keymaps/default/keymap.c
@@ -18,17 +18,25 @@
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
[0] = LAYOUT(
- KC_MUTE,
+ LT(1,KC_MUTE),
KC_ENT, KC_0, KC_BSPC,
KC_7, KC_8, KC_9,
KC_4, KC_5, KC_6,
KC_1, KC_2, KC_3
- )
+ ),
+ [1] = LAYOUT(
+ _______,
+ CK_TOGG, AU_TOGG, _______,
+ _______, _______, _______,
+ _______, _______, _______,
+ _______, _______, _______
+ ),
};
#ifdef ENCODER_MAP_ENABLE
const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][2] = {
[0] = { ENCODER_CCW_CW(KC_VOLD, KC_VOLU) },
+ [1] = { ENCODER_CCW_CW(_______, _______) },
};
#endif
@@ -111,4 +119,3 @@ bool oled_task_user(void) {
}
#endif
-