aboutsummaryrefslogtreecommitdiff
path: root/keyboards/kapl/rev1/rev1.c
diff options
context:
space:
mode:
authorAlexander <7888825+keyzog@users.noreply.github.com>2022-02-09 08:19:54 +0300
committerGitHub <noreply@github.com>2022-02-08 21:19:54 -0800
commit71a48a01023449f9559f41d751fbedbdadfb1c46 (patch)
tree57dc40753045528a0ceab3cac3089eee5f2292d9 /keyboards/kapl/rev1/rev1.c
parent04020da48cef186cd58f7782a090116f90ca2008 (diff)
downloadqmk_firmware-71a48a01023449f9559f41d751fbedbdadfb1c46.tar.gz
qmk_firmware-71a48a01023449f9559f41d751fbedbdadfb1c46.zip
[Keyboard] Add Kapl (#16255)
Co-authored-by: Drashna Jaelre <drashna@live.com> Co-authored-by: Ryan <fauxpark@gmail.com>
Diffstat (limited to 'keyboards/kapl/rev1/rev1.c')
-rw-r--r--keyboards/kapl/rev1/rev1.c55
1 files changed, 55 insertions, 0 deletions
diff --git a/keyboards/kapl/rev1/rev1.c b/keyboards/kapl/rev1/rev1.c
new file mode 100644
index 000000000..b51021307
--- /dev/null
+++ b/keyboards/kapl/rev1/rev1.c
@@ -0,0 +1,55 @@
1// Copyright 2022 Alexander Lozyuk (@keyzog)
2// SPDX-License-Identifier: GPL-2.0-or-later
3#include "kapl.h"
4
5#ifdef RGB_MATRIX_ENABLE
6led_config_t g_led_config = { {
7 // Left Hand
8 // { 8, 7, 6, 5, 4, 3, 2, 1, 0 }, // underglow
9 { 9, 10, 11, 12, 13, 14, 15 },
10 { 22, 21, 20, 19, 18, 17, 16 },
11 { 23, 24, 25, 26, 27, 28, 29 },
12 { 36, 35, 34, 33, 32, 31, 30 },
13 { 37, 38, 39, 40, 41, 42, 43 },
14
15 // Right Hand
16 // { 44, 45, 46, 47, 48, 49, 50, 51, 52 }, // underglow
17 { 53, 54, 55, 56, 57, 58, 59 },
18 { 66, 65, 64, 63, 62, 61, 60 },
19 { 67, 68, 69, 70, 71, 72, 73 },
20 { 80, 79, 78, 77, 76, 75, 74 },
21 { 81, 82, 83, 84, 85, 86, 87 }
22}, {
23 // Left Hand
24 {96, 57}, {112, 44}, {112, 19}, {80, 19}, {48, 19}, {16, 19}, {16, 57}, {48, 57}, {80, 57}, // underglow
25 {0, 0}, {17, 0}, {34, 0}, {52, 0}, {69, 0}, {86, 0}, {103, 0},
26 {103, 16}, {86, 16}, {69, 16}, {52, 16}, {34, 16}, {17, 16}, {0, 16},
27 {0, 32}, {17, 32}, {34, 32}, {52, 32}, {69, 32}, {86, 32}, {103, 32},
28 {103, 48}, {86, 48}, {69, 48}, {52, 48}, {34, 48}, {17, 48}, {0, 48},
29 {0, 64}, {17, 64}, {34, 64}, {52, 64}, {69, 64}, {86, 64}, {103, 64},
30
31 // Right Hand
32 {144, 57}, {128, 44}, {128, 19}, {160, 19}, {192, 19}, {224, 19}, {224, 57}, {192, 57}, {160, 57}, // underglow
33 {224, 0}, {207, 0}, {190, 0}, {172, 0}, {155, 0}, {138, 0}, {121, 0},
34 {121, 16}, {138, 16}, {155, 16}, {172, 16}, {190, 16}, {207, 16}, {224, 16},
35 {224, 32}, {207, 32}, {190, 32}, {172, 32}, {155, 32}, {138, 32}, {121, 32},
36 {121, 48}, {138, 48}, {155, 48}, {172, 48}, {190, 48}, {207, 48}, {224, 48},
37 {224, 64}, {207, 64}, {190, 64}, {172, 64}, {155, 64}, {138, 64}, {121, 64}
38}, {
39 // Left Hand
40 2, 2, 2, 2, 2, 2, 2, 2, 2, // underglow
41 1, 4, 4, 4, 4, 4, 1,
42 1, 4, 4, 4, 4, 4, 1,
43 1, 4, 4, 4, 4, 4, 1,
44 1, 4, 4, 4, 4, 4, 1,
45 1, 1, 1, 1, 1, 1, 1,
46
47 // Right Hand
48 2, 2, 2, 2, 2, 2, 2, 2, 2, // underglow
49 1, 4, 4, 4, 4, 4, 1,
50 1, 4, 4, 4, 4, 4, 1,
51 1, 4, 4, 4, 4, 4, 1,
52 1, 4, 4, 4, 4, 4, 1,
53 1, 1, 1, 1, 1, 1, 1
54} };
55#endif