summaryrefslogtreecommitdiffstats
path: root/keyboards/macrocat/keymaps/via/keymap.c
diff options
context:
space:
mode:
authorQMK Bot <hello@qmk.fm>2022-07-03 18:08:32 +0000
committerQMK Bot <hello@qmk.fm>2022-07-03 18:08:32 +0000
commit63474e2c176466809e3f7cd4a5964e17a8e416cd (patch)
tree85f67412130e208020a0e7bc8df3412cb2cec803 /keyboards/macrocat/keymaps/via/keymap.c
parent7d89dfe2dc71d10f9a7e20575d073656e8aab893 (diff)
parent168a63172010924a7a00dc1bc9e6a3c510e8ce5a (diff)
Merge remote-tracking branch 'origin/master' into develop
Diffstat (limited to 'keyboards/macrocat/keymaps/via/keymap.c')
-rw-r--r--keyboards/macrocat/keymaps/via/keymap.c31
1 files changed, 31 insertions, 0 deletions
diff --git a/keyboards/macrocat/keymaps/via/keymap.c b/keyboards/macrocat/keymaps/via/keymap.c
new file mode 100644
index 0000000000..c10d6e1357
--- /dev/null
+++ b/keyboards/macrocat/keymaps/via/keymap.c
@@ -0,0 +1,31 @@
+// Copyright 2022 catmunch (@catmunch)
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+#include QMK_KEYBOARD_H
+
+const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
+ [0] = {
+ {KC_PPLS, KC_9, KC_8, KC_7 },
+ {KC_PMNS, KC_6, KC_5, KC_4 },
+ {KC_PDOT, KC_3, KC_2, KC_1 },
+ {KC_PENT, KC_SPACE, KC_P0, MO(1)}
+ },
+ [1] = {
+ {KC_PAST, KC_NO, KC_NO, KC_NO},
+ {KC_PSLS, KC_LPRN, KC_UP, KC_RPRN},
+ {KC_COMM, KC_LEFT, KC_DOWN,KC_RIGHT},
+ {KC_TAB, KC_BSPC, KC_P0, KC_TRNS}
+ },
+ [2] = {
+ {KC_NO, KC_NO, KC_NO, KC_NO},
+ {KC_NO, KC_NO, KC_NO, KC_NO},
+ {KC_NO, KC_NO, KC_NO, KC_NO},
+ {KC_NO, KC_NO, KC_NO, KC_NO}
+ },
+ [3] = {
+ {KC_NO, KC_NO, KC_NO, KC_NO},
+ {KC_NO, KC_NO, KC_NO, KC_NO},
+ {KC_NO, KC_NO, KC_NO, KC_NO},
+ {KC_NO, KC_NO, KC_NO, KC_NO}
+ }
+};