summaryrefslogtreecommitdiff
path: root/keyboards/lazydesigners/cassette8/keymaps/via/keymap.c
diff options
context:
space:
mode:
authorjackytrabbit <jacky_lijun@126.com>2021-08-27 01:49:36 +0800
committerGitHub <noreply@github.com>2021-08-26 18:49:36 +0100
commitff65185dec6f97be1eb49f17cea526a0d0bbf3d6 (patch)
treefad23965973cd0a7b064a54c022c737cbdc00166 /keyboards/lazydesigners/cassette8/keymaps/via/keymap.c
parent3fce5e6912d78ec9fff4124b6952e3b8a0d4d3ae (diff)
Add support for lazydesigners/cassette8 (#14145)
* Add support for lazydesigners/cassette8 Add support for lazydesigners/cassette8 * Update keyboards/lazydesigners/cassette8/config.h Co-authored-by: Drashna Jaelre <drashna@live.com> * Update keyboards/lazydesigners/cassette8/rules.mk Co-authored-by: Drashna Jaelre <drashna@live.com> * Update keyboards/lazydesigners/cassette8/rules.mk Co-authored-by: Drashna Jaelre <drashna@live.com> * Update keyboards/lazydesigners/cassette8/config.h Co-authored-by: Drashna Jaelre <drashna@live.com> * Update keyboards/lazydesigners/cassette8/rules.mk Co-authored-by: Ryan <fauxpark@gmail.com> * Update keyboards/lazydesigners/cassette8/rules.mk Co-authored-by: Ryan <fauxpark@gmail.com> * Update keyboards/lazydesigners/cassette8/info.json Co-authored-by: Joel Challis <git@zvecr.com> Co-authored-by: Drashna Jaelre <drashna@live.com> Co-authored-by: Ryan <fauxpark@gmail.com> Co-authored-by: Joel Challis <git@zvecr.com>
Diffstat (limited to 'keyboards/lazydesigners/cassette8/keymaps/via/keymap.c')
-rwxr-xr-xkeyboards/lazydesigners/cassette8/keymaps/via/keymap.c34
1 files changed, 34 insertions, 0 deletions
diff --git a/keyboards/lazydesigners/cassette8/keymaps/via/keymap.c b/keyboards/lazydesigners/cassette8/keymaps/via/keymap.c
new file mode 100755
index 0000000000..3d1eb395c6
--- /dev/null
+++ b/keyboards/lazydesigners/cassette8/keymaps/via/keymap.c
@@ -0,0 +1,34 @@
+/* Copyright 2021 LAZYDESIGNERS
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+#include QMK_KEYBOARD_H
+
+#define LT1_SPC LT(1, KC_SPC)
+
+const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
+ [0] = LAYOUT(
+ KC_1, KC_2, KC_3, KC_4,
+ KC_5, KC_6, KC_7, LT1_SPC
+ ),
+ [1] = LAYOUT(
+ RESET, KC_NO, KC_NO, KC_NO,
+ KC_NO, KC_NO, KC_NO, KC_NO
+ ),
+ [2] = LAYOUT(
+ KC_NO, KC_NO, KC_NO, KC_NO,
+ KC_NO, KC_NO, KC_NO, KC_NO
+ ),
+};