From 56555c61e1396a0b1f85105abe78f0a2b3a7c4f3 Mon Sep 17 00:00:00 2001 From: Ryan Date: Tue, 10 Jan 2023 13:48:20 +1100 Subject: 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 --- keyboards/preonic/rev1/info.json | 3 ++- keyboards/preonic/rev1/rules.mk | 2 -- keyboards/preonic/rev2/info.json | 3 ++- keyboards/preonic/rev2/rules.mk | 2 -- keyboards/preonic/rev3/info.json | 1 + keyboards/preonic/rev3/rules.mk | 2 -- keyboards/preonic/rev3_drop/info.json | 1 + keyboards/preonic/rev3_drop/rules.mk | 2 -- 8 files changed, 6 insertions(+), 10 deletions(-) (limited to 'keyboards/preonic') diff --git a/keyboards/preonic/rev1/info.json b/keyboards/preonic/rev1/info.json index 1a44f3a2d6..a6f5233875 100644 --- a/keyboards/preonic/rev1/info.json +++ b/keyboards/preonic/rev1/info.json @@ -5,5 +5,6 @@ "vid": "0x03A8", "pid": "0x67F3", "device_version": "0.0.1" - } + }, + "community_layouts": ["ortho_5x12"] } diff --git a/keyboards/preonic/rev1/rules.mk b/keyboards/preonic/rev1/rules.mk index 026f39123f..0ca1fec7d1 100644 --- a/keyboards/preonic/rev1/rules.mk +++ b/keyboards/preonic/rev1/rules.mk @@ -17,6 +17,4 @@ BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality AUDIO_ENABLE = yes # Audio output RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight. -LAYOUTS = ortho_5x12 - LTO_ENABLE = yes diff --git a/keyboards/preonic/rev2/info.json b/keyboards/preonic/rev2/info.json index 5362084dc7..928e4bcbcf 100644 --- a/keyboards/preonic/rev2/info.json +++ b/keyboards/preonic/rev2/info.json @@ -5,5 +5,6 @@ "vid": "0x03A8", "pid": "0x67F3", "device_version": "0.0.2" - } + }, + "community_layouts": ["ortho_5x12"] } diff --git a/keyboards/preonic/rev2/rules.mk b/keyboards/preonic/rev2/rules.mk index ba0e8d864a..a9da1a9b3f 100644 --- a/keyboards/preonic/rev2/rules.mk +++ b/keyboards/preonic/rev2/rules.mk @@ -17,6 +17,4 @@ BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality AUDIO_ENABLE = yes # Audio output RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight. -LAYOUTS = ortho_5x12 - LTO_ENABLE = yes diff --git a/keyboards/preonic/rev3/info.json b/keyboards/preonic/rev3/info.json index 1f13d480d2..81f83ccb4b 100644 --- a/keyboards/preonic/rev3/info.json +++ b/keyboards/preonic/rev3/info.json @@ -6,6 +6,7 @@ "pid": "0xA649", "device_version": "0.0.3" }, + "community_layouts": ["ortho_5x12"], "layouts": { "LAYOUT_preonic_1x2uC": { "layout": [ diff --git a/keyboards/preonic/rev3/rules.mk b/keyboards/preonic/rev3/rules.mk index 5f511ee5db..a7f7e9e651 100644 --- a/keyboards/preonic/rev3/rules.mk +++ b/keyboards/preonic/rev3/rules.mk @@ -25,5 +25,3 @@ RGB_MATRIX_DRIVER = WS2812 ENCODER_ENABLE = yes DIP_SWITCH_ENABLE = yes - -LAYOUTS = ortho_5x12 diff --git a/keyboards/preonic/rev3_drop/info.json b/keyboards/preonic/rev3_drop/info.json index 081d9e1983..7cd1b111e9 100644 --- a/keyboards/preonic/rev3_drop/info.json +++ b/keyboards/preonic/rev3_drop/info.json @@ -6,6 +6,7 @@ "pid": "0xA649", "device_version": "0.0.3" }, + "community_layouts": ["ortho_5x12"], "layouts": { "LAYOUT_preonic_1x2uC": { "layout": [ diff --git a/keyboards/preonic/rev3_drop/rules.mk b/keyboards/preonic/rev3_drop/rules.mk index 3d0e376081..18a86c09f8 100644 --- a/keyboards/preonic/rev3_drop/rules.mk +++ b/keyboards/preonic/rev3_drop/rules.mk @@ -26,5 +26,3 @@ RGB_MATRIX_ENABLE = no RGB_MATRIX_DRIVER = WS2812 SRC += matrix.c - -LAYOUTS = ortho_5x12 -- cgit v1.2.3