summaryrefslogtreecommitdiffstats
path: root/keyboards/dailycraft/sandbox/rev2
diff options
context:
space:
mode:
authorjack <0x6A73@pm.me>2022-04-18 03:28:28 -0600
committerGitHub <noreply@github.com>2022-04-18 02:28:28 -0700
commit8c91e90381fff838554c979da416341393e0630c (patch)
tree685652e9d1e1c74494d34b99037f543612f02b9b /keyboards/dailycraft/sandbox/rev2
parentf52f3f10772621864b16f9dc299f49df9d958cd8 (diff)
[Keyboard] sandbox - fix keymaps (#16873)
Diffstat (limited to 'keyboards/dailycraft/sandbox/rev2')
-rw-r--r--keyboards/dailycraft/sandbox/rev2/keymaps/oled/keymap.c43
-rw-r--r--keyboards/dailycraft/sandbox/rev2/keymaps/oled/readme.md1
-rw-r--r--keyboards/dailycraft/sandbox/rev2/keymaps/oled/rules.mk2
-rw-r--r--keyboards/dailycraft/sandbox/rev2/keymaps/via/keymap.c15
4 files changed, 4 insertions, 57 deletions
diff --git a/keyboards/dailycraft/sandbox/rev2/keymaps/oled/keymap.c b/keyboards/dailycraft/sandbox/rev2/keymaps/oled/keymap.c
deleted file mode 100644
index c72b85c79a..0000000000
--- a/keyboards/dailycraft/sandbox/rev2/keymaps/oled/keymap.c
+++ /dev/null
@@ -1,43 +0,0 @@
-/* Copyright 2021 yfuku
- *
- * 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
-
-enum layer_names {
- _0,
- _1,
- _2,
- _3
-};
-
-const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
- [_0] = LAYOUT(
- KC_1, KC_2, KC_3, KC_4, KC_5, KC_A, KC_B, KC_C, KC_D, KC_E,
- KC_6, KC_7, KC_8, KC_9, KC_0, KC_F, KC_G, KC_H, KC_I, KC_J
- ),
- [_1] = LAYOUT(
- KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
- KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS
- ),
- [_2] = LAYOUT(
- KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
- KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS
- ),
- [_3] = LAYOUT(
- KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
- KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS
- )
-};
-
diff --git a/keyboards/dailycraft/sandbox/rev2/keymaps/oled/readme.md b/keyboards/dailycraft/sandbox/rev2/keymaps/oled/readme.md
deleted file mode 100644
index c0c3cb6eec..0000000000
--- a/keyboards/dailycraft/sandbox/rev2/keymaps/oled/readme.md
+++ /dev/null
@@ -1 +0,0 @@
-# The oled keymap for sandbox
diff --git a/keyboards/dailycraft/sandbox/rev2/keymaps/oled/rules.mk b/keyboards/dailycraft/sandbox/rev2/keymaps/oled/rules.mk
deleted file mode 100644
index ab9d5c6ac2..0000000000
--- a/keyboards/dailycraft/sandbox/rev2/keymaps/oled/rules.mk
+++ /dev/null
@@ -1,2 +0,0 @@
-VIA_ENABLE = yes
-OLED_ENABLE = yes
diff --git a/keyboards/dailycraft/sandbox/rev2/keymaps/via/keymap.c b/keyboards/dailycraft/sandbox/rev2/keymaps/via/keymap.c
index c202284292..8796e0443d 100644
--- a/keyboards/dailycraft/sandbox/rev2/keymaps/via/keymap.c
+++ b/keyboards/dailycraft/sandbox/rev2/keymaps/via/keymap.c
@@ -15,27 +15,20 @@
*/
#include QMK_KEYBOARD_H
-enum layer_names {
- _0,
- _1,
- _2,
- _3
-};
-
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
- [_0] = LAYOUT(
+ [0] = LAYOUT(
KC_1, KC_2, KC_3, KC_4, KC_5, KC_A, KC_B, KC_C, KC_D, KC_E,
KC_6, KC_7, KC_8, KC_9, KC_0, KC_F, KC_G, KC_H, KC_I, KC_J
),
- [_1] = LAYOUT(
+ [1] = LAYOUT(
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS
),
- [_2] = LAYOUT(
+ [2] = LAYOUT(
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS
),
- [_3] = LAYOUT(
+ [3] = LAYOUT(
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS
)