summaryrefslogtreecommitdiff
path: root/keyboards/salicylic_acid3
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2023-04-05 15:46:59 +1000
committerGitHub <noreply@github.com>2023-04-05 15:46:59 +1000
commit364c06d939134184838579d4e73880f8c2f83419 (patch)
treeb54be2d8a9a7ca5913774390bb0772e927d6523a /keyboards/salicylic_acid3
parent06c5c028046adc0a5501f6ac51953640e2015020 (diff)
Move small macropad-ish layouts to data driven (#20341)
Diffstat (limited to 'keyboards/salicylic_acid3')
-rw-r--r--keyboards/salicylic_acid3/nafuda/info.json14
-rw-r--r--keyboards/salicylic_acid3/nafuda/nafuda.h24
2 files changed, 7 insertions, 31 deletions
diff --git a/keyboards/salicylic_acid3/nafuda/info.json b/keyboards/salicylic_acid3/nafuda/info.json
index 3cef936a33..3553928e8b 100644
--- a/keyboards/salicylic_acid3/nafuda/info.json
+++ b/keyboards/salicylic_acid3/nafuda/info.json
@@ -18,13 +18,13 @@
"layouts": {
"LAYOUT": {
"layout": [
- {"label":"Mouse", "x":1, "y":0},
- {"label":"Backspace", "x":0, "y":0.5},
- {"label":"\u2191", "x":1, "y":1},
- {"label":"Browser", "x":2, "y":0.5},
- {"label":"\u2190", "x":0, "y":1.5},
- {"label":"\u2193", "x":1, "y":2},
- {"label":"\u2192", "x":2, "y":1.5}
+ {"matrix": [0, 1], "x": 1, "y": 0},
+ {"matrix": [1, 0], "x": 0, "y": 0.5},
+ {"matrix": [1, 1], "x": 1, "y": 1},
+ {"matrix": [1, 2], "x": 2, "y": 0.5},
+ {"matrix": [2, 0], "x": 0, "y": 1.5},
+ {"matrix": [2, 1], "x": 1, "y": 2},
+ {"matrix": [2, 2], "x": 2, "y": 1.5}
]
}
}
diff --git a/keyboards/salicylic_acid3/nafuda/nafuda.h b/keyboards/salicylic_acid3/nafuda/nafuda.h
deleted file mode 100644
index 008a9c16f4..0000000000
--- a/keyboards/salicylic_acid3/nafuda/nafuda.h
+++ /dev/null
@@ -1,24 +0,0 @@
-#pragma once
-
-#include "quantum.h"
-
-/*
- * ,-----------------.
- * | | L01 | |
- * |-----------------+
- * | L10 | L11 | L12 |
- * |-----------------+
- * | L20 | L21 | L22 |
- * |-----------------'
- */
-
-#define LAYOUT( \
- L01, \
- L10, L11, L12, \
- L20, L21, L22 \
- ) \
- { \
- {KC_NO, L01,KC_NO }, \
- { L10, L11, L12 }, \
- { L20, L21, L22 } \
- }