diff options
| author | Ryan <fauxpark@gmail.com> | 2023-02-17 13:14:29 +1100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-02-17 13:14:29 +1100 |
| commit | f4ba17c4a0ee59603c167b04f2d6f6eee8b2cf1b (patch) | |
| tree | 11fec680226404eb46d2c61305cf7e848450c4d9 /keyboards/redscarf_iiplus | |
| parent | d784f78bd0a034c1d6085379615014fd701536ab (diff) | |
Move LED indicator config to data driven (#19800)
Diffstat (limited to 'keyboards/redscarf_iiplus')
| -rwxr-xr-x | keyboards/redscarf_iiplus/verb/config.h | 4 | ||||
| -rw-r--r-- | keyboards/redscarf_iiplus/verb/info.json | 5 | ||||
| -rwxr-xr-x | keyboards/redscarf_iiplus/verc/config.h | 4 | ||||
| -rw-r--r-- | keyboards/redscarf_iiplus/verc/info.json | 5 | ||||
| -rw-r--r-- | keyboards/redscarf_iiplus/verd/config.h | 4 | ||||
| -rw-r--r-- | keyboards/redscarf_iiplus/verd/info.json | 5 |
6 files changed, 15 insertions, 12 deletions
diff --git a/keyboards/redscarf_iiplus/verb/config.h b/keyboards/redscarf_iiplus/verb/config.h index af28efba48..58177ba51b 100755 --- a/keyboards/redscarf_iiplus/verb/config.h +++ b/keyboards/redscarf_iiplus/verb/config.h | |||
| @@ -39,10 +39,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 39 | /* COL2ROW, ROW2COL*/ | 39 | /* COL2ROW, ROW2COL*/ |
| 40 | #define DIODE_DIRECTION COL2ROW | 40 | #define DIODE_DIRECTION COL2ROW |
| 41 | 41 | ||
| 42 | #define LED_NUM_LOCK_PIN E6 | ||
| 43 | #define LED_CAPS_LOCK_PIN C7 | ||
| 44 | #define LED_PIN_ON_STATE 0 | ||
| 45 | |||
| 46 | #define BACKLIGHT_PIN B7 | 42 | #define BACKLIGHT_PIN B7 |
| 47 | #define BACKLIGHT_LEVELS 3 | 43 | #define BACKLIGHT_LEVELS 3 |
| 48 | 44 | ||
diff --git a/keyboards/redscarf_iiplus/verb/info.json b/keyboards/redscarf_iiplus/verb/info.json index 45096a152f..42879d8ee5 100644 --- a/keyboards/redscarf_iiplus/verb/info.json +++ b/keyboards/redscarf_iiplus/verb/info.json | |||
| @@ -8,6 +8,11 @@ | |||
| 8 | "pid": "0x0000", | 8 | "pid": "0x0000", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "indicators": { | ||
| 12 | "caps_lock": "C7", | ||
| 13 | "num_lock": "E6", | ||
| 14 | "on_state": 0 | ||
| 15 | }, | ||
| 11 | "processor": "atmega32u4", | 16 | "processor": "atmega32u4", |
| 12 | "bootloader": "qmk-dfu", | 17 | "bootloader": "qmk-dfu", |
| 13 | "layouts": { | 18 | "layouts": { |
diff --git a/keyboards/redscarf_iiplus/verc/config.h b/keyboards/redscarf_iiplus/verc/config.h index af28efba48..58177ba51b 100755 --- a/keyboards/redscarf_iiplus/verc/config.h +++ b/keyboards/redscarf_iiplus/verc/config.h | |||
| @@ -39,10 +39,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 39 | /* COL2ROW, ROW2COL*/ | 39 | /* COL2ROW, ROW2COL*/ |
| 40 | #define DIODE_DIRECTION COL2ROW | 40 | #define DIODE_DIRECTION COL2ROW |
| 41 | 41 | ||
| 42 | #define LED_NUM_LOCK_PIN E6 | ||
| 43 | #define LED_CAPS_LOCK_PIN C7 | ||
| 44 | #define LED_PIN_ON_STATE 0 | ||
| 45 | |||
| 46 | #define BACKLIGHT_PIN B7 | 42 | #define BACKLIGHT_PIN B7 |
| 47 | #define BACKLIGHT_LEVELS 3 | 43 | #define BACKLIGHT_LEVELS 3 |
| 48 | 44 | ||
diff --git a/keyboards/redscarf_iiplus/verc/info.json b/keyboards/redscarf_iiplus/verc/info.json index 0a951ade69..fa425fa85d 100644 --- a/keyboards/redscarf_iiplus/verc/info.json +++ b/keyboards/redscarf_iiplus/verc/info.json | |||
| @@ -8,6 +8,11 @@ | |||
| 8 | "pid": "0x0000", | 8 | "pid": "0x0000", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "indicators": { | ||
| 12 | "caps_lock": "C7", | ||
| 13 | "num_lock": "E6", | ||
| 14 | "on_state": 0 | ||
| 15 | }, | ||
| 11 | "processor": "atmega32u4", | 16 | "processor": "atmega32u4", |
| 12 | "bootloader": "qmk-dfu", | 17 | "bootloader": "qmk-dfu", |
| 13 | "community_layouts": ["65_ansi"], | 18 | "community_layouts": ["65_ansi"], |
diff --git a/keyboards/redscarf_iiplus/verd/config.h b/keyboards/redscarf_iiplus/verd/config.h index 27d02b108f..d770eaf812 100644 --- a/keyboards/redscarf_iiplus/verd/config.h +++ b/keyboards/redscarf_iiplus/verd/config.h | |||
| @@ -38,10 +38,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 38 | /* COL2ROW, ROW2COL*/ | 38 | /* COL2ROW, ROW2COL*/ |
| 39 | #define DIODE_DIRECTION COL2ROW | 39 | #define DIODE_DIRECTION COL2ROW |
| 40 | 40 | ||
| 41 | #define LED_NUM_LOCK_PIN E6 | ||
| 42 | #define LED_CAPS_LOCK_PIN C6 | ||
| 43 | #define LED_PIN_ON_STATE 0 | ||
| 44 | |||
| 45 | #define BACKLIGHT_PIN B7 | 41 | #define BACKLIGHT_PIN B7 |
| 46 | #define BACKLIGHT_LEVELS 3 | 42 | #define BACKLIGHT_LEVELS 3 |
| 47 | 43 | ||
diff --git a/keyboards/redscarf_iiplus/verd/info.json b/keyboards/redscarf_iiplus/verd/info.json index 33d210a4f6..74c63bc54f 100644 --- a/keyboards/redscarf_iiplus/verd/info.json +++ b/keyboards/redscarf_iiplus/verd/info.json | |||
| @@ -8,6 +8,11 @@ | |||
| 8 | "pid": "0x7778", | 8 | "pid": "0x7778", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "indicators": { | ||
| 12 | "caps_lock": "C6", | ||
| 13 | "num_lock": "E6", | ||
| 14 | "on_state": 0 | ||
| 15 | }, | ||
| 11 | "processor": "atmega32u4", | 16 | "processor": "atmega32u4", |
| 12 | "bootloader": "halfkay", | 17 | "bootloader": "halfkay", |
| 13 | "layouts": { | 18 | "layouts": { |
