summaryrefslogtreecommitdiff
path: root/keyboards/handwired/phantagom/baragon/keymaps/via/keymap.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/handwired/phantagom/baragon/keymaps/via/keymap.c')
-rw-r--r--keyboards/handwired/phantagom/baragon/keymaps/via/keymap.c25
1 files changed, 25 insertions, 0 deletions
diff --git a/keyboards/handwired/phantagom/baragon/keymaps/via/keymap.c b/keyboards/handwired/phantagom/baragon/keymaps/via/keymap.c
new file mode 100644
index 0000000000..ee6b9d5ec6
--- /dev/null
+++ b/keyboards/handwired/phantagom/baragon/keymaps/via/keymap.c
@@ -0,0 +1,25 @@
+// Copyright 2023 <dennis@kruyt.org>
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+#include QMK_KEYBOARD_H
+
+
+const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
+ [0] = LAYOUT( /* Base */
+ KC_P1, KC_P2, KC_P3, KC_P4,
+ KC_P5, KC_P6, KC_P7,
+ KC_P8, MO(1), KC_P9
+ ),
+ [1] = LAYOUT(
+ RGB_TOG , RGB_MOD , RGB_HUI, _______,
+ _______, _______, _______,
+ _______, _______, _______
+ ),
+};
+
+#if defined(ENCODER_MAP_ENABLE)
+const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][2] = {
+ [0] = { ENCODER_CCW_CW(KC_VOLD, KC_VOLU) },
+ [1] = { ENCODER_CCW_CW(KC_MRWD, KC_MFFD) },
+};
+#endif \ No newline at end of file