summaryrefslogtreecommitdiff
path: root/keyboards/dc01/numpad
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2023-01-10 13:48:20 +1100
committerGitHub <noreply@github.com>2023-01-10 02:48:20 +0000
commit56555c61e1396a0b1f85105abe78f0a2b3a7c4f3 (patch)
tree8053ff93c09f1db27026798f79b6dee5cd207939 /keyboards/dc01/numpad
parent59ae682dc9b3e2946a71533cfc62661d2545ed30 (diff)
Migrate `LAYOUTS` to data driven (#19541)
* Migrate `LAYOUTS` to data driven, 0-9 * Migrate `LAYOUTS` to data driven, A * Migrate `LAYOUTS` to data driven, B * Migrate `LAYOUTS` to data driven, C * Migrate `LAYOUTS` to data driven, D * Migrate `LAYOUTS` to data driven, E * Migrate `LAYOUTS` to data driven, F * Migrate `LAYOUTS` to data driven, G * Migrate `LAYOUTS` to data driven, H * Migrate `LAYOUTS` to data driven, handwired * Migrate `LAYOUTS` to data driven, I * Migrate `LAYOUTS` to data driven, J * Migrate `LAYOUTS` to data driven, K * Migrate `LAYOUTS` to data driven, L * Migrate `LAYOUTS` to data driven, M * Migrate `LAYOUTS` to data driven, N * Migrate `LAYOUTS` to data driven, O * Migrate `LAYOUTS` to data driven, P * Migrate `LAYOUTS` to data driven, Q * Migrate `LAYOUTS` to data driven, R * Migrate `LAYOUTS` to data driven, S * Migrate `LAYOUTS` to data driven, T * Migrate `LAYOUTS` to data driven, U * Migrate `LAYOUTS` to data driven, V * Migrate `LAYOUTS` to data driven, W * Migrate `LAYOUTS` to data driven, X * Migrate `LAYOUTS` to data driven, Y * Migrate `LAYOUTS` to data driven, Z
Diffstat (limited to 'keyboards/dc01/numpad')
-rw-r--r--keyboards/dc01/numpad/info.json1
-rw-r--r--keyboards/dc01/numpad/rules.mk3
2 files changed, 1 insertions, 3 deletions
diff --git a/keyboards/dc01/numpad/info.json b/keyboards/dc01/numpad/info.json
index 02158add29..47b3770fb0 100644
--- a/keyboards/dc01/numpad/info.json
+++ b/keyboards/dc01/numpad/info.json
@@ -8,6 +8,7 @@
"pid": "0x1013",
"device_version": "0.0.1"
},
+ "community_layouts": ["numpad_5x4", "ortho_5x4"],
"layouts": {
"LAYOUT_numpad_5x4": {
"layout": [{"label":"Num Lock", "x":0, "y":0}, {"label":"/", "x":1, "y":0}, {"label":"*", "x":2, "y":0}, {"label":"-", "x":3, "y":0}, {"label":"7", "x":0, "y":1}, {"label":"8", "x":1, "y":1}, {"label":"9", "x":2, "y":1}, {"label":"4", "x":0, "y":2}, {"label":"5", "x":1, "y":2}, {"label":"6", "x":2, "y":2}, {"label":"+", "x":3, "y":1, "h":2}, {"label":"1", "x":0, "y":3}, {"label":"2", "x":1, "y":3}, {"label":"3", "x":2, "y":3}, {"label":"0", "x":0, "y":4, "w":2}, {"label":".", "x":2, "y":4}, {"label":"Enter", "x":3, "y":3, "h":2}]
diff --git a/keyboards/dc01/numpad/rules.mk b/keyboards/dc01/numpad/rules.mk
index 173f1c126d..8d8884e59d 100644
--- a/keyboards/dc01/numpad/rules.mk
+++ b/keyboards/dc01/numpad/rules.mk
@@ -19,6 +19,3 @@ NO_USB_STARTUP_CHECK = yes # Disable initialization only when usb is plugged in
CUSTOM_MATRIX = yes # Use custom matrix
SRC += matrix.c \
i2c_slave.c
-
-# Community layouts supported
-LAYOUTS = numpad_5x4 ortho_5x4