summaryrefslogtreecommitdiff
path: root/keyboards/om60
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2023-08-24 07:11:39 +1000
committerGitHub <noreply@github.com>2023-08-23 22:11:39 +0100
commit023d644bb69748d97feb49091e2c24f3fcd3da11 (patch)
tree1f8039d1fdf8408487eb5db0bee542e6f7d08af3 /keyboards/om60
parent79491e35e1c2abd30620dec21d6073515065cc1a (diff)
Move RGBLight animations to data driven (#21635)
* Move RGBLight animations to data driven, 0-9 * Move RGBLight animations to data driven, A * Move RGBLight animations to data driven, B * Move RGBLight animations to data driven, C * Move RGBLight animations to data driven, D * Move RGBLight animations to data driven, E * Move RGBLight animations to data driven, F * Move RGBLight animations to data driven, G * Move RGBLight animations to data driven, H * Move RGBLight animations to data driven, handwired * Move RGBLight animations to data driven, I * Move RGBLight animations to data driven, J * Move RGBLight animations to data driven, K * Move RGBLight animations to data driven, L * Move RGBLight animations to data driven, M * Move RGBLight animations to data driven, N * Move RGBLight animations to data driven, O * Move RGBLight animations to data driven, P * Move RGBLight animations to data driven, Q * Move RGBLight animations to data driven, R * Move RGBLight animations to data driven, S * Move RGBLight animations to data driven, T * Move RGBLight animations to data driven, U * Move RGBLight animations to data driven, V * Move RGBLight animations to data driven, W * Move RGBLight animations to data driven, X * Move RGBLight animations to data driven, Y * Move RGBLight animations to data driven, Z * Fix incorrect placement * Fix build failures and mismatches
Diffstat (limited to 'keyboards/om60')
-rw-r--r--keyboards/om60/config.h11
-rw-r--r--keyboards/om60/info.json14
2 files changed, 13 insertions, 12 deletions
diff --git a/keyboards/om60/config.h b/keyboards/om60/config.h
index 5977c819ed..e5c8d9426a 100644
--- a/keyboards/om60/config.h
+++ b/keyboards/om60/config.h
@@ -34,17 +34,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
34/* Locking resynchronize hack */ 34/* Locking resynchronize hack */
35#define LOCKING_RESYNC_ENABLE 35#define LOCKING_RESYNC_ENABLE
36 36
37#define RGBLIGHT_EFFECT_BREATHING
38#define RGBLIGHT_EFFECT_RAINBOW_MOOD
39#define RGBLIGHT_EFFECT_RAINBOW_SWIRL
40#define RGBLIGHT_EFFECT_SNAKE
41#define RGBLIGHT_EFFECT_KNIGHT
42#define RGBLIGHT_EFFECT_CHRISTMAS
43#define RGBLIGHT_EFFECT_STATIC_GRADIENT
44#define RGBLIGHT_EFFECT_RGB_TEST
45#define RGBLIGHT_EFFECT_ALTERNATING
46#define RGBLIGHT_EFFECT_TWINKLE
47
48#ifndef IOS_DEVICE_ENABLE 37#ifndef IOS_DEVICE_ENABLE
49 #define RGBLIGHT_LIMIT_VAL 90 38 #define RGBLIGHT_LIMIT_VAL 90
50 #define RGBLIGHT_VAL_STEP 17 39 #define RGBLIGHT_VAL_STEP 17
diff --git a/keyboards/om60/info.json b/keyboards/om60/info.json
index 9d33fbe1c2..df718e7fa0 100644
--- a/keyboards/om60/info.json
+++ b/keyboards/om60/info.json
@@ -20,7 +20,19 @@
20 "hue_steps": 10, 20 "hue_steps": 10,
21 "led_count": 69, 21 "led_count": 69,
22 "sleep": true, 22 "sleep": true,
23 "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] 23 "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],
24 "animations": {
25 "breathing": true,
26 "rainbow_mood": true,
27 "rainbow_swirl": true,
28 "snake": true,
29 "knight": true,
30 "christmas": true,
31 "static_gradient": true,
32 "rgb_test": true,
33 "alternating": true,
34 "twinkle": true
35 }
24 }, 36 },
25 "ws2812": { 37 "ws2812": {
26 "pin": "D3" 38 "pin": "D3"