summaryrefslogtreecommitdiff
path: root/keyboards/rgbkb/zygomorph/rev1/rev1.c
diff options
context:
space:
mode:
authorXScorpion2 <rcalt2vt@gmail.com>2019-05-14 13:58:56 -0500
committerDrashna Jaelre <drashna@live.com>2019-05-14 11:58:56 -0700
commit4cdb86c730528c8ca5ff90f5b9b01c395d31fc0e (patch)
treee7d20a62af90342ba4dc59d769b46aec01b5c31a /keyboards/rgbkb/zygomorph/rev1/rev1.c
parente8b27a965d4f6abcc2773022f451bdc7eabebf69 (diff)
[Keyboard] Create RGBKB Folder (#5858)
* Move Sol, Zen, & Zygomorph keyboards to RGBKB folder * Updated default keymaps * Fixing more areas due too folder moves * Fixing Zen layer numbers * Fixing zygomorph layer comments * Fixing Colmak comments * Fixing Sol Colmak readme * Macro alignment * Zen rev2 configuration json * Fixing sol ifdef * Fixing Sol info.json
Diffstat (limited to 'keyboards/rgbkb/zygomorph/rev1/rev1.c')
-rw-r--r--keyboards/rgbkb/zygomorph/rev1/rev1.c73
1 files changed, 73 insertions, 0 deletions
diff --git a/keyboards/rgbkb/zygomorph/rev1/rev1.c b/keyboards/rgbkb/zygomorph/rev1/rev1.c
new file mode 100644
index 0000000000..3edf48c5d5
--- /dev/null
+++ b/keyboards/rgbkb/zygomorph/rev1/rev1.c
@@ -0,0 +1,73 @@
+#include "zygomorph.h"
+
+
+#ifdef RGB_MATRIX_ENABLE
+#define RGB_LEFT_HAND { { 0 | ( 5 << 4) }, { 102, 0 }, 4}, \
+ { { 0 | ( 4 << 4) }, { 81, 0 }, 4}, \
+ { { 0 | ( 3 << 4) }, { 61, 0 }, 4}, \
+ { { 0 | ( 2 << 4) }, { 41, 0 }, 4}, \
+ { { 0 | ( 1 << 4) }, { 20, 0 }, 4}, \
+ { { 0 | ( 0 << 4) }, { 0, 0 }, 1}, \
+ { { 1 | ( 5 << 4) }, { 102, 16 }, 4}, \
+ { { 1 | ( 4 << 4) }, { 81, 16 }, 4}, \
+ { { 1 | ( 3 << 4) }, { 61, 16 }, 4}, \
+ { { 1 | ( 2 << 4) }, { 41, 16 }, 4}, \
+ { { 1 | ( 1 << 4) }, { 20, 16 }, 4}, \
+ { { 1 | ( 0 << 4) }, { 0, 16 }, 1}, \
+ { { 2 | ( 5 << 4) }, { 102, 32 }, 4}, \
+ { { 2 | ( 4 << 4) }, { 81, 32 }, 4}, \
+ { { 2 | ( 3 << 4) }, { 61, 32 }, 4}, \
+ { { 2 | ( 2 << 4) }, { 41, 32 }, 4}, \
+ { { 2 | ( 1 << 4) }, { 20, 32 }, 4}, \
+ { { 2 | ( 0 << 4) }, { 0, 32 }, 1}, \
+ { { 3 | ( 5 << 4) }, { 102, 48 }, 4}, \
+ { { 3 | ( 4 << 4) }, { 81, 48 }, 4}, \
+ { { 3 | ( 3 << 4) }, { 61, 48 }, 4}, \
+ { { 3 | ( 2 << 4) }, { 41, 48 }, 4}, \
+ { { 3 | ( 1 << 4) }, { 20, 48 }, 4}, \
+ { { 3 | ( 0 << 4) }, { 0, 48 }, 1}, \
+ { { 4 | ( 5 << 4) }, { 102, 64 }, 1}, \
+ { { 4 | ( 4 << 4) }, { 81, 64 }, 1}, \
+ { { 4 | ( 3 << 4) }, { 61, 64 }, 1}, \
+ { { 4 | ( 2 << 4) }, { 41, 64 }, 1}, \
+ { { 4 | ( 1 << 4) }, { 20, 64 }, 1}, \
+ { { 4 | ( 0 << 4) }, { 0, 64 }, 1}
+
+#define RGB_RIGHT_HAND { { 0 | (11 << 4) }, { 224, 0 }, 1}, \
+ { { 0 | (10 << 4) }, { 204, 0 }, 4}, \
+ { { 0 | ( 9 << 4) }, { 183, 0 }, 4}, \
+ { { 0 | ( 8 << 4) }, { 163, 0 }, 4}, \
+ { { 0 | ( 7 << 4) }, { 143, 0 }, 4}, \
+ { { 0 | ( 6 << 4) }, { 122, 0 }, 4}, \
+ { { 1 | (11 << 4) }, { 224, 16 }, 1}, \
+ { { 1 | (10 << 4) }, { 204, 16 }, 4}, \
+ { { 1 | ( 9 << 4) }, { 183, 16 }, 4}, \
+ { { 1 | ( 8 << 4) }, { 163, 16 }, 4}, \
+ { { 1 | ( 7 << 4) }, { 143, 16 }, 4}, \
+ { { 1 | ( 6 << 4) }, { 122, 16 }, 4}, \
+ { { 2 | (11 << 4) }, { 224, 32 }, 1}, \
+ { { 2 | (10 << 4) }, { 204, 32 }, 4}, \
+ { { 2 | ( 9 << 4) }, { 183, 32 }, 4}, \
+ { { 2 | ( 8 << 4) }, { 163, 32 }, 4}, \
+ { { 2 | ( 7 << 4) }, { 143, 32 }, 4}, \
+ { { 2 | ( 6 << 4) }, { 122, 32 }, 4}, \
+ { { 3 | (11 << 4) }, { 224, 48 }, 1}, \
+ { { 3 | (10 << 4) }, { 204, 48 }, 4}, \
+ { { 3 | ( 9 << 4) }, { 183, 48 }, 4}, \
+ { { 3 | ( 8 << 4) }, { 163, 48 }, 4}, \
+ { { 3 | ( 7 << 4) }, { 143, 48 }, 4}, \
+ { { 3 | ( 6 << 4) }, { 122, 48 }, 4}, \
+ { { 4 | (11 << 4) }, { 224, 64 }, 1}, \
+ { { 4 | (10 << 4) }, { 204, 64 }, 1}, \
+ { { 4 | ( 9 << 4) }, { 183, 64 }, 1}, \
+ { { 4 | ( 8 << 4) }, { 163, 64 }, 1}, \
+ { { 4 | ( 7 << 4) }, { 143, 64 }, 1}, \
+ { { 4 | ( 6 << 4) }, { 122, 64 }, 1}
+
+rgb_led g_rgb_leds[DRIVER_LED_TOTAL] = {
+// Left Hand
+RGB_LEFT_HAND
+// Right Hand
+//RGB_RIGHT_HAND
+};
+#endif