update ds17 RGB_Matrix

This commit is contained in:
Micah 2024-09-08 22:28:47 +08:00
parent afc8f0a218
commit bf09550108
2 changed files with 71 additions and 3 deletions

View File

@ -18,8 +18,8 @@
"extrakey": true, "extrakey": true,
"mousekey": true, "mousekey": true,
"nkro": true, "nkro": true,
"rgb_matrix": false, "rgb_matrix": true,
"rgblight": true, "rgblight": false,
"encoder": false "encoder": false
}, },
"dynamic_keymap": { "dynamic_keymap": {
@ -58,6 +58,74 @@
"twinkle": true "twinkle": true
} }
}, },
"rgb_matrix": {
"animations": {
"gradient_left_right": true,
"breathing": true,
"band_sat": true,
"band_val": true,
"band_pinwheel_sat": true,
"band_pinwheel_val": true,
"band_spiral_sat": true,
"band_spiral_val": true,
"cycle_all": true,
"cycle_left_right": true,
"cycle_up_down": true,
"rainbow_moving_chevron": true,
"cycle_out_in": true,
"cycle_out_in_dual": true,
"cycle_pinwheel": true,
"cycle_spiral": true,
"dual_beacon": true,
"rainbow_beacon": true,
"rainbow_pinwheels": true,
"raindrops": true,
"jellybean_raindrops": true,
"hue_breathing": true,
"hue_pendulum": true,
"hue_wave": true,
"typing_heatmap": true,
"solid_reactive_simple": true,
"solid_reactive": true,
"solid_reactive_wide": true,
"solid_reactive_multiwide": true,
"solid_reactive_cross": true,
"solid_reactive_multicross": true,
"solid_reactive_nexus": true,
"solid_reactive_multinexus": true,
"splash": true,
"multisplash": true,
"solid_splash": true,
"solid_multisplash": true
},
"driver": "ws2812",
"layout": [
{ "flags": 2, "matrix": [0, 0], "x": 0, "y": 0 },
{ "flags": 2, "matrix": [0, 1], "x": 75, "y": 0 },
{ "flags": 2, "matrix": [0, 2], "x": 150, "y": 0 },
{ "flags": 2, "matrix": [0, 3], "x": 224, "y": 0 },
{ "flags": 2, "matrix": [1, 3], "x": 224, "y": 32 },
{ "flags": 2, "matrix": [3, 3], "x": 224, "y": 50 },
{ "flags": 2, "matrix": [4, 2], "x": 150, "y": 64 },
{ "flags": 2, "matrix": [4, 0], "x": 100, "y": 64 },
{ "flags": 2, "matrix": [3, 0], "x": 0, "y": 48 },
{ "flags": 2, "matrix": [2, 0], "x": 0, "y": 32 },
{ "flags": 2, "matrix": [1, 0], "x": 0, "y": 16 },
{ "flags": 2, "matrix": [1, 1], "x": 75, "y": 16 },
{ "flags": 2, "matrix": [1, 2], "x": 150, "y": 16 },
{ "flags": 2, "matrix": [2, 2], "x": 150, "y": 32 },
{ "flags": 2, "matrix": [3, 2], "x": 150, "y": 48 },
{ "flags": 2, "matrix": [3, 1], "x": 75, "y": 48 },
{ "flags": 2, "matrix": [2, 1], "x": 75, "y": 32 }
],
"sleep": true
},
"layouts": { "layouts": {
"LAYOUT": { "LAYOUT": {
"layout": [ "layout": [

View File

@ -29,7 +29,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include "util.h" #include "util.h"
#include "matrix.h" #include "matrix.h"
#include "timer.h" #include "timer.h"
#include "i2c_slave.h" #include "_slave.h"
#include "lufa.h" #include "lufa.h"
#define SLAVE_I2C_ADDRESS 0x36 #define SLAVE_I2C_ADDRESS 0x36