From 47966dc2a65c88ac90fcd64d12243d72f3f6753b Mon Sep 17 00:00:00 2001 From: Ryan Date: Thu, 6 Apr 2023 18:00:54 +1000 Subject: Migrate `rgblight.pin` and `RGB_DI_PIN` to `ws2812.pin` (#20303) --- keyboards/winkeys/mini_winni/config.h | 1 - keyboards/winkeys/mini_winni/info.json | 3 +++ 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'keyboards/winkeys/mini_winni') diff --git a/keyboards/winkeys/mini_winni/config.h b/keyboards/winkeys/mini_winni/config.h index 36fc5c6200..73844a7bc7 100644 --- a/keyboards/winkeys/mini_winni/config.h +++ b/keyboards/winkeys/mini_winni/config.h @@ -18,7 +18,6 @@ along with this program. If not, see . #pragma once -#define RGB_DI_PIN E6 #define RGBLED_NUM 4 #define RGBLIGHT_EFFECT_BREATHING #define RGBLIGHT_EFFECT_RAINBOW_MOOD diff --git a/keyboards/winkeys/mini_winni/info.json b/keyboards/winkeys/mini_winni/info.json index 56a13deaf9..614d534fd2 100644 --- a/keyboards/winkeys/mini_winni/info.json +++ b/keyboards/winkeys/mini_winni/info.json @@ -15,6 +15,9 @@ ["F6", "F7", "B6", "B5"] ] }, + "ws2812": { + "pin": "E6" + }, "layouts": { "LAYOUT_all": { "layout": [ -- cgit v1.2.3 From a5e46d80822797cd2e0dc2a2b81c4ccce9e167f4 Mon Sep 17 00:00:00 2001 From: Ryan Date: Wed, 3 May 2023 12:19:34 +1000 Subject: More `info.json` whitespace cleanups (#20665) --- keyboards/winkeys/mini_winni/info.json | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'keyboards/winkeys/mini_winni') diff --git a/keyboards/winkeys/mini_winni/info.json b/keyboards/winkeys/mini_winni/info.json index 614d534fd2..5ded902883 100644 --- a/keyboards/winkeys/mini_winni/info.json +++ b/keyboards/winkeys/mini_winni/info.json @@ -21,14 +21,14 @@ "layouts": { "LAYOUT_all": { "layout": [ - {"x":0, "y":0, "matrix": [0, 0]}, - {"x":1, "y":0, "matrix": [0, 1]}, - {"x":2, "y":0, "matrix": [0, 2]}, - {"x":3, "y":0, "matrix": [0, 3]}, - {"x":0, "y":1, "matrix": [1, 0]}, - {"x":1, "y":1, "matrix": [1, 1]}, - {"x":2, "y":1, "matrix": [1, 2]}, - {"x":3, "y":1, "matrix": [1, 3]} + {"x": 0, "y": 0, "matrix": [0, 0]}, + {"x": 1, "y": 0, "matrix": [0, 1]}, + {"x": 2, "y": 0, "matrix": [0, 2]}, + {"x": 3, "y": 0, "matrix": [0, 3]}, + {"x": 0, "y": 1, "matrix": [1, 0]}, + {"x": 1, "y": 1, "matrix": [1, 1]}, + {"x": 2, "y": 1, "matrix": [1, 2]}, + {"x": 3, "y": 1, "matrix": [1, 3]} ] } } -- cgit v1.2.3 From a31eea61b70a75f8228189cdcafc1e37d1d8ce74 Mon Sep 17 00:00:00 2001 From: James Young <18669334+noroadsleft@users.noreply.github.com> Date: Fri, 12 May 2023 07:33:41 -0700 Subject: WinKeys Mini Winni: rename LAYOUT_all to LAYOUT_ortho_2x4 (#20881) * info.json: apply friendly formatting * rename LAYOUT_all to LAYOUT_ortho_2x4 * info.json: update maintainer field Use the maintainer's GitHub username instead of their display name. --- keyboards/winkeys/mini_winni/info.json | 24 +++++++++++++--------- .../winkeys/mini_winni/keymaps/default/keymap.c | 8 ++++---- keyboards/winkeys/mini_winni/keymaps/via/keymap.c | 8 ++++---- 3 files changed, 22 insertions(+), 18 deletions(-) (limited to 'keyboards/winkeys/mini_winni') diff --git a/keyboards/winkeys/mini_winni/info.json b/keyboards/winkeys/mini_winni/info.json index 5ded902883..7828dba468 100644 --- a/keyboards/winkeys/mini_winni/info.json +++ b/keyboards/winkeys/mini_winni/info.json @@ -1,7 +1,7 @@ { "keyboard_name": "Mini Winni", "manufacturer": "WinKeys", - "maintainer": "Matthew Dias", + "maintainer": "matthewdias", "usb": { "vid": "0x574B", "pid": "0x7770", @@ -18,17 +18,21 @@ "ws2812": { "pin": "E6" }, + "layout_aliases": { + "LAYOUT_all": "LAYOUT_ortho_2x4" + }, "layouts": { - "LAYOUT_all": { + "LAYOUT_ortho_2x4": { "layout": [ - {"x": 0, "y": 0, "matrix": [0, 0]}, - {"x": 1, "y": 0, "matrix": [0, 1]}, - {"x": 2, "y": 0, "matrix": [0, 2]}, - {"x": 3, "y": 0, "matrix": [0, 3]}, - {"x": 0, "y": 1, "matrix": [1, 0]}, - {"x": 1, "y": 1, "matrix": [1, 1]}, - {"x": 2, "y": 1, "matrix": [1, 2]}, - {"x": 3, "y": 1, "matrix": [1, 3]} + {"label": "F1", "x": 0, "y": 0, "matrix": [0, 0]}, + {"label": "F2", "x": 1, "y": 0, "matrix": [0, 1]}, + {"label": "F3", "x": 2, "y": 0, "matrix": [0, 2]}, + {"label": "F4", "x": 3, "y": 0, "matrix": [0, 3]}, + + {"label": "F5", "x": 0, "y": 1, "matrix": [1, 0]}, + {"label": "F6", "x": 1, "y": 1, "matrix": [1, 1]}, + {"label": "F7", "x": 2, "y": 1, "matrix": [1, 2]}, + {"label": "F8", "x": 3, "y": 1, "matrix": [1, 3]} ] } } diff --git a/keyboards/winkeys/mini_winni/keymaps/default/keymap.c b/keyboards/winkeys/mini_winni/keymaps/default/keymap.c index 5613ca4d89..b878365be1 100644 --- a/keyboards/winkeys/mini_winni/keymaps/default/keymap.c +++ b/keyboards/winkeys/mini_winni/keymaps/default/keymap.c @@ -19,22 +19,22 @@ along with this program. If not, see . const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - [0] = LAYOUT_all( + [0] = LAYOUT_ortho_2x4( KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8 ), - [1] = LAYOUT_all( + [1] = LAYOUT_ortho_2x4( KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS ), - [2] = LAYOUT_all( + [2] = LAYOUT_ortho_2x4( KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS ), - [3] = LAYOUT_all( + [3] = LAYOUT_ortho_2x4( KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS ) diff --git a/keyboards/winkeys/mini_winni/keymaps/via/keymap.c b/keyboards/winkeys/mini_winni/keymaps/via/keymap.c index 5613ca4d89..b878365be1 100644 --- a/keyboards/winkeys/mini_winni/keymaps/via/keymap.c +++ b/keyboards/winkeys/mini_winni/keymaps/via/keymap.c @@ -19,22 +19,22 @@ along with this program. If not, see . const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - [0] = LAYOUT_all( + [0] = LAYOUT_ortho_2x4( KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8 ), - [1] = LAYOUT_all( + [1] = LAYOUT_ortho_2x4( KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS ), - [2] = LAYOUT_all( + [2] = LAYOUT_ortho_2x4( KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS ), - [3] = LAYOUT_all( + [3] = LAYOUT_ortho_2x4( KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS ) -- cgit v1.2.3