diff options
| author | Ryan <fauxpark@gmail.com> | 2023-06-18 14:39:07 +1000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-06-18 14:39:07 +1000 |
| commit | b1783db4eacacaf8181cfbce13146db1941486ba (patch) | |
| tree | d464d835a882fa7b2c205eb0b2d73f7ddf0b7145 /keyboards/maple_computing/the_ruler | |
| parent | 7178645be79510eb623098bccbf1724ff9970edc (diff) | |
Move `RGBLED_NUM` to data driven (#21278)
Diffstat (limited to 'keyboards/maple_computing/the_ruler')
| -rw-r--r-- | keyboards/maple_computing/the_ruler/config.h | 1 | ||||
| -rw-r--r-- | keyboards/maple_computing/the_ruler/info.json | 3 |
2 files changed, 3 insertions, 1 deletions
diff --git a/keyboards/maple_computing/the_ruler/config.h b/keyboards/maple_computing/the_ruler/config.h index e3b34d1bf0..3182936d76 100644 --- a/keyboards/maple_computing/the_ruler/config.h +++ b/keyboards/maple_computing/the_ruler/config.h | |||
| @@ -38,7 +38,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 38 | //#define NO_ACTION_TAPPING | 38 | //#define NO_ACTION_TAPPING |
| 39 | //#define NO_ACTION_ONESHOT | 39 | //#define NO_ACTION_ONESHOT |
| 40 | 40 | ||
| 41 | #define RGBLED_NUM 1 // Number of LEDs | ||
| 42 | #define RGBLIGHT_EFFECT_BREATHING | 41 | #define RGBLIGHT_EFFECT_BREATHING |
| 43 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 42 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 44 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 43 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/maple_computing/the_ruler/info.json b/keyboards/maple_computing/the_ruler/info.json index 336d48af4c..6848fe66b0 100644 --- a/keyboards/maple_computing/the_ruler/info.json +++ b/keyboards/maple_computing/the_ruler/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0x6007", | 8 | "pid": "0x6007", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | ||
| 12 | "led_count": 1 | ||
| 13 | }, | ||
| 11 | "ws2812": { | 14 | "ws2812": { |
| 12 | "pin": "E6" | 15 | "pin": "E6" |
| 13 | }, | 16 | }, |
