aboutsummaryrefslogtreecommitdiff
path: root/keyboards/rgbkb/zygomorph
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/rgbkb/zygomorph')
-rw-r--r--keyboards/rgbkb/zygomorph/keymaps/xulkal/rules.mk14
-rw-r--r--keyboards/rgbkb/zygomorph/rev1/config.h4
-rw-r--r--keyboards/rgbkb/zygomorph/rev1/rev1.c102
3 files changed, 49 insertions, 71 deletions
diff --git a/keyboards/rgbkb/zygomorph/keymaps/xulkal/rules.mk b/keyboards/rgbkb/zygomorph/keymaps/xulkal/rules.mk
index 78969ad7a..d7d50e137 100644
--- a/keyboards/rgbkb/zygomorph/keymaps/xulkal/rules.mk
+++ b/keyboards/rgbkb/zygomorph/keymaps/xulkal/rules.mk
@@ -8,11 +8,13 @@ EXTRAKEY_ENABLE = yes # Audio control and System control
8CONSOLE_ENABLE = no # Console for debug 8CONSOLE_ENABLE = no # Console for debug
9COMMAND_ENABLE = no # Commands for debug and configuration 9COMMAND_ENABLE = no # Commands for debug and configuration
10NKRO_ENABLE = no # Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work 10NKRO_ENABLE = no # Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
11RGBLIGHT_ENABLE = yes # Enable global lighting effects. Do not enable with RGB Matrix 11RGBLIGHT_ENABLE = no # Enable global lighting effects. Do not enable with RGB Matrix
12RGBLIGHT_ANIMATIONS = yes # LED animations 12RGBLIGHT_ANIMATIONS = no # LED animations
13RGBLIGHT_SPLIT_ENABLE = yes # Split RGBLight Support 13RGBLIGHT_SPLIT_ENABLE = no # Split RGBLight Support
14RGB_MATRIX_ENABLE = no # Enable per-key coordinate based RGB effects. Do not enable with RGBlight 14RGB_MATRIX_ENABLE = yes # Enable per-key coordinate based RGB effects. Do not enable with RGBlight
15RGB_MATRIX_DRIVER = WS2812
15RGB_MATRIX_KEYPRESSES = no # Enable reactive per-key effects. 16RGB_MATRIX_KEYPRESSES = no # Enable reactive per-key effects.
17SPLIT_RGB_MATRIX_ENABLE = yes # For split RGB Matrix support
16RGBLIGHT_FULL_POWER = yes # Allow maximum RGB brightness. Otherwise, limited to a safe level for a normal USB-A port 18RGBLIGHT_FULL_POWER = yes # Allow maximum RGB brightness. Otherwise, limited to a safe level for a normal USB-A port
17UNICODE_ENABLE = no # Unicode 19UNICODE_ENABLE = no # Unicode
18SWAP_HANDS_ENABLE = no # Enable one-hand typing 20SWAP_HANDS_ENABLE = no # Enable one-hand typing
@@ -40,3 +42,7 @@ endif
40ifeq ($(strip $(RGBLIGHT_SPLIT_ENABLE)), yes) 42ifeq ($(strip $(RGBLIGHT_SPLIT_ENABLE)), yes)
41 OPT_DEFS += -DRGBLIGHT_SPLIT_ENABLE 43 OPT_DEFS += -DRGBLIGHT_SPLIT_ENABLE
42endif 44endif
45
46ifeq ($(strip $(SPLIT_RGB_MATRIX_ENABLE)), yes)
47 OPT_DEFS += -DSPLIT_TRANSPORT_MIRROR
48endif
diff --git a/keyboards/rgbkb/zygomorph/rev1/config.h b/keyboards/rgbkb/zygomorph/rev1/config.h
index 667b68f73..190a8bbe3 100644
--- a/keyboards/rgbkb/zygomorph/rev1/config.h
+++ b/keyboards/rgbkb/zygomorph/rev1/config.h
@@ -55,7 +55,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
55 #define RGBLED_NUM 60 55 #define RGBLED_NUM 60
56 #define RGBLED_SPLIT { 30, 30 } 56 #define RGBLED_SPLIT { 30, 30 }
57#endif 57#endif
58#define DRIVER_LED_TOTAL 30 58
59#define DRIVER_LED_TOTAL 60
60#define RGB_MATRIX_SPLIT { 30, 30 }
59 61
60#ifdef IOS_DEVICE_ENABLE 62#ifdef IOS_DEVICE_ENABLE
61 #define RGBLIGHT_LIMIT_VAL 40 63 #define RGBLIGHT_LIMIT_VAL 40
diff --git a/keyboards/rgbkb/zygomorph/rev1/rev1.c b/keyboards/rgbkb/zygomorph/rev1/rev1.c
index 3edf48c5d..1fb1716a0 100644
--- a/keyboards/rgbkb/zygomorph/rev1/rev1.c
+++ b/keyboards/rgbkb/zygomorph/rev1/rev1.c
@@ -2,72 +2,42 @@
2 2
3 3
4#ifdef RGB_MATRIX_ENABLE 4#ifdef RGB_MATRIX_ENABLE
5#define RGB_LEFT_HAND { { 0 | ( 5 << 4) }, { 102, 0 }, 4}, \ 5led_config_t g_led_config = { {
6 { { 0 | ( 4 << 4) }, { 81, 0 }, 4}, \ 6 { 5, 4, 3, 2, 1, 0 },
7 { { 0 | ( 3 << 4) }, { 61, 0 }, 4}, \ 7 { 11, 10, 9, 8, 7, 6 },
8 { { 0 | ( 2 << 4) }, { 41, 0 }, 4}, \ 8 { 17, 16, 15, 14, 13, 12 },
9 { { 0 | ( 1 << 4) }, { 20, 0 }, 4}, \ 9 { 23, 22, 21, 20, 19, 18 },
10 { { 0 | ( 0 << 4) }, { 0, 0 }, 1}, \ 10 { 29, 28, 27, 26, 25, 24 },
11 { { 1 | ( 5 << 4) }, { 102, 16 }, 4}, \ 11 { 35, 34, 33, 32, 31, 30 },
12 { { 1 | ( 4 << 4) }, { 81, 16 }, 4}, \ 12 { 41, 40, 39, 38, 37, 36 },
13 { { 1 | ( 3 << 4) }, { 61, 16 }, 4}, \ 13 { 47, 46, 45, 44, 43, 42 },
14 { { 1 | ( 2 << 4) }, { 41, 16 }, 4}, \ 14 { 53, 52, 51, 50, 49, 48 },
15 { { 1 | ( 1 << 4) }, { 20, 16 }, 4}, \ 15 { 59, 58, 57, 56, 55, 54 }
16 { { 1 | ( 0 << 4) }, { 0, 16 }, 1}, \ 16}, {
17 { { 2 | ( 5 << 4) }, { 102, 32 }, 4}, \ 17// Left Hand
18 { { 2 | ( 4 << 4) }, { 81, 32 }, 4}, \ 18 { 102, 0 }, { 81, 0 }, { 61, 0 }, { 41, 0 }, { 20, 0 }, { 0, 0 },
19 { { 2 | ( 3 << 4) }, { 61, 32 }, 4}, \ 19 { 102, 16 }, { 81, 16 }, { 61, 16 }, { 41, 16 }, { 20, 16 }, { 0, 16 },
20 { { 2 | ( 2 << 4) }, { 41, 32 }, 4}, \ 20 { 102, 32 }, { 81, 32 }, { 61, 32 }, { 41, 32 }, { 20, 32 }, { 0, 32 },
21 { { 2 | ( 1 << 4) }, { 20, 32 }, 4}, \ 21 { 102, 48 }, { 81, 48 }, { 61, 48 }, { 41, 48 }, { 20, 48 }, { 0, 48 },
22 { { 2 | ( 0 << 4) }, { 0, 32 }, 1}, \ 22 { 102, 64 }, { 81, 64 }, { 61, 64 }, { 41, 64 }, { 20, 64 }, { 0, 64 },
23 { { 3 | ( 5 << 4) }, { 102, 48 }, 4}, \ 23// Right Hand
24 { { 3 | ( 4 << 4) }, { 81, 48 }, 4}, \ 24 { 224, 0 }, { 204, 0 }, { 183, 0 }, { 163, 0 }, { 143, 0 }, { 122, 0 },
25 { { 3 | ( 3 << 4) }, { 61, 48 }, 4}, \ 25 { 224, 16 }, { 204, 16 }, { 183, 16 }, { 163, 16 }, { 143, 16 }, { 122, 16 },
26 { { 3 | ( 2 << 4) }, { 41, 48 }, 4}, \ 26 { 224, 32 }, { 204, 32 }, { 183, 32 }, { 163, 32 }, { 143, 32 }, { 122, 32 },
27 { { 3 | ( 1 << 4) }, { 20, 48 }, 4}, \ 27 { 224, 48 }, { 204, 48 }, { 183, 48 }, { 163, 48 }, { 143, 48 }, { 122, 48 },
28 { { 3 | ( 0 << 4) }, { 0, 48 }, 1}, \ 28 { 224, 64 }, { 204, 64 }, { 183, 64 }, { 163, 64 }, { 143, 64 }, { 122, 64 }
29 { { 4 | ( 5 << 4) }, { 102, 64 }, 1}, \ 29}, {
30 { { 4 | ( 4 << 4) }, { 81, 64 }, 1}, \
31 { { 4 | ( 3 << 4) }, { 61, 64 }, 1}, \
32 { { 4 | ( 2 << 4) }, { 41, 64 }, 1}, \
33 { { 4 | ( 1 << 4) }, { 20, 64 }, 1}, \
34 { { 4 | ( 0 << 4) }, { 0, 64 }, 1}
35
36#define RGB_RIGHT_HAND { { 0 | (11 << 4) }, { 224, 0 }, 1}, \
37 { { 0 | (10 << 4) }, { 204, 0 }, 4}, \
38 { { 0 | ( 9 << 4) }, { 183, 0 }, 4}, \
39 { { 0 | ( 8 << 4) }, { 163, 0 }, 4}, \
40 { { 0 | ( 7 << 4) }, { 143, 0 }, 4}, \
41 { { 0 | ( 6 << 4) }, { 122, 0 }, 4}, \
42 { { 1 | (11 << 4) }, { 224, 16 }, 1}, \
43 { { 1 | (10 << 4) }, { 204, 16 }, 4}, \
44 { { 1 | ( 9 << 4) }, { 183, 16 }, 4}, \
45 { { 1 | ( 8 << 4) }, { 163, 16 }, 4}, \
46 { { 1 | ( 7 << 4) }, { 143, 16 }, 4}, \
47 { { 1 | ( 6 << 4) }, { 122, 16 }, 4}, \
48 { { 2 | (11 << 4) }, { 224, 32 }, 1}, \
49 { { 2 | (10 << 4) }, { 204, 32 }, 4}, \
50 { { 2 | ( 9 << 4) }, { 183, 32 }, 4}, \
51 { { 2 | ( 8 << 4) }, { 163, 32 }, 4}, \
52 { { 2 | ( 7 << 4) }, { 143, 32 }, 4}, \
53 { { 2 | ( 6 << 4) }, { 122, 32 }, 4}, \
54 { { 3 | (11 << 4) }, { 224, 48 }, 1}, \
55 { { 3 | (10 << 4) }, { 204, 48 }, 4}, \
56 { { 3 | ( 9 << 4) }, { 183, 48 }, 4}, \
57 { { 3 | ( 8 << 4) }, { 163, 48 }, 4}, \
58 { { 3 | ( 7 << 4) }, { 143, 48 }, 4}, \
59 { { 3 | ( 6 << 4) }, { 122, 48 }, 4}, \
60 { { 4 | (11 << 4) }, { 224, 64 }, 1}, \
61 { { 4 | (10 << 4) }, { 204, 64 }, 1}, \
62 { { 4 | ( 9 << 4) }, { 183, 64 }, 1}, \
63 { { 4 | ( 8 << 4) }, { 163, 64 }, 1}, \
64 { { 4 | ( 7 << 4) }, { 143, 64 }, 1}, \
65 { { 4 | ( 6 << 4) }, { 122, 64 }, 1}
66
67rgb_led g_rgb_leds[DRIVER_LED_TOTAL] = {
68// Left Hand 30// Left Hand
69RGB_LEFT_HAND 31 4, 4, 4, 4, 4, 1,
32 4, 4, 4, 4, 4, 1,
33 4, 4, 4, 4, 4, 1,
34 4, 4, 4, 4, 4, 1,
35 1, 1, 1, 1, 1, 1,
70// Right Hand 36// Right Hand
71//RGB_RIGHT_HAND 37 4, 4, 4, 4, 4, 4,
72}; 38 1, 4, 4, 4, 4, 4,
39 1, 4, 4, 4, 4, 4,
40 1, 4, 4, 4, 4, 4,
41 1, 1, 1, 1, 1, 1
42} };
73#endif 43#endif