summaryrefslogtreecommitdiffstats
path: root/keyboards/momokai/aurora/keymaps/via
diff options
context:
space:
mode:
authorpeepeetee <43021794+peepeetee@users.noreply.github.com>2023-09-20 21:03:32 -0500
committerGitHub <noreply@github.com>2023-09-20 19:03:32 -0700
commitfffea620050dc44e1003658cc8f2f6ec5126e22f (patch)
treef78d34525d3b65544ba252b02d0f6f599b2a5933 /keyboards/momokai/aurora/keymaps/via
parentcdff9b8da710df29da2d977da0c6cf2b5ba1bf7b (diff)
[Keyboard] Momokai Aurora (#20419)
Co-authored-by: Albert Y <76888457+filterpaper@users.noreply.github.com> Co-authored-by: Ryan <fauxpark@gmail.com> Co-authored-by: Drashna Jaelre <drashna@live.com> Co-authored-by: Joel Challis <git@zvecr.com>
Diffstat (limited to 'keyboards/momokai/aurora/keymaps/via')
-rw-r--r--keyboards/momokai/aurora/keymaps/via/keymap.c18
-rw-r--r--keyboards/momokai/aurora/keymaps/via/rules.mk4
2 files changed, 22 insertions, 0 deletions
diff --git a/keyboards/momokai/aurora/keymaps/via/keymap.c b/keyboards/momokai/aurora/keymaps/via/keymap.c
new file mode 100644
index 0000000000..710f1d57bb
--- /dev/null
+++ b/keyboards/momokai/aurora/keymaps/via/keymap.c
@@ -0,0 +1,18 @@
+// Copyright 2023 QMK
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+#include QMK_KEYBOARD_H
+
+const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
+ [0] = LAYOUT(
+ KC_MUTE,
+ KC_Z, KC_X, KC_C,
+ KC_GRV, KC_ESC, KC_F2
+ ),
+};
+
+#if defined(ENCODER_MAP_ENABLE)
+const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][NUM_DIRECTIONS] = {
+ [0] = { ENCODER_CCW_CW(KC_VOLD, KC_VOLU) },
+};
+#endif \ No newline at end of file
diff --git a/keyboards/momokai/aurora/keymaps/via/rules.mk b/keyboards/momokai/aurora/keymaps/via/rules.mk
new file mode 100644
index 0000000000..293c5ffdeb
--- /dev/null
+++ b/keyboards/momokai/aurora/keymaps/via/rules.mk
@@ -0,0 +1,4 @@
+VIA_ENABLE = yes
+LTO_ENABLE = yes
+
+ENCODER_MAP_ENABLE = yes