Mercurial > louis > kiibohd-controller
annotate Scan/MDErgo1/defaultMap.kll @ 356:58d2c5bf95eb
Adding ISSILed API calls and default brightness
- Adds override functionality in main module
author | Jacob Alexander <haata@kiibohd.com> |
---|---|
date | Sun, 02 Aug 2015 16:28:21 -0700 |
parents | df78f3312db0 |
children | b4f66a698f36 |
rev | line source |
---|---|
349 | 1 Name = MDErgo1; |
356
58d2c5bf95eb
Adding ISSILed API calls and default brightness
Jacob Alexander <haata@kiibohd.com>
parents:
349
diff
changeset
|
2 Version = 0.2; |
349 | 3 Author = "HaaTa (Jacob Alexander) 2014"; |
356
58d2c5bf95eb
Adding ISSILed API calls and default brightness
Jacob Alexander <haata@kiibohd.com>
parents:
349
diff
changeset
|
4 KLL = 0.3c; |
349 | 5 |
6 # Modified Date | |
356
58d2c5bf95eb
Adding ISSILed API calls and default brightness
Jacob Alexander <haata@kiibohd.com>
parents:
349
diff
changeset
|
7 Date = 2015-08-02; |
349 | 8 |
9 | |
10 S0x00 : U"Esc"; | |
11 S0x01 : U"1"; | |
12 S0x02 : U"2"; | |
13 S0x03 : U"3"; | |
14 S0x04 : U"4"; | |
15 S0x05 : U"5"; | |
16 S0x06 : U"6"; | |
17 S0x07 : U"7"; | |
18 S0x08 : U"8"; | |
19 S0x09 : U"9"; | |
20 S0x0A : U"0"; | |
21 S0x0B : U"Minus"; | |
22 S0x0C : U"Equal"; | |
23 S0x0D : U"Backslash"; | |
24 S0x0E : U"Tab"; | |
25 S0x0F : U"Q"; | |
26 S0x10 : U"W"; | |
27 S0x11 : U"E"; | |
28 S0x12 : U"R"; | |
29 S0x13 : U"T"; | |
30 S0x14 : U"Y"; | |
31 S0x15 : U"U"; | |
32 S0x16 : U"I"; | |
33 S0x17 : U"O"; | |
34 S0x18 : U"P"; | |
35 S0x19 : U"LBrace"; | |
36 S0x1A : U"RBrace"; | |
37 S0x1B : U"Backspace"; | |
38 S0x1C : U"Ctrl"; | |
39 S0x1D : U"A"; | |
40 S0x1E : U"S"; | |
41 S0x1F : U"D"; | |
42 S0x20 : U"F"; | |
43 S0x21 : U"G"; | |
44 S0x22 : U"H"; | |
45 S0x23 : U"J"; | |
46 S0x24 : U"K"; | |
47 S0x25 : U"L"; | |
48 S0x26 : U"Semicolon"; | |
49 S0x27 : U"Quote"; | |
50 S0x28 : U"Enter"; | |
51 S0x29 : U"LShift"; | |
52 S0x2A : U"Z"; | |
53 S0x2B : U"X"; | |
54 S0x2C : U"C"; | |
55 S0x2D : U"V"; | |
56 S0x2E : U"B"; | |
57 S0x2F : U"N"; | |
58 S0x30 : U"M"; | |
59 S0x31 : U"Comma"; | |
60 S0x32 : U"Period"; | |
61 S0x33 : U"Slash"; | |
62 S0x34 : U"RShift"; | |
63 S0x35 : U"F1"; # Fun key | |
64 S0x36 : U"F2"; # Left Blank Key | |
65 S0x37 : U"LAlt"; | |
66 S0x38 : U"LGui"; | |
67 S0x39 : U"Space"; | |
68 S0x3A : U"RGui"; | |
69 S0x3B : U"RAlt"; | |
70 S0x3C : U"F3"; # Right Blank Key 1 | |
71 S0x3D : U"F4"; # Right Blank Key 2 | |
72 S0x3E : U"BackTick"; | |
73 | |
356
58d2c5bf95eb
Adding ISSILed API calls and default brightness
Jacob Alexander <haata@kiibohd.com>
parents:
349
diff
changeset
|
74 |
58d2c5bf95eb
Adding ISSILed API calls and default brightness
Jacob Alexander <haata@kiibohd.com>
parents:
349
diff
changeset
|
75 # Defines available to the MDErgo1 Scan Module |
58d2c5bf95eb
Adding ISSILed API calls and default brightness
Jacob Alexander <haata@kiibohd.com>
parents:
349
diff
changeset
|
76 |
58d2c5bf95eb
Adding ISSILed API calls and default brightness
Jacob Alexander <haata@kiibohd.com>
parents:
349
diff
changeset
|
77 # LED Default Enable Mask Override |
58d2c5bf95eb
Adding ISSILed API calls and default brightness
Jacob Alexander <haata@kiibohd.com>
parents:
349
diff
changeset
|
78 # |
58d2c5bf95eb
Adding ISSILed API calls and default brightness
Jacob Alexander <haata@kiibohd.com>
parents:
349
diff
changeset
|
79 # Each LED is represented by a single bit |
58d2c5bf95eb
Adding ISSILed API calls and default brightness
Jacob Alexander <haata@kiibohd.com>
parents:
349
diff
changeset
|
80 # See (http://www.issi.com/WW/pdf/31FL3731C.pdf) for details |
58d2c5bf95eb
Adding ISSILed API calls and default brightness
Jacob Alexander <haata@kiibohd.com>
parents:
349
diff
changeset
|
81 ISSILedMask1 => ISSILedMask1_define; |
58d2c5bf95eb
Adding ISSILed API calls and default brightness
Jacob Alexander <haata@kiibohd.com>
parents:
349
diff
changeset
|
82 ISSILedMask1 = " |
58d2c5bf95eb
Adding ISSILed API calls and default brightness
Jacob Alexander <haata@kiibohd.com>
parents:
349
diff
changeset
|
83 0xFF, 0x00, /* C1-1 -> C1-16 */ |
58d2c5bf95eb
Adding ISSILed API calls and default brightness
Jacob Alexander <haata@kiibohd.com>
parents:
349
diff
changeset
|
84 0xFF, 0x00, /* C2-1 -> C2-16 */ |
58d2c5bf95eb
Adding ISSILed API calls and default brightness
Jacob Alexander <haata@kiibohd.com>
parents:
349
diff
changeset
|
85 0xFF, 0x00, /* C3-1 -> C3-16 */ |
58d2c5bf95eb
Adding ISSILed API calls and default brightness
Jacob Alexander <haata@kiibohd.com>
parents:
349
diff
changeset
|
86 0xFF, 0x00, /* C4-1 -> C4-16 */ |
58d2c5bf95eb
Adding ISSILed API calls and default brightness
Jacob Alexander <haata@kiibohd.com>
parents:
349
diff
changeset
|
87 0xFC, 0x00, /* C5-1 -> C5-16 */ |
58d2c5bf95eb
Adding ISSILed API calls and default brightness
Jacob Alexander <haata@kiibohd.com>
parents:
349
diff
changeset
|
88 0x00, 0x00, /* C6-1 -> C6-16 */ |
58d2c5bf95eb
Adding ISSILed API calls and default brightness
Jacob Alexander <haata@kiibohd.com>
parents:
349
diff
changeset
|
89 0x00, 0x00, /* C7-1 -> C7-16 */ |
58d2c5bf95eb
Adding ISSILed API calls and default brightness
Jacob Alexander <haata@kiibohd.com>
parents:
349
diff
changeset
|
90 0x00, 0x00, /* C8-1 -> C8-16 */ |
58d2c5bf95eb
Adding ISSILed API calls and default brightness
Jacob Alexander <haata@kiibohd.com>
parents:
349
diff
changeset
|
91 0x00, 0x00, /* C9-1 -> C9-16 */ |
58d2c5bf95eb
Adding ISSILed API calls and default brightness
Jacob Alexander <haata@kiibohd.com>
parents:
349
diff
changeset
|
92 "; |
58d2c5bf95eb
Adding ISSILed API calls and default brightness
Jacob Alexander <haata@kiibohd.com>
parents:
349
diff
changeset
|
93 |
58d2c5bf95eb
Adding ISSILed API calls and default brightness
Jacob Alexander <haata@kiibohd.com>
parents:
349
diff
changeset
|
94 # LED Brightness Override |
58d2c5bf95eb
Adding ISSILed API calls and default brightness
Jacob Alexander <haata@kiibohd.com>
parents:
349
diff
changeset
|
95 # |
58d2c5bf95eb
Adding ISSILed API calls and default brightness
Jacob Alexander <haata@kiibohd.com>
parents:
349
diff
changeset
|
96 # Each LED channel supports 256 levels (8-bit control) |
58d2c5bf95eb
Adding ISSILed API calls and default brightness
Jacob Alexander <haata@kiibohd.com>
parents:
349
diff
changeset
|
97 ISSILedBrightness1 => ISSILedBrightness1_define; |
58d2c5bf95eb
Adding ISSILed API calls and default brightness
Jacob Alexander <haata@kiibohd.com>
parents:
349
diff
changeset
|
98 ISSILedBrightness1 = " |
58d2c5bf95eb
Adding ISSILed API calls and default brightness
Jacob Alexander <haata@kiibohd.com>
parents:
349
diff
changeset
|
99 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* C1-1 -> C1-16 */ |
58d2c5bf95eb
Adding ISSILed API calls and default brightness
Jacob Alexander <haata@kiibohd.com>
parents:
349
diff
changeset
|
100 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* C2-1 -> C2-16 */ |
58d2c5bf95eb
Adding ISSILed API calls and default brightness
Jacob Alexander <haata@kiibohd.com>
parents:
349
diff
changeset
|
101 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* C3-1 -> C3-16 */ |
58d2c5bf95eb
Adding ISSILed API calls and default brightness
Jacob Alexander <haata@kiibohd.com>
parents:
349
diff
changeset
|
102 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* C4-1 -> C4-16 */ |
58d2c5bf95eb
Adding ISSILed API calls and default brightness
Jacob Alexander <haata@kiibohd.com>
parents:
349
diff
changeset
|
103 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* C5-1 -> C5-16 */ |
58d2c5bf95eb
Adding ISSILed API calls and default brightness
Jacob Alexander <haata@kiibohd.com>
parents:
349
diff
changeset
|
104 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* C6-1 -> C6-16 */ |
58d2c5bf95eb
Adding ISSILed API calls and default brightness
Jacob Alexander <haata@kiibohd.com>
parents:
349
diff
changeset
|
105 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* C7-1 -> C7-16 */ |
58d2c5bf95eb
Adding ISSILed API calls and default brightness
Jacob Alexander <haata@kiibohd.com>
parents:
349
diff
changeset
|
106 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* C8-1 -> C8-16 */ |
58d2c5bf95eb
Adding ISSILed API calls and default brightness
Jacob Alexander <haata@kiibohd.com>
parents:
349
diff
changeset
|
107 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* C9-1 -> C9-16 */ |
58d2c5bf95eb
Adding ISSILed API calls and default brightness
Jacob Alexander <haata@kiibohd.com>
parents:
349
diff
changeset
|
108 "; |
58d2c5bf95eb
Adding ISSILed API calls and default brightness
Jacob Alexander <haata@kiibohd.com>
parents:
349
diff
changeset
|
109 |
58d2c5bf95eb
Adding ISSILed API calls and default brightness
Jacob Alexander <haata@kiibohd.com>
parents:
349
diff
changeset
|
110 |