]> git.donarmstrong.com Git - kiibohd-controller.git/blob - Scan/MDErgo1/led_conf.h
Merge branch 'master' of github.com:kiibohd/controller
[kiibohd-controller.git] / Scan / MDErgo1 / led_conf.h
1 /* Copyright (C) 2015 by Jacob Alexander
2  *
3  * Permission is hereby granted, free of charge, to any person obtaining a copy
4  * of this software and associated documentation files (the "Software"), to deal
5  * in the Software without restriction, including without limitation the rights
6  * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
7  * copies of the Software, and to permit persons to whom the Software is
8  * furnished to do so, subject to the following conditions:
9  *
10  * The above copyright notice and this permission notice shall be included in
11  * all copies or substantial portions of the Software.
12  *
13  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14  * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15  * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16  * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17  * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
18  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
19  * THE SOFTWARE.
20  */
21
22 #pragma once
23
24
25 // ----- Variables -----
26
27 // A bit mask determining which LEDs are enabled in the ISSI chip
28 // Infinity ErgoDox full mask
29 // 0x00 -> 0x11
30 /*
31 const uint8_t LED_ledEnableMask[] = {
32 0xE8, // I2C address
33 0x00, // Starting register address
34 0x37, 0x37, // C1-1 -> C1-16
35 0xBF, 0xBF, // C2-1 -> C2-16
36 0xFF, 0xFF, // C3-1 -> C3-16
37 0xEF, 0xEF, // C4-1 -> C4-16
38 0xF7, 0xF7, // C5-1 -> C5-16
39 0xFF, 0xFF, // C6-1 -> C6-16
40 0xF3, 0xF3, // C7-1 -> C7-16
41 0x6C, 0x6C, // C8-1 -> C8-16
42 0x24, 0x24, // C9-1 -> C9-16
43 };
44 */
45 /*
46 const uint8_t LED_ledEnableMask[] = {
47 0xE8, // I2C address
48 0x00, // Starting register address
49 0x00, 0x00, // C1-1 -> C1-16
50 //0xEC, 0xEC, // C1-1 -> C1-16
51 //0xFD, 0xFD, // C2-1 -> C2-16
52 0x00, 0x00, // C3-1 -> C3-16
53 0x00, 0x00, // C4-1 -> C4-16
54 0x00, 0x00, // C5-1 -> C5-16
55 0x00, 0x00, // C6-1 -> C6-16
56 0x00, 0x00, // C7-1 -> C7-16
57 0x00, 0x00, // C8-1 -> C8-16
58 0x00, 0x00, // C9-1 -> C9-16
59 };
60 */
61 const uint8_t LED_ledEnableMask[] = {
62 0xE8, // I2C address
63 0x00, // Starting register address
64 0xFF, 0xFF, // C1-1 -> C1-16
65 0xFF, 0xFF, // C2-1 -> C2-16
66 0xFF, 0xFF, // C3-1 -> C3-16
67 0xFF, 0xFF, // C4-1 -> C4-16
68 0xFF, 0xFF, // C5-1 -> C5-16
69 0xFF, 0xFF, // C6-1 -> C6-16
70 0xFF, 0xFF, // C7-1 -> C7-16
71 0xFF, 0xFF, // C8-1 -> C8-16
72 0xFF, 0xFF, // C9-1 -> C9-16
73 };
74