summaryrefslogtreecommitdiffstats
path: root/keyboards/exclusive
diff options
context:
space:
mode:
authorXScorpion2 <rcalt2vt@gmail.com>2019-04-30 00:18:50 +0200
committerMechMerlin <30334081+mechmerlin@users.noreply.github.com>2019-04-30 00:18:50 +0200
commita7113c8ed090d0ac647f30ee9b8ef41252e568ed (patch)
tree24d33db679b4d1357efef2784e69fea48e98d0ed /keyboards/exclusive
parent1d784f0f9575b70e35c9c8338b0ff80dc7316d7e (diff)
downloadqmk_firmware-a7113c8ed090d0ac647f30ee9b8ef41252e568ed.tar.gz
qmk_firmware-a7113c8ed090d0ac647f30ee9b8ef41252e568ed.tar.xz
Updated rgb_led struct field modifier to flags (#5619)
Updated effects to test led flags Updated massdrop to use new flags field for led toggle
Diffstat (limited to 'keyboards/exclusive')
-rw-r--r--keyboards/exclusive/e6_rgb/e6_rgb.c100
1 files changed, 50 insertions, 50 deletions
diff --git a/keyboards/exclusive/e6_rgb/e6_rgb.c b/keyboards/exclusive/e6_rgb/e6_rgb.c
index d50af86b5..42f879990 100644
--- a/keyboards/exclusive/e6_rgb/e6_rgb.c
+++ b/keyboards/exclusive/e6_rgb/e6_rgb.c
@@ -114,80 +114,80 @@ const is31_led g_is31_leds[DRIVER_LED_TOTAL] = {
{0, E_16, D_16, F_16},
{0, B_16, A_16, C_16},
};
-const rgb_led g_rgb_leds[DRIVER_LED_TOTAL] = {
+rgb_led g_rgb_leds[DRIVER_LED_TOTAL] = {
/* {row | col << 4}
* | {x=0..224, y=0..64}
- * | | modifier
+ * | | flags
* | | | */
//cs1
{{0|(0<<4)}, { 0, 0}, 1},
- {{0|(1<<4)}, { 17, 0}, 0},
+ {{0|(1<<4)}, { 17, 0}, 4},
{{1|(0<<4)}, { 0, 16}, 1},
{{2|(0<<4)}, { 0, 32}, 1},
//cs2
- {{0|(2<<4)}, { 34, 0}, 0},
- {{0|(3<<4)}, { 51, 0}, 0},
- {{1|(1<<4)}, { 17, 16}, 0},
- {{1|(2<<4)}, { 34, 16}, 0},
+ {{0|(2<<4)}, { 34, 0}, 4},
+ {{0|(3<<4)}, { 51, 0}, 4},
+ {{1|(1<<4)}, { 17, 16}, 4},
+ {{1|(2<<4)}, { 34, 16}, 4},
//cs3
- {{2|(1<<4)}, { 17, 32}, 0},
- {{2|(2<<4)}, { 34, 32}, 0},
- {{3|(1<<4)}, { 17, 48}, 0},
- {{3|(2<<4)}, { 34, 48}, 0},
+ {{2|(1<<4)}, { 17, 32}, 4},
+ {{2|(2<<4)}, { 34, 32}, 4},
+ {{3|(1<<4)}, { 17, 48}, 4},
+ {{3|(2<<4)}, { 34, 48}, 4},
//cs4
- {{0|(4<<4)}, { 68, 0}, 0},
- {{0|(5<<4)}, { 85, 0}, 0},
- {{1|(3<<4)}, { 51, 16}, 0},
- {{1|(4<<4)}, { 68, 16}, 0},
+ {{0|(4<<4)}, { 68, 0}, 4},
+ {{0|(5<<4)}, { 85, 0}, 4},
+ {{1|(3<<4)}, { 51, 16}, 4},
+ {{1|(4<<4)}, { 68, 16}, 4},
//cs5
- {{0|(11<<4)}, {187, 0}, 0},
- {{0|(12<<4)}, {204, 0}, 0},
- {{1|(11<<4)}, {187, 16}, 0},
- {{1|(12<<4)}, {204, 16}, 0},
+ {{0|(11<<4)}, {187, 0}, 4},
+ {{0|(12<<4)}, {204, 0}, 4},
+ {{1|(11<<4)}, {187, 16}, 4},
+ {{1|(12<<4)}, {204, 16}, 4},
//cs6
- {{0|(7<<4)}, {119, 0}, 0},
- {{0|(8<<4)}, {136, 0}, 0},
- {{1|(7<<4)}, {119, 16}, 0},
- {{1|(8<<4)}, {136, 16}, 0},
+ {{0|(7<<4)}, {119, 0}, 4},
+ {{0|(8<<4)}, {136, 0}, 4},
+ {{1|(7<<4)}, {119, 16}, 4},
+ {{1|(8<<4)}, {136, 16}, 4},
//cs7
- {{0|(9<<4)}, {153, 0}, 0},
- {{0|(10<<4)}, {170, 0}, 0},
- {{1|(9<<4)}, {153, 16}, 0},
- {{1|(10<<4)}, {170, 16}, 0},
+ {{0|(9<<4)}, {153, 0}, 4},
+ {{0|(10<<4)}, {170, 0}, 4},
+ {{1|(9<<4)}, {153, 16}, 4},
+ {{1|(10<<4)}, {170, 16}, 4},
//cs8
- {{0|(13<<4)}, {221, 0}, 0},
- {{0|(14<<4)}, {221, 0}, 0},
+ {{0|(13<<4)}, {221, 0}, 4},
+ {{0|(14<<4)}, {221, 0}, 4},
{{1|(13<<4)}, {221, 32}, 1},
{{2|(12<<4)}, {221, 16}, 1},
//cs9
- {{2|(3<<4)}, { 51, 32}, 0},
- {{2|(4<<4)}, { 68, 32}, 0},
- {{3|(3<<4)}, { 51, 48}, 0},
- {{3|(4<<4)}, { 68, 48}, 0},
+ {{2|(3<<4)}, { 51, 32}, 4},
+ {{2|(4<<4)}, { 68, 32}, 4},
+ {{3|(3<<4)}, { 51, 48}, 4},
+ {{3|(4<<4)}, { 68, 48}, 4},
//cs10
- {{0|(6<<4)}, {102, 0}, 0},
- {{1|(5<<4)}, { 85, 16}, 0},
- {{1|(6<<4)}, {102, 16}, 0},
- {{2|(5<<4)}, { 85, 32}, 0},
+ {{0|(6<<4)}, {102, 0}, 4},
+ {{1|(5<<4)}, { 85, 16}, 4},
+ {{1|(6<<4)}, {102, 16}, 4},
+ {{2|(5<<4)}, { 85, 32}, 4},
//cs11
- {{2|(6<<4)}, {102, 32}, 0},
- {{3|(5<<4)}, { 85, 48}, 0},
- {{3|(6<<4)}, {102, 48}, 0},
- {{4|(5<<4)}, {102, 64}, 0},
+ {{2|(6<<4)}, {102, 32}, 4},
+ {{3|(5<<4)}, { 85, 48}, 4},
+ {{3|(6<<4)}, {102, 48}, 4},
+ {{4|(5<<4)}, {102, 64}, 4},
//cs12
- {{2|(7<<4)}, {119, 32}, 0},
- {{2|(8<<4)}, {136, 32}, 0},
- {{3|(7<<4)}, {119, 48}, 0},
- {{3|(8<<4)}, {136, 48}, 0},
+ {{2|(7<<4)}, {119, 32}, 4},
+ {{2|(8<<4)}, {136, 32}, 4},
+ {{3|(7<<4)}, {119, 48}, 4},
+ {{3|(8<<4)}, {136, 48}, 4},
//cs13
- {{2|(9<<4)}, {153, 32}, 0},
- {{2|(10<<4)}, {170, 32}, 0},
- {{3|(9<<4)}, {153, 48}, 0},
+ {{2|(9<<4)}, {153, 32}, 4},
+ {{2|(10<<4)}, {170, 32}, 4},
+ {{3|(9<<4)}, {153, 48}, 4},
{{4|(6<<4)}, {136, 48}, 1},
//cs14
- {{2|(11<<4)}, {187, 32}, 0},
- {{3|(10<<4)}, {170, 48}, 0},
+ {{2|(11<<4)}, {187, 32}, 4},
+ {{3|(10<<4)}, {170, 48}, 4},
{{3|(11<<4)}, {187, 48}, 1},
{{4|(7<<4)}, {153, 48}, 1},
//cs15