From ff65185dec6f97be1eb49f17cea526a0d0bbf3d6 Mon Sep 17 00:00:00 2001 From: jackytrabbit Date: Fri, 27 Aug 2021 01:49:36 +0800 Subject: 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 * Update keyboards/lazydesigners/cassette8/rules.mk Co-authored-by: Drashna Jaelre * Update keyboards/lazydesigners/cassette8/rules.mk Co-authored-by: Drashna Jaelre * Update keyboards/lazydesigners/cassette8/config.h Co-authored-by: Drashna Jaelre * Update keyboards/lazydesigners/cassette8/rules.mk Co-authored-by: Ryan * Update keyboards/lazydesigners/cassette8/rules.mk Co-authored-by: Ryan * Update keyboards/lazydesigners/cassette8/info.json Co-authored-by: Joel Challis Co-authored-by: Drashna Jaelre Co-authored-by: Ryan Co-authored-by: Joel Challis --- .../lazydesigners/cassette8/keymaps/via/keymap.c | 34 ++++++++++++++++++++++ .../lazydesigners/cassette8/keymaps/via/rules.mk | 2 ++ 2 files changed, 36 insertions(+) create mode 100755 keyboards/lazydesigners/cassette8/keymaps/via/keymap.c create mode 100755 keyboards/lazydesigners/cassette8/keymaps/via/rules.mk (limited to 'keyboards/lazydesigners/cassette8/keymaps/via') 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 . + */ + +#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 + ), +}; diff --git a/keyboards/lazydesigners/cassette8/keymaps/via/rules.mk b/keyboards/lazydesigners/cassette8/keymaps/via/rules.mk new file mode 100755 index 0000000000..36b7ba9cbc --- /dev/null +++ b/keyboards/lazydesigners/cassette8/keymaps/via/rules.mk @@ -0,0 +1,2 @@ +VIA_ENABLE = yes +LTO_ENABLE = yes -- cgit v1.2.3