summaryrefslogtreecommitdiff
path: root/keyboards/om60
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2023-06-14 22:01:13 +1000
committerGitHub <noreply@github.com>2023-06-14 22:01:13 +1000
commit9551a0a38aca3d32e38a123ae2854a8c82b26195 (patch)
treeb246fae82fe993ad7d7aabc51cc2fa408f8517b5 /keyboards/om60
parent6c4286152f924fc98a6f18e14987f1db6e55ae5e (diff)
Move `RGBLIGHT_LED_MAP` to data driven (#21095)
Diffstat (limited to 'keyboards/om60')
-rw-r--r--keyboards/om60/config.h17
-rw-r--r--keyboards/om60/info.json3
2 files changed, 3 insertions, 17 deletions
diff --git a/keyboards/om60/config.h b/keyboards/om60/config.h
index 16957f9a0a..1936b24382 100644
--- a/keyboards/om60/config.h
+++ b/keyboards/om60/config.h
@@ -36,23 +36,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#ifndef RGBLED_NUM
#define RGBLED_NUM 69
- #define RGBLIGHT_LED_MAP { \
- 0, 1, 2, 3, \
- 8, 7, 6, 5, 4, \
- 9,10,11,12,13, \
- 18,17,16,15,14, \
- 19,20,21,22,23, \
- 28,27,26,25,24, \
- 29,30,31,32,33, \
- 38,37,36,35,34, \
- 39,40,41,42,43, \
- 48,47,46,45,44, \
- 49,50,51,52,53, \
- 58,57,56,55,54, \
- 59,60,61,62,63, \
- 68,67,66,65,64 \
- }
-
#define RGBLIGHT_SLEEP
#endif
diff --git a/keyboards/om60/info.json b/keyboards/om60/info.json
index 7efa8097d6..288c5aace4 100644
--- a/keyboards/om60/info.json
+++ b/keyboards/om60/info.json
@@ -13,6 +13,9 @@
{"pin_a": "B4", "pin_b": "B5"}
]
},
+ "rgblight": {
+ "led_map": [0, 1, 2, 3, 8, 7, 6, 5, 4, 9, 10, 11, 12, 13, 18, 17, 16, 15, 14, 19, 20, 21, 22, 23, 28, 27, 26, 25, 24, 29, 30, 31, 32, 33, 38, 37, 36, 35, 34, 39, 40, 41, 42, 43, 48, 47, 46, 45, 44, 49, 50, 51, 52, 53, 58, 57, 56, 55, 54, 59, 60, 61, 62, 63, 68, 67, 66, 65, 64]
+ },
"ws2812": {
"pin": "D3"
},