summaryrefslogtreecommitdiffstats
path: root/keyboards/fungo/rev1
diff options
context:
space:
mode:
authorJoel Challis <git@zvecr.com>2023-01-20 05:44:05 +0000
committerGitHub <noreply@github.com>2023-01-20 05:44:05 +0000
commit53cc6170ae2687b0c894f05738181a2f16ad0d6c (patch)
tree8ad46caf24ee9dd35af36c2f292d0ba322650c80 /keyboards/fungo/rev1
parent18d107b29bc2b84b13a19f3fc4ef08724247b1bb (diff)
Refactor some layouts which contain keyboard name (#19645)
* Refactor some layouts which contain keyboard name * use planck_mit
Diffstat (limited to 'keyboards/fungo/rev1')
-rw-r--r--keyboards/fungo/rev1/info.json5
-rw-r--r--keyboards/fungo/rev1/rev1.h8
2 files changed, 5 insertions, 8 deletions
diff --git a/keyboards/fungo/rev1/info.json b/keyboards/fungo/rev1/info.json
index cb5b7c6991..993e91a631 100644
--- a/keyboards/fungo/rev1/info.json
+++ b/keyboards/fungo/rev1/info.json
@@ -8,8 +8,11 @@
"pid": "0x1233",
"device_version": "0.0.1"
},
+ "layout_aliases": {
+ "LAYOUT_fungo_split_num": "LAYOUT"
+ },
"layouts": {
- "LAYOUT_fungo_split_num": {
+ "LAYOUT": {
"layout": [
{"x":0, "y":0.375},
{"x":1, "y":0.375},
diff --git a/keyboards/fungo/rev1/rev1.h b/keyboards/fungo/rev1/rev1.h
index 97161482ff..bb5fadcd9a 100644
--- a/keyboards/fungo/rev1/rev1.h
+++ b/keyboards/fungo/rev1/rev1.h
@@ -19,9 +19,7 @@
#include "fungo.h"
#include "quantum.h"
-
-
-#define LAYOUT_fungo_split_num( \
+#define LAYOUT( \
L00, L01, L02, L03, L04, L05, L06, R06, R05, R04, R03, R02, R01, R00, \
L10, L11, L12, L13, L14, L15, L16, R16, R15, R14, R13, R12, R11, R10, \
L20, L21, L22, L23, L24, L25, L26, R26, R25, R24, R23, R22, R21, R20, \
@@ -42,7 +40,3 @@
{ R46, R45, R44, R43, R42, R41, R40}, \
{ KC_NO, KC_NO, KC_NO, KC_NO, R52, R51, R50}, \
}
-
-
-
-