From 3e7b4a15afc46ae4a3a935ae72bd8645bb20af17 Mon Sep 17 00:00:00 2001 From: Jack Humbert Date: Wed, 19 Dec 2018 23:02:05 -0500 Subject: [PATCH] leds configd --- keyboards/moonlander/moonlander.c | 140 +++++++++++++++--------------- 1 file changed, 70 insertions(+), 70 deletions(-) diff --git a/keyboards/moonlander/moonlander.c b/keyboards/moonlander/moonlander.c index 9839036e32..d000ee8814 100644 --- a/keyboards/moonlander/moonlander.c +++ b/keyboards/moonlander/moonlander.c @@ -169,95 +169,95 @@ const rgb_led g_rgb_leds[DRIVER_LED_TOTAL] = { | {x=0..224, y=0..64} | | modifier | | | */ - {{0|(0<<4)}, {20.36*0, 21.33*0}, 1}, - {{1|(0<<4)}, {20.36*1, 21.33*0}, 0}, - {{2|(0<<4)}, {20.36*2, 21.33*0}, 0}, - {{3|(0<<4)}, {20.36*3, 21.33*0}, 0}, - {{4|(0<<4)}, {20.36*4, 21.33*0}, 0}, + {{0|(0<<4)}, {17.23*0, 21.33*0}, 1}, + {{1|(0<<4)}, {17.23*0, 21.33*1}, 0}, + {{2|(0<<4)}, {17.23*0, 21.33*2}, 0}, + {{3|(0<<4)}, {17.23*0, 21.33*3}, 0}, + {{4|(0<<4)}, {17.23*0, 21.33*4}, 0}, - {{0|(1<<4)}, {20.36*5, 21.33*0}, 0}, - {{1|(1<<4)}, {20.36*6, 21.33*0}, 0}, - {{2|(1<<4)}, {20.36*7, 21.33*0}, 0}, - {{3|(1<<4)}, {20.36*8, 21.33*0}, 0}, - {{4|(1<<4)}, {20.36*9, 21.33*0}, 0}, + {{0|(1<<4)}, {17.23*1, 21.33*0}, 0}, + {{1|(1<<4)}, {17.23*1, 21.33*1}, 0}, + {{2|(1<<4)}, {17.23*1, 21.33*2}, 0}, + {{3|(1<<4)}, {17.23*1, 21.33*3}, 0}, + {{4|(1<<4)}, {17.23*1, 21.33*4}, 0}, - {{0|(2<<4)}, {20.36*5, 21.33*0}, 0}, - {{1|(2<<4)}, {20.36*6, 21.33*0}, 0}, - {{2|(2<<4)}, {20.36*7, 21.33*0}, 0}, - {{3|(2<<4)}, {20.36*8, 21.33*0}, 0}, - {{4|(2<<4)}, {20.36*9, 21.33*0}, 0}, + {{0|(2<<4)}, {17.23*2, 21.33*0}, 0}, + {{1|(2<<4)}, {17.23*2, 21.33*1}, 0}, + {{2|(2<<4)}, {17.23*2, 21.33*2}, 0}, + {{3|(2<<4)}, {17.23*2, 21.33*3}, 0}, + {{4|(2<<4)}, {17.23*2, 21.33*4}, 0}, - {{0|(3<<4)}, {20.36*5, 21.33*0}, 0}, - {{1|(3<<4)}, {20.36*6, 21.33*0}, 0}, - {{2|(3<<4)}, {20.36*7, 21.33*0}, 0}, - {{3|(3<<4)}, {20.36*8, 21.33*0}, 0}, - {{4|(3<<4)}, {20.36*9, 21.33*0}, 0}, + {{0|(3<<4)}, {17.23*3, 21.33*0}, 0}, + {{1|(3<<4)}, {17.23*3, 21.33*1}, 0}, + {{2|(3<<4)}, {17.23*3, 21.33*2}, 0}, + {{3|(3<<4)}, {17.23*3, 21.33*3}, 0}, + {{4|(3<<4)}, {17.23*3, 21.33*4}, 0}, - {{0|(4<<4)}, {20.36*5, 21.33*0}, 0}, - {{1|(4<<4)}, {20.36*6, 21.33*0}, 0}, - {{2|(4<<4)}, {20.36*7, 21.33*0}, 0}, - {{3|(4<<4)}, {20.36*8, 21.33*0}, 0}, - {{4|(4<<4)}, {20.36*9, 21.33*0}, 0}, + {{0|(4<<4)}, {17.23*4, 21.33*0}, 0}, + {{1|(4<<4)}, {17.23*4, 21.33*1}, 0}, + {{2|(4<<4)}, {17.23*4, 21.33*2}, 0}, + {{3|(4<<4)}, {17.23*4, 21.33*3}, 0}, + {{4|(4<<4)}, {17.23*4, 21.33*4}, 0}, - {{0|(5<<4)}, {20.36*5, 21.33*0}, 0}, - {{1|(5<<4)}, {20.36*6, 21.33*0}, 0}, - {{2|(5<<4)}, {20.36*7, 21.33*0}, 0}, - {{3|(5<<4)}, {20.36*8, 21.33*0}, 0}, + {{0|(5<<4)}, {17.23*5, 21.33*0}, 0}, + {{1|(5<<4)}, {17.23*5, 21.33*1}, 0}, + {{2|(5<<4)}, {17.23*5, 21.33*2}, 0}, + {{3|(5<<4)}, {17.23*5, 21.33*3}, 0}, - {{0|(6<<4)}, {20.36*5, 21.33*0}, 0}, - {{1|(6<<4)}, {20.36*6, 21.33*0}, 0}, - {{2|(6<<4)}, {20.36*7, 21.33*0}, 0}, + {{0|(6<<4)}, {17.23*6, 21.33*0}, 0}, + {{1|(6<<4)}, {17.23*6, 21.33*1}, 0}, + {{2|(6<<4)}, {17.23*6, 21.33*2}, 0}, // cluster - {{5|(0<<4)}, {20.36*5, 21.33*0}, 0}, - {{5|(1<<4)}, {20.36*6, 21.33*0}, 0}, - {{5|(2<<4)}, {20.36*7, 21.33*0}, 0}, + {{5|(0<<4)}, {17.23*5.5, 21.33*4}, 0}, + {{5|(1<<4)}, {17.23*6.0, 21.33*5}, 0}, + {{5|(2<<4)}, {17.23*6.5, 21.33*6}, 0}, - {{0|(0<<4)}, {20.36*0, 21.33*0}, 1}, - {{1|(0<<4)}, {20.36*1, 21.33*0}, 0}, - {{2|(0<<4)}, {20.36*2, 21.33*0}, 0}, - {{3|(0<<4)}, {20.36*3, 21.33*0}, 0}, - {{4|(0<<4)}, {20.36*4, 21.33*0}, 0}, + {{0|(0<<4)}, {17.23*13, 21.33*0}, 1}, + {{1|(0<<4)}, {17.23*13, 21.33*1}, 0}, + {{2|(0<<4)}, {17.23*13, 21.33*2}, 0}, + {{3|(0<<4)}, {17.23*13, 21.33*3}, 0}, + {{4|(0<<4)}, {17.23*13, 21.33*4}, 0}, - {{0|(1<<4)}, {20.36*5, 21.33*0}, 0}, - {{1|(1<<4)}, {20.36*6, 21.33*0}, 0}, - {{2|(1<<4)}, {20.36*7, 21.33*0}, 0}, - {{3|(1<<4)}, {20.36*8, 21.33*0}, 0}, - {{4|(1<<4)}, {20.36*9, 21.33*0}, 0}, + {{0|(1<<4)}, {17.23*12, 21.33*0}, 0}, + {{1|(1<<4)}, {17.23*12, 21.33*1}, 0}, + {{2|(1<<4)}, {17.23*12, 21.33*2}, 0}, + {{3|(1<<4)}, {17.23*12, 21.33*3}, 0}, + {{4|(1<<4)}, {17.23*12, 21.33*4}, 0}, - {{0|(2<<4)}, {20.36*5, 21.33*0}, 0}, - {{1|(2<<4)}, {20.36*6, 21.33*0}, 0}, - {{2|(2<<4)}, {20.36*7, 21.33*0}, 0}, - {{3|(2<<4)}, {20.36*8, 21.33*0}, 0}, - {{4|(2<<4)}, {20.36*9, 21.33*0}, 0}, + {{0|(2<<4)}, {17.23*11, 21.33*0}, 0}, + {{1|(2<<4)}, {17.23*11, 21.33*1}, 0}, + {{2|(2<<4)}, {17.23*11, 21.33*2}, 0}, + {{3|(2<<4)}, {17.23*11, 21.33*3}, 0}, + {{4|(2<<4)}, {17.23*11, 21.33*4}, 0}, - {{0|(3<<4)}, {20.36*5, 21.33*0}, 0}, - {{1|(3<<4)}, {20.36*6, 21.33*0}, 0}, - {{2|(3<<4)}, {20.36*7, 21.33*0}, 0}, - {{3|(3<<4)}, {20.36*8, 21.33*0}, 0}, - {{4|(3<<4)}, {20.36*9, 21.33*0}, 0}, + {{0|(3<<4)}, {17.23*10, 21.33*0}, 0}, + {{1|(3<<4)}, {17.23*10, 21.33*1}, 0}, + {{2|(3<<4)}, {17.23*10, 21.33*2}, 0}, + {{3|(3<<4)}, {17.23*10, 21.33*3}, 0}, + {{4|(3<<4)}, {17.23*10, 21.33*4}, 0}, - {{0|(4<<4)}, {20.36*5, 21.33*0}, 0}, - {{1|(4<<4)}, {20.36*6, 21.33*0}, 0}, - {{2|(4<<4)}, {20.36*7, 21.33*0}, 0}, - {{3|(4<<4)}, {20.36*8, 21.33*0}, 0}, - {{4|(4<<4)}, {20.36*9, 21.33*0}, 0}, + {{0|(4<<4)}, {17.23*9, 21.33*0}, 0}, + {{1|(4<<4)}, {17.23*9, 21.33*1}, 0}, + {{2|(4<<4)}, {17.23*9, 21.33*2}, 0}, + {{3|(4<<4)}, {17.23*9, 21.33*3}, 0}, + {{4|(4<<4)}, {17.23*9, 21.33*4}, 0}, - {{0|(5<<4)}, {20.36*5, 21.33*0}, 0}, - {{1|(5<<4)}, {20.36*6, 21.33*0}, 0}, - {{2|(5<<4)}, {20.36*7, 21.33*0}, 0}, - {{3|(5<<4)}, {20.36*8, 21.33*0}, 0}, + {{0|(5<<4)}, {17.23*8, 21.33*0}, 0}, + {{1|(5<<4)}, {17.23*8, 21.33*1}, 0}, + {{2|(5<<4)}, {17.23*8, 21.33*2}, 0}, + {{3|(5<<4)}, {17.23*8, 21.33*3}, 0}, - {{0|(6<<4)}, {20.36*5, 21.33*0}, 0}, - {{1|(6<<4)}, {20.36*6, 21.33*0}, 0}, - {{2|(6<<4)}, {20.36*7, 21.33*0}, 0}, + {{0|(6<<4)}, {17.23*7, 21.33*0}, 0}, + {{1|(6<<4)}, {17.23*7, 21.33*1}, 0}, + {{2|(6<<4)}, {17.23*7, 21.33*2}, 0}, // cluster - {{5|(0<<4)}, {20.36*5, 21.33*0}, 0}, - {{5|(1<<4)}, {20.36*6, 21.33*0}, 0}, - {{5|(2<<4)}, {20.36*7, 21.33*0}, 0}, + {{5|(0<<4)}, {17.23*7.5, 21.33*4}, 0}, + {{5|(1<<4)}, {17.23*7.0, 21.33*5}, 0}, + {{5|(2<<4)}, {17.23*6.5, 21.33*6}, 0}, };