summaryrefslogtreecommitdiff
path: root/keyboards
diff options
context:
space:
mode:
authorQMK Bot <hello@qmk.fm>2022-03-15 04:03:24 +0000
committerQMK Bot <hello@qmk.fm>2022-03-15 04:03:24 +0000
commite784dc79a691abf8281b8aa97f83fdb81cb44f7e (patch)
treeb6a47c4801520363a6950235490c632d704b1a92 /keyboards
parent34ce1353f1f34d8f64e136ad6fa36e0aa84b88c6 (diff)
parent1ef4e305e3a6f1f46235831b4eb06c4a200651b5 (diff)
downloadqmk_firmware-e784dc79a691abf8281b8aa97f83fdb81cb44f7e.tar.gz
qmk_firmware-e784dc79a691abf8281b8aa97f83fdb81cb44f7e.zip
Merge remote-tracking branch 'origin/master' into develop
Diffstat (limited to 'keyboards')
-rw-r--r--keyboards/evancookaudio/sleepingdinosaur/config.h4
-rw-r--r--keyboards/evancookaudio/sleepingdinosaur/keymaps/via/keymap.c59
2 files changed, 30 insertions, 33 deletions
diff --git a/keyboards/evancookaudio/sleepingdinosaur/config.h b/keyboards/evancookaudio/sleepingdinosaur/config.h
index c03ce94c1e..ca1bdbf1c2 100644
--- a/keyboards/evancookaudio/sleepingdinosaur/config.h
+++ b/keyboards/evancookaudio/sleepingdinosaur/config.h
@@ -39,6 +39,4 @@
#define MATRIX_ROW_PINS {D1, D0, D4, C6, D7}
#define MATRIX_COL_PINS {B3, B1, F7, F6, F5, F4}
-
-#define UNUSED_PINS {B2, B6, B7, D5, C7, F1, F0, B4, E6}
-
+#define UNUSED_PINS
diff --git a/keyboards/evancookaudio/sleepingdinosaur/keymaps/via/keymap.c b/keyboards/evancookaudio/sleepingdinosaur/keymaps/via/keymap.c
index 250f3bee7c..53edbf1321 100644
--- a/keyboards/evancookaudio/sleepingdinosaur/keymaps/via/keymap.c
+++ b/keyboards/evancookaudio/sleepingdinosaur/keymaps/via/keymap.c
@@ -15,8 +15,6 @@
*/
#include QMK_KEYBOARD_H
-const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
-
/* LAYER 0
* ,-----------------------------------------------.
* | 1 | 2 | 3 | 4 | 5 | - |
@@ -30,32 +28,33 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
* | | Z | X | C | | N |
* ,-----------------------------------------------.
*/
-LAYOUT(
- KC_1, KC_2, KC_3, KC_4, KC_5, KC_MINS,
- KC_6, KC_7, KC_8, KC_9, KC_0, KC_R,
- LT(1,KC_SLSH), KC_Q, KC_W, KC_E, KC_U, KC_V,
- KC_ENT, KC_A, KC_S, KC_D, KC_SPC, KC_O,
- KC_Z, KC_X, KC_C, KC_N
-)
-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, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
- KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS
-)
-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, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
- KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS
-)
-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, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
- KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS
-)
+const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
+ [0] = LAYOUT(
+ KC_1, KC_2, KC_3, KC_4, KC_5, KC_MINS,
+ KC_6, KC_7, KC_8, KC_9, KC_0, KC_R,
+ LT(1,KC_SLSH), KC_Q, KC_W, KC_E, KC_U, KC_V,
+ KC_ENT, KC_A, KC_S, KC_D, KC_SPC, KC_O,
+ KC_Z, KC_X, KC_C, KC_N
+ ),
+ [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, 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, 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, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
+ KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS
+ )
};