keymap updates.

This commit is contained in:
jowj 2019-02-22 17:56:40 -06:00
parent bd8708dca1
commit a301626ae9
25 changed files with 8107 additions and 2433 deletions

View File

@ -8,16 +8,9 @@ KLL = "0.3c";
Date = "2015-09-12"; Date = "2015-09-12";
Generator = "KIICONF 0.2"; Generator = "KIICONF 0.2";
U"5" : U"F5"; U"EQUALS" : U"BACKTICK";
U"4" : U"F4"; U"TAB" : U"RCTRL";
U"3" : U"F3"; U"FUNCTION5" : U"RALT";
U"2" : U"F2";
U"1" : U"F1";
U"6" : U"F6";
U"7" : U"F7";
U"8" : U"F8";
U"9" : U"F9";
U"0" : U"F10";

View File

@ -150,6 +150,10 @@
"3": { "3": {
"key": "#:flashMode()", "key": "#:flashMode()",
"label": "FLASH" "label": "FLASH"
},
"4": {
"key": "BACKTICK",
"label": "`"
} }
} }
}, },
@ -319,6 +323,10 @@
"0": { "0": {
"key": "LCTRL", "key": "LCTRL",
"label": "LCTRL" "label": "LCTRL"
},
"4": {
"key": "RCTRL",
"label": "RCTRL"
} }
} }
}, },
@ -501,6 +509,10 @@
"0": { "0": {
"key": "LALT", "key": "LALT",
"label": "LALT" "label": "LALT"
},
"4": {
"key": "RALT",
"label": "RALT"
} }
} }
}, },

View File

@ -3167,6 +3167,245 @@
] ]
] ]
} }
},
"4": {
":0 S009": {
"kll": "S0x009 : U0x035;",
"result": [
[
{
"type": "USBCode",
"uid": 53
}
]
],
"trigger": [
[
{
"type": "ScanCode",
"uid": 9
}
]
]
},
":0 S012": {
"kll": "S0x00c : layerShift(1) + LCDLayerDisplay();",
"result": [
[
{
"args": [
{
"type": "CapArgValue",
"value": 1
}
],
"name": "layerShift",
"type": "Capability"
},
{
"args": [],
"name": "LCDLayerDisplay",
"type": "Capability"
}
]
],
"trigger": [
[
{
"type": "ScanCode",
"uid": 12
}
]
]
},
":0 S027": {
"kll": "S0x01b : U0x0e4;",
"result": [
[
{
"type": "USBCode",
"uid": 228
}
]
],
"trigger": [
[
{
"type": "ScanCode",
"uid": 27
}
]
]
},
":0 S030": {
"kll": "S0x01e : layerShift(2) + LCDLayerDisplay();",
"result": [
[
{
"args": [
{
"type": "CapArgValue",
"value": 2
}
],
"name": "layerShift",
"type": "Capability"
},
{
"args": [],
"name": "LCDLayerDisplay",
"type": "Capability"
}
]
],
"trigger": [
[
{
"type": "ScanCode",
"uid": 30
}
]
]
},
":0 S041": {
"kll": "S0x029 : U0x0e6;",
"result": [
[
{
"type": "USBCode",
"uid": 230
}
]
],
"trigger": [
[
{
"type": "ScanCode",
"uid": 41
}
]
]
},
":0 S042": {
"kll": "S0x02a : layerShift(4) + LCDLayerDisplay();",
"result": [
[
{
"args": [
{
"type": "CapArgValue",
"value": 4
}
],
"name": "layerShift",
"type": "Capability"
},
{
"args": [],
"name": "LCDLayerDisplay",
"type": "Capability"
}
]
],
"trigger": [
[
{
"type": "ScanCode",
"uid": 42
}
]
]
},
":0 S043": {
"kll": "S0x02b : layerShift(3) + LCDLayerDisplay();",
"result": [
[
{
"args": [
{
"type": "CapArgValue",
"value": 3
}
],
"name": "layerShift",
"type": "Capability"
},
{
"args": [],
"name": "LCDLayerDisplay",
"type": "Capability"
}
]
],
"trigger": [
[
{
"type": "ScanCode",
"uid": 43
}
]
]
},
":1 S003": {
"kll": "S0x030 : layerShift(6) + LCDLayerDisplay();",
"result": [
[
{
"args": [
{
"type": "CapArgValue",
"value": 6
}
],
"name": "layerShift",
"type": "Capability"
},
{
"args": [],
"name": "LCDLayerDisplay",
"type": "Capability"
}
]
],
"trigger": [
[
{
"type": "ScanCode",
"uid": 3
}
]
]
},
":1 S030": {
"kll": "S0x04b : layerShift(7) + LCDLayerDisplay();",
"result": [
[
{
"args": [
{
"type": "CapArgValue",
"value": 7
}
],
"name": "layerShift",
"type": "Capability"
},
{
"args": [],
"name": "LCDLayerDisplay",
"type": "Capability"
}
]
],
"trigger": [
[
{
"type": "ScanCode",
"uid": 30
}
]
]
}
} }
}, },
"PixelIds": { "PixelIds": {

View File

@ -3167,6 +3167,245 @@
] ]
] ]
} }
},
"4": {
":0 S003": {
"kll": "S0x003 : layerShift(6) + LCDLayerDisplay();",
"result": [
[
{
"args": [
{
"type": "CapArgValue",
"value": 6
}
],
"name": "layerShift",
"type": "Capability"
},
{
"args": [],
"name": "LCDLayerDisplay",
"type": "Capability"
}
]
],
"trigger": [
[
{
"type": "ScanCode",
"uid": 3
}
]
]
},
":0 S030": {
"kll": "S0x01e : layerShift(7) + LCDLayerDisplay();",
"result": [
[
{
"args": [
{
"type": "CapArgValue",
"value": 7
}
],
"name": "layerShift",
"type": "Capability"
},
{
"args": [],
"name": "LCDLayerDisplay",
"type": "Capability"
}
]
],
"trigger": [
[
{
"type": "ScanCode",
"uid": 30
}
]
]
},
":1 S009": {
"kll": "S0x036 : U0x035;",
"result": [
[
{
"type": "USBCode",
"uid": 53
}
]
],
"trigger": [
[
{
"type": "ScanCode",
"uid": 9
}
]
]
},
":1 S012": {
"kll": "S0x039 : layerShift(1) + LCDLayerDisplay();",
"result": [
[
{
"args": [
{
"type": "CapArgValue",
"value": 1
}
],
"name": "layerShift",
"type": "Capability"
},
{
"args": [],
"name": "LCDLayerDisplay",
"type": "Capability"
}
]
],
"trigger": [
[
{
"type": "ScanCode",
"uid": 12
}
]
]
},
":1 S027": {
"kll": "S0x048 : U0x0e4;",
"result": [
[
{
"type": "USBCode",
"uid": 228
}
]
],
"trigger": [
[
{
"type": "ScanCode",
"uid": 27
}
]
]
},
":1 S030": {
"kll": "S0x04b : layerShift(2) + LCDLayerDisplay();",
"result": [
[
{
"args": [
{
"type": "CapArgValue",
"value": 2
}
],
"name": "layerShift",
"type": "Capability"
},
{
"args": [],
"name": "LCDLayerDisplay",
"type": "Capability"
}
]
],
"trigger": [
[
{
"type": "ScanCode",
"uid": 30
}
]
]
},
":1 S041": {
"kll": "S0x056 : U0x0e6;",
"result": [
[
{
"type": "USBCode",
"uid": 230
}
]
],
"trigger": [
[
{
"type": "ScanCode",
"uid": 41
}
]
]
},
":1 S042": {
"kll": "S0x057 : layerShift(4) + LCDLayerDisplay();",
"result": [
[
{
"args": [
{
"type": "CapArgValue",
"value": 4
}
],
"name": "layerShift",
"type": "Capability"
},
{
"args": [],
"name": "LCDLayerDisplay",
"type": "Capability"
}
]
],
"trigger": [
[
{
"type": "ScanCode",
"uid": 42
}
]
]
},
":1 S043": {
"kll": "S0x058 : layerShift(3) + LCDLayerDisplay();",
"result": [
[
{
"args": [
{
"type": "CapArgValue",
"value": 3
}
],
"name": "layerShift",
"type": "Capability"
},
{
"args": [],
"name": "LCDLayerDisplay",
"type": "Capability"
}
]
],
"trigger": [
[
{
"type": "ScanCode",
"uid": 43
}
]
]
}
} }
}, },
"PixelIds": { "PixelIds": {

6
keyboard/if_ergodox_old/MDErgo1-Blank-0.kll Executable file → Normal file
View File

@ -17,7 +17,7 @@ U"3" : U"3";
U"2" : U"2"; U"2" : U"2";
U"1" : U"1"; U"1" : U"1";
U"EQUALS" : U"BACKTICK"; U"EQUALS" : U"BACKTICK";
U"FUNCTION1" : U"LCK1"; U"FUNCTION1" : U"FUN2";
U"T" : U"T"; U"T" : U"T";
U"R" : U"R"; U"R" : U"R";
U"E" : U"E"; U"E" : U"E";
@ -29,7 +29,7 @@ U"F" : U"F";
U"D" : U"D"; U"D" : U"D";
U"S" : U"S"; U"S" : U"S";
U"A" : U"A"; U"A" : U"A";
U"TAB" : U"RCTRL"; U"TAB" : U"LCTRL";
U"LALT" : U"LGUI"; U"LALT" : U"LGUI";
U"LCTRL" : U"MINUS"; U"LCTRL" : U"MINUS";
U"FUNCTION2" : U"FUN1"; U"FUNCTION2" : U"FUN1";
@ -89,5 +89,7 @@ U"RGUI" : U"NEXT LAYER";
A[all_on] <= start, pfunc:interp;
A[all_on, 1] <= P[c:0%](255), P[c:100%](255);

0
keyboard/if_ergodox_old/MDErgo1-Blank-1.kll Executable file → Normal file
View File

7
keyboard/if_ergodox_old/MDErgo1-Blank-2.kll Executable file → Normal file
View File

@ -8,7 +8,12 @@ KLL = "0.3c";
Date = "2015-09-12"; Date = "2015-09-12";
Generator = "KIICONF 0.2"; Generator = "KIICONF 0.2";
U"EQUALS" : flashMode(); U"5" : U"F10";
U"4" : U"F9";
U"3" : U"F8";
U"2" : U"F7";
U"1" : U"F6";
U"EQUALS" : None;
U"0" : flashMode(); U"0" : flashMode();
U"MINUS" : flashMode(); U"MINUS" : flashMode();

View File

@ -9,8 +9,6 @@ Date = "2015-09-12";
Generator = "KIICONF 0.2"; Generator = "KIICONF 0.2";
U"EQUALS" : flashMode(); U"EQUALS" : flashMode();
U"0" : flashMode();
U"MINUS" : flashMode();

32
keyboard/if_ergodox_old/MDErgo1-Blank.json Executable file → Normal file
View File

@ -41,6 +41,10 @@
"1": { "1": {
"key": "F5", "key": "F5",
"label": "F5" "label": "F5"
},
"2": {
"key": "F10",
"label": "F10"
} }
} }
}, },
@ -58,6 +62,10 @@
"1": { "1": {
"key": "F4", "key": "F4",
"label": "F4" "label": "F4"
},
"2": {
"key": "F9",
"label": "F9"
} }
} }
}, },
@ -75,6 +83,10 @@
"1": { "1": {
"key": "F3", "key": "F3",
"label": "F3" "label": "F3"
},
"2": {
"key": "F8",
"label": "F8"
} }
} }
}, },
@ -92,6 +104,10 @@
"1": { "1": {
"key": "F2", "key": "F2",
"label": "F2" "label": "F2"
},
"2": {
"key": "F7",
"label": "F7"
} }
} }
}, },
@ -109,6 +125,10 @@
"1": { "1": {
"key": "F1", "key": "F1",
"label": "F1" "label": "F1"
},
"2": {
"key": "F6",
"label": "F6"
} }
} }
}, },
@ -124,6 +144,10 @@
"label": "`" "label": "`"
}, },
"2": { "2": {
"key": "#:None",
"label": "NONE"
},
"3": {
"key": "#:flashMode()", "key": "#:flashMode()",
"label": "FLASH" "label": "FLASH"
} }
@ -137,8 +161,8 @@
"h": 6, "h": 6,
"layers": { "layers": {
"0": { "0": {
"key": "LCK1", "key": "FUN2",
"label": "LOCK-1" "label": "\u01922"
} }
} }
}, },
@ -293,8 +317,8 @@
"h": 4, "h": 4,
"layers": { "layers": {
"0": { "0": {
"key": "RCTRL", "key": "LCTRL",
"label": "RCTRL" "label": "LCTRL"
} }
} }
}, },

View File

@ -1,93 +0,0 @@
Name = "MDErgo1";
Variant = "standard";
Layout = "Blank";
Base = "Blank";
Version = "0.1";
Author = "HaaTa (Jacob Alexander) 2015";
KLL = "0.3c";
Date = "2015-09-12";
Generator = "KIICONF 0.2";
U"ESC" : U"ESC";
U"5" : U"5";
U"4" : U"4";
U"3" : U"3";
U"2" : U"2";
U"1" : U"1";
U"EQUALS" : U"BACKTICK";
U"FUNCTION1" : U"LCK1";
U"T" : U"T";
U"R" : U"R";
U"E" : U"E";
U"W" : U"W";
U"Q" : U"Q";
U"BACKSLASH" : U"TAB";
U"G" : U"G";
U"F" : U"F";
U"D" : U"D";
U"S" : U"S";
U"A" : U"A";
U"TAB" : U"RCTRL";
U"LALT" : U"LGUI";
U"LCTRL" : U"MINUS";
U"FUNCTION2" : U"FUN1";
U"B" : U"B";
U"V" : U"V";
U"C" : U"C";
U"X" : U"X";
U"Z" : U"Z";
U"LSHIFT" : U"LSHIFT";
U"HOME" : U"HOME";
U"END" : U"END";
U"DELETE" : U"DELETE";
U"BACKSPACE" : U"SPACE";
U"FUNCTION5" : U"LALT";
U"FUNCTION4" : U"F8";
U"FUNCTION3" : U"F7";
U"BACKTICK" : U"F6";
U"LGUI" : U"PREV LAYER";
U"FUNCTION6" : U"\";
U"6" : U"6";
U"7" : U"7";
U"8" : U"8";
U"9" : U"9";
U"0" : U"0";
U"MINUS" : U"BACKSPACE";
U"LBRACE" : U"LBRACE";
U"Y" : U"Y";
U"U" : U"U";
U"I" : U"I";
U"O" : U"O";
U"P" : U"P";
U"RBRACE" : U"RBRACE";
U"H" : U"H";
U"J" : U"J";
U"K" : U"K";
U"L" : U"L";
U"SEMICOLON" : U"SEMICOLON";
U"QUOTE" : U"QUOTE";
U"RALT" : U"RGUI";
U"RCTRL" : U"=";
U"FUNCTION7" : U"FUN2";
U"N" : U"N";
U"M" : U"M";
U"COMMA" : U"COMMA";
U"PERIOD" : U"PERIOD";
U"SLASH" : U"SLASH";
U"RSHIFT" : U"RSHIFT";
U"PAGEUP" : U"PAGEUP";
U"PAGEDOWN" : U"PAGEDOWN";
U"ENTER" : U"ENTER";
U"SPACE" : U"SPACE";
U"LEFT" : U"LEFT";
U"DOWN" : U"DOWN";
U"UP" : U"UP";
U"RIGHT" : U"RIGHT";
U"RGUI" : U"NEXT LAYER";

BIN
keyboard/if_ergodox_old/left_kiibohd.dfu.bin Executable file → Normal file

Binary file not shown.

Binary file not shown.

File diff suppressed because it is too large Load Diff

View File

@ -1,194 +0,0 @@
cgi-bin/build_layout_lts.bash 7b235e8c41419a9389e24f756ba879f915b410981efb3b MDErgo1 standard "MDErgo1-Blank-0.kll" "MDErgo1-Blank-1.kll" "MDErgo1-Blank-2.kll" 2>&1
/srv/KiiConf/dist/tmp-lts/7b235e8c41419a9389e24f756ba879f915b410981efb3b
+ mkdir -p right
/srv/KiiConf/dist/tmp-lts/7b235e8c41419a9389e24f756ba879f915b410981efb3b
+ mkdir -p left
+ cd left
+ cp ../MDErgo1-Blank-0.kll ../MDErgo1-Blank-1.kll ../MDErgo1-Blank-2.kll .
+ cd right
+ cp ../MDErgo1-Blank-0.kll ../MDErgo1-Blank-1.kll ../MDErgo1-Blank-2.kll .
+ cmake /srv/KiiConf/controller-lts -DScanModule=MDErgo1 -DCHIP=mk20dx256vlh7 '-DBaseMap=defaultMap leftHand slave1 rightHand' -DMacroModule=PartialMap -DOutputModule=pjrcUSB -DDebugModule=full '-DDefaultMap=MDErgo1-Blank-0 lcdFuncMap' '-DPartialMaps=MDErgo1-Blank-1 lcdFuncMap;MDErgo1-Blank-2 lcdFuncMap' -DCONFIGURATOR=1
+ cmake /srv/KiiConf/controller-lts -DScanModule=MDErgo1 -DCHIP=mk20dx256vlh7 '-DBaseMap=defaultMap rightHand slave1 leftHand' -DMacroModule=PartialMap -DOutputModule=pjrcUSB -DDebugModule=full '-DDefaultMap=MDErgo1-Blank-0 lcdFuncMap' '-DPartialMaps=MDErgo1-Blank-1 lcdFuncMap;MDErgo1-Blank-2 lcdFuncMap' -DCONFIGURATOR=1
-- Compiler Family:
arm-- Compiler Family:
arm
-- Compiler Selected:
-- Compiler Selected:
gcc
-- Chip Selected:
gcc
mk20dx256vlh7
-- Chip Selected:
mk20dx256vlh7
-- Chip Family:
mk20dx
-- CPU Selected:
cortex-m4
-- Chip Family:
-- Compiler Source Files:
Lib/mk20dx.c;Lib/delay.c
-- Bootloader Type:
mk20dx
-- CPU Selected:
cortex-m4
dfu
-- Compiler Source Files:
Lib/mk20dx.c;Lib/delay.c
-- Bootloader Type:
dfu
-- Detected Scan Module Source Files:
Scan/ISSILed/led_scan.c;Scan/MatrixARM/matrix_scan.c;Scan/STLcd/lcd_scan.c;Scan/UARTConnect/connect_scan.c;Scan/MDErgo1/scan_loop.c
-- Detected Macro Module Source Files:
Macro/PartialMap/macro.c;Macro/PartialMap/result.c;Macro/PartialMap/trigger.c
-- Detected Output Module Source Files:
Output/pjrcUSB/output_com.c;Output/pjrcUSB/arm/usb_desc.c;Output/pjrcUSB/arm/usb_dev.c;Output/pjrcUSB/arm/usb_joystick.c;Output/pjrcUSB/arm/usb_keyboard.c;Output/pjrcUSB/arm/usb_mem.c;Output/pjrcUSB/arm/usb_mouse.c;Output/pjrcUSB/arm/usb_rawio.c;Output/pjrcUSB/arm/usb_serial.c
-- Detected Debug Module Source Files:
Debug/cli/cli.c;Debug/led/led.c;Debug/print/print.c
-- Detected Scan Module Source Files:
Scan/ISSILed/led_scan.c;Scan/MatrixARM/matrix_scan.c;Scan/STLcd/lcd_scan.c;Scan/UARTConnect/connect_scan.c;Scan/MDErgo1/scan_loop.c
-- Detected Macro Module Source Files:
Macro/PartialMap/macro.c;Macro/PartialMap/result.c;Macro/PartialMap/trigger.c
-- Detected Output Module Source Files:
Output/pjrcUSB/output_com.c;Output/pjrcUSB/arm/usb_desc.c;Output/pjrcUSB/arm/usb_dev.c;Output/pjrcUSB/arm/usb_joystick.c;Output/pjrcUSB/arm/usb_keyboard.c;Output/pjrcUSB/arm/usb_mem.c;Output/pjrcUSB/arm/usb_mouse.c;Output/pjrcUSB/arm/usb_rawio.c;Output/pjrcUSB/arm/usb_serial.c
-- Detected Debug Module Source Files:
Debug/cli/cli.c;Debug/led/led.c;Debug/print/print.c
-- Found Git: /usr/bin/git (found version "1.9.1")
-- Found Git: /usr/bin/git (found version "1.9.1")
-- Found Ctags: /usr/bin/ctags (found version "5.9~svn20110310")
ctags: -- Found Ctags: /usr/bin/ctags (found version "5.9~svn20110310")
cannot open tag file : Permission denied
ctags: cannot open tag file : Permission denied
-- Found PythonInterp: python3 (found suitable version "3.4.3", minimum required is "3")
-- Detected Layout Files:
/srv/KiiConf/controller-lts/Scan/ISSILed/capabilities.kll
/srv/KiiConf/controller-lts/Scan/MatrixARM/capabilities.kll
/srv/KiiConf/controller-lts/Scan/STLcd/capabilities.kll
/srv/KiiConf/controller-lts/Scan/UARTConnect/capabilities.kll
/srv/KiiConf/controller-lts/Macro/PartialMap/capabilities.kll
/srv/KiiConf/controller-lts/Output/pjrcUSB/capabilities.kll
/srv/KiiConf/controller-lts/Scan/MDErgo1/scancode_map.kll
/srv/KiiConf/controller-lts/Scan/MDErgo1/rightHand.kll
/srv/KiiConf/controller-lts/Scan/MDErgo1/slave1.kll
/srv/KiiConf/controller-lts/Scan/MDErgo1/leftHand.kll
/srv/KiiConf/dist/tmp-lts/7b235e8c41419a9389e24f756ba879f915b410981efb3b/right/MDErgo1-Blank-0.kll
/srv/KiiConf/controller-lts/kll/layouts/lcdFuncMap.kll
/srv/KiiConf/dist/tmp-lts/7b235e8c41419a9389e24f756ba879f915b410981efb3b/right/MDErgo1-Blank-1.kll
/srv/KiiConf/controller-lts/kll/layouts/lcdFuncMap.kll
/srv/KiiConf/dist/tmp-lts/7b235e8c41419a9389e24f756ba879f915b410981efb3b/right/MDErgo1-Blank-2.kll
/srv/KiiConf/controller-lts/kll/layouts/lcdFuncMap.kll
-- Found PythonInterp: python3 (found suitable version "3.4.3", minimum required is "3")
-- Detected Layout Files:
/srv/KiiConf/controller-lts/Scan/ISSILed/capabilities.kll
/srv/KiiConf/controller-lts/Scan/MatrixARM/capabilities.kll
/srv/KiiConf/controller-lts/Scan/STLcd/capabilities.kll
/srv/KiiConf/controller-lts/Scan/UARTConnect/capabilities.kll
/srv/KiiConf/controller-lts/Macro/PartialMap/capabilities.kll
/srv/KiiConf/controller-lts/Output/pjrcUSB/capabilities.kll
/srv/KiiConf/controller-lts/Scan/MDErgo1/scancode_map.kll
/srv/KiiConf/controller-lts/Scan/MDErgo1/leftHand.kll
/srv/KiiConf/controller-lts/Scan/MDErgo1/slave1.kll
/srv/KiiConf/controller-lts/Scan/MDErgo1/rightHand.kll
/srv/KiiConf/dist/tmp-lts/7b235e8c41419a9389e24f756ba879f915b410981efb3b/left/MDErgo1-Blank-0.kll
/srv/KiiConf/controller-lts/kll/layouts/lcdFuncMap.kll
/srv/KiiConf/dist/tmp-lts/7b235e8c41419a9389e24f756ba879f915b410981efb3b/left/MDErgo1-Blank-1.kll
/srv/KiiConf/controller-lts/kll/layouts/lcdFuncMap.kll
/srv/KiiConf/dist/tmp-lts/7b235e8c41419a9389e24f756ba879f915b410981efb3b/left/MDErgo1-Blank-2.kll
/srv/KiiConf/controller-lts/kll/layouts/lcdFuncMap.kll
-- Found DFU_SUFFIX: /usr/local/bin/dfu-suffix (found version "0.8")
-- Configuring done
-- Found DFU_SUFFIX: /usr/local/bin/dfu-suffix (found version "0.8")
-- Configuring done
-- Generating done
CMake Warning:
Manually-specified variables were not used by the project:
CONFIGURATOR
-- Build files have been written to: /srv/KiiConf/dist/tmp-lts/7b235e8c41419a9389e24f756ba879f915b410981efb3b/left
+ make -j
-- Generating done
CMake Warning:
Manually-specified variables were not used by the project:
CONFIGURATOR
-- Build files have been written to: /srv/KiiConf/dist/tmp-lts/7b235e8c41419a9389e24f756ba879f915b410981efb3b/right
+ make -j
[ 4%] Generating KLL Layout
[ 4%] Generating KLL Layout
Scanning dependencies of target kiibohd.elf
[ 8%] [ 12%] [ 16%] [ 20%] [ 24%] [ 28%] Building C object CMakeFiles/kiibohd.elf.dir/main.c.o
Building C object CMakeFiles/kiibohd.elf.dir/Lib/delay.c.o
[ 32%] Building C object CMakeFiles/kiibohd.elf.dir/Lib/mk20dx.c.o
Building C object CMakeFiles/kiibohd.elf.dir/Scan/ISSILed/led_scan.c.o
Building C object CMakeFiles/kiibohd.elf.dir/Scan/MatrixARM/matrix_scan.c.o
Building C object CMakeFiles/kiibohd.elf.dir/Scan/STLcd/lcd_scan.c.o
Scanning dependencies of target kiibohd.elf
Building C object CMakeFiles/kiibohd.elf.dir/Scan/UARTConnect/connect_scan.c.o
[ 8%] [ 12%] [ 16%] [ 36%] [ 40%] Building C object CMakeFiles/kiibohd.elf.dir/Scan/MDErgo1/scan_loop.c.o
Building C object CMakeFiles/kiibohd.elf.dir/main.c.o
[ 44%] [ 20%] Building C object CMakeFiles/kiibohd.elf.dir/Lib/mk20dx.c.o
Building C object CMakeFiles/kiibohd.elf.dir/Lib/delay.c.o
Building C object CMakeFiles/kiibohd.elf.dir/Macro/PartialMap/macro.c.o
[ 48%] Building C object CMakeFiles/kiibohd.elf.dir/Macro/PartialMap/result.c.o
[ 24%] Building C object CMakeFiles/kiibohd.elf.dir/Macro/PartialMap/trigger.c.o
[ 52%] [ 28%] Building C object CMakeFiles/kiibohd.elf.dir/Scan/ISSILed/led_scan.c.o
Building C object CMakeFiles/kiibohd.elf.dir/Scan/MatrixARM/matrix_scan.c.o
[ 56%] [ 60%] [ 32%] [ 64%] Building C object CMakeFiles/kiibohd.elf.dir/Output/pjrcUSB/arm/usb_desc.c.o
Building C object CMakeFiles/kiibohd.elf.dir/Output/pjrcUSB/output_com.c.o
[ 68%] Building C object CMakeFiles/kiibohd.elf.dir/Scan/STLcd/lcd_scan.c.o
[ 72%] [ 36%] Building C object CMakeFiles/kiibohd.elf.dir/Scan/UARTConnect/connect_scan.c.o
Building C object CMakeFiles/kiibohd.elf.dir/Output/pjrcUSB/arm/usb_keyboard.c.o
[ 40%] Building C object CMakeFiles/kiibohd.elf.dir/Output/pjrcUSB/arm/usb_dev.c.o
Building C object CMakeFiles/kiibohd.elf.dir/Output/pjrcUSB/arm/usb_mem.c.o
[ 44%] [ 48%] Building C object CMakeFiles/kiibohd.elf.dir/Output/pjrcUSB/arm/usb_joystick.c.o
Building C object CMakeFiles/kiibohd.elf.dir/Macro/PartialMap/macro.c.o
Building C object CMakeFiles/kiibohd.elf.dir/Macro/PartialMap/result.c.o
[ 52%] Building C object CMakeFiles/kiibohd.elf.dir/Scan/MDErgo1/scan_loop.c.o
[ 76%] Building C object CMakeFiles/kiibohd.elf.dir/Macro/PartialMap/trigger.c.o
[ 80%] [ 84%] [ 88%] Building C object CMakeFiles/kiibohd.elf.dir/Output/pjrcUSB/output_com.c.o
[ 56%] Building C object CMakeFiles/kiibohd.elf.dir/Output/pjrcUSB/arm/usb_mouse.c.o
[ 60%] Building C object CMakeFiles/kiibohd.elf.dir/Output/pjrcUSB/arm/usb_rawio.c.o
[ 64%] [ 92%] [ 96%] Building C object CMakeFiles/kiibohd.elf.dir/Output/pjrcUSB/arm/usb_desc.c.o
Building C object CMakeFiles/kiibohd.elf.dir/Output/pjrcUSB/arm/usb_serial.c.o
[ 68%] Building C object CMakeFiles/kiibohd.elf.dir/Debug/led/led.c.o
Building C object CMakeFiles/kiibohd.elf.dir/Debug/cli/cli.c.o
Building C object CMakeFiles/kiibohd.elf.dir/Output/pjrcUSB/arm/usb_keyboard.c.o
[ 72%] Building C object CMakeFiles/kiibohd.elf.dir/Debug/print/print.c.o
Building C object CMakeFiles/kiibohd.elf.dir/Output/pjrcUSB/arm/usb_dev.c.o
Building C object CMakeFiles/kiibohd.elf.dir/Output/pjrcUSB/arm/usb_joystick.c.o
Building C object CMakeFiles/kiibohd.elf.dir/Output/pjrcUSB/arm/usb_mem.c.o
[ 76%] Building C object CMakeFiles/kiibohd.elf.dir/Output/pjrcUSB/arm/usb_mouse.c.o
[ 80%] [ 84%] Building C object CMakeFiles/kiibohd.elf.dir/Output/pjrcUSB/arm/usb_rawio.c.o
[ 88%] Building C object CMakeFiles/kiibohd.elf.dir/Output/pjrcUSB/arm/usb_serial.c.o
Building C object CMakeFiles/kiibohd.elf.dir/Debug/cli/cli.c.o
[ 92%] [ 96%] Building C object CMakeFiles/kiibohd.elf.dir/Debug/print/print.c.o
Building C object CMakeFiles/kiibohd.elf.dir/Debug/led/led.c.o
Linking C executable kiibohd.elf
Create and sign dfu bin file: kiibohd.dfu.bin
Creating Extended Listing: kiibohd.lss
Linking C executable kiibohd.elf
Create and sign dfu bin file: kiibohd.dfu.bin
Creating Symbol Table: kiibohd.sym
Creating Extended Listing: kiibohd.lss
[ 96%] Built target kiibohd.elf
Scanning dependencies of target SizeAfter
[100%] Chip usage for mk20dx256vlh7
 SRAM: 14% 9568/65536 bytes
Flash: 17% 43704/253952 bytes
[100%] Built target SizeAfter
+ RETVAL=0
+ set +x
/srv/KiiConf/dist/tmp-lts/7b235e8c41419a9389e24f756ba879f915b410981efb3b
Creating Symbol Table: kiibohd.sym
[ 96%] Built target kiibohd.elf
Scanning dependencies of target SizeAfter
[100%] Chip usage for mk20dx256vlh7
 SRAM: 14% 9564/65536 bytes
Flash: 17% 43696/253952 bytes
[100%] Built target SizeAfter
+ RETVAL=0
+ set +x

View File

@ -1,803 +0,0 @@
/* Copyright (C) 2014-2016 by Jacob Alexander
*
* This file is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This file is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this file. If not, see <http://www.gnu.org/licenses/>.
*/
// This file was generated by the kll compiler, DO NOT EDIT.
// Generation Date: 2018-07-07
// KLL Backend: kiibohd
// KLL Git Rev: ee4008a1905ca14bac641f581304c3b967b8ddc3
// KLL Git Changes: None
// Compiler arguments:
// /srv/KiiConf/controller-lts/kll/kll.py
// /srv/KiiConf/controller-lts/Scan/ISSILed/capabilities.kll
// /srv/KiiConf/controller-lts/Scan/MatrixARM/capabilities.kll
// /srv/KiiConf/controller-lts/Scan/STLcd/capabilities.kll
// /srv/KiiConf/controller-lts/Scan/UARTConnect/capabilities.kll
// /srv/KiiConf/controller-lts/Macro/PartialMap/capabilities.kll
// /srv/KiiConf/controller-lts/Output/pjrcUSB/capabilities.kll
// /srv/KiiConf/controller-lts/Scan/MDErgo1/scancode_map.kll
// /srv/KiiConf/controller-lts/Scan/MDErgo1/leftHand.kll
// /srv/KiiConf/controller-lts/Scan/MDErgo1/slave1.kll
// /srv/KiiConf/controller-lts/Scan/MDErgo1/rightHand.kll
// -d
// MDErgo1-Blank-0.kll
// /srv/KiiConf/controller-lts/kll/layouts/lcdFuncMap.kll
// -p
// MDErgo1-Blank-1.kll
// /srv/KiiConf/controller-lts/kll/layouts/lcdFuncMap.kll
// -p
// MDErgo1-Blank-2.kll
// /srv/KiiConf/controller-lts/kll/layouts/lcdFuncMap.kll
// --backend
// kiibohd
// --templates
// /srv/KiiConf/controller-lts/kll/templates/kiibohdKeymap.h
// /srv/KiiConf/controller-lts/kll/templates/kiibohdDefs.h
// --outputs
// generatedKeymap.h
// kll_defs.h
//
// - Base Layer -
// ISSILedCapabilities
// /srv/KiiConf/controller-lts/Scan/ISSILed/capabilities.kll
// MatrixArmCapabilities
// /srv/KiiConf/controller-lts/Scan/MatrixARM/capabilities.kll
// STLcdCapabilities
// /srv/KiiConf/controller-lts/Scan/STLcd/capabilities.kll
// UARTConnectCapabilities
// /srv/KiiConf/controller-lts/Scan/UARTConnect/capabilities.kll
// PartialMapCapabilities
// /srv/KiiConf/controller-lts/Macro/PartialMap/capabilities.kll
// pjrcUSBCapabilities
// /srv/KiiConf/controller-lts/Output/pjrcUSB/capabilities.kll
// MDErgo1
// /srv/KiiConf/controller-lts/Scan/MDErgo1/scancode_map.kll
// MDErgo1LeftHand
// /srv/KiiConf/controller-lts/Scan/MDErgo1/leftHand.kll
// MDErgo1Slave1
// /srv/KiiConf/controller-lts/Scan/MDErgo1/slave1.kll
// MDErgo1RightHand
// /srv/KiiConf/controller-lts/Scan/MDErgo1/rightHand.kll
// - Default Layer -
// MDErgo1
// MDErgo1-Blank-0.kll
// lcdFuncMap
// /srv/KiiConf/controller-lts/kll/layouts/lcdFuncMap.kll
// - Partial Layers -
// Layer 1
// MDErgo1
// MDErgo1-Blank-1.kll
// lcdFuncMap
// /srv/KiiConf/controller-lts/kll/layouts/lcdFuncMap.kll
// Layer 2
// MDErgo1
// MDErgo1-Blank-2.kll
// lcdFuncMap
// /srv/KiiConf/controller-lts/kll/layouts/lcdFuncMap.kll
#pragma once
// ----- Includes -----
// KLL Include
#include <kll.h>
// ----- Capabilities -----
// Capability function declarations
void LCD_layerStackExact_capability( TriggerMacro *trigger, uint8_t state, uint8_t stateType, uint8_t *args );
void LCD_layerStack_capability( TriggerMacro *trigger, uint8_t state, uint8_t stateType, uint8_t *args );
void LED_control_capability( TriggerMacro *trigger, uint8_t state, uint8_t stateType, uint8_t *args );
void Macro_layerLatch_capability( TriggerMacro *trigger, uint8_t state, uint8_t stateType, uint8_t *args );
void Macro_layerLock_capability( TriggerMacro *trigger, uint8_t state, uint8_t stateType, uint8_t *args );
void Macro_layerRotate_capability( TriggerMacro *trigger, uint8_t state, uint8_t stateType, uint8_t *args );
void Macro_layerShift_capability( TriggerMacro *trigger, uint8_t state, uint8_t stateType, uint8_t *args );
void Macro_layerState_capability( TriggerMacro *trigger, uint8_t state, uint8_t stateType, uint8_t *args );
void Output_consCtrlSend_capability( TriggerMacro *trigger, uint8_t state, uint8_t stateType, uint8_t *args );
void Output_flashMode_capability( TriggerMacro *trigger, uint8_t state, uint8_t stateType, uint8_t *args );
void Output_kbdProtocolBoot_capability( TriggerMacro *trigger, uint8_t state, uint8_t stateType, uint8_t *args );
void Output_kbdProtocolNKRO_capability( TriggerMacro *trigger, uint8_t state, uint8_t stateType, uint8_t *args );
void Output_noneSend_capability( TriggerMacro *trigger, uint8_t state, uint8_t stateType, uint8_t *args );
void Output_sysCtrlSend_capability( TriggerMacro *trigger, uint8_t state, uint8_t stateType, uint8_t *args );
void Output_toggleKbdProtocol_capability( TriggerMacro *trigger, uint8_t state, uint8_t stateType, uint8_t *args );
void Output_usbCodeSend_capability( TriggerMacro *trigger, uint8_t state, uint8_t stateType, uint8_t *args );
void Output_usbMouse_capability( TriggerMacro *trigger, uint8_t state, uint8_t stateType, uint8_t *args );
// Indexed Capabilities Table
const Capability CapabilitiesList[] = {
{ LCD_layerStackExact_capability, 9 },
{ LCD_layerStack_capability, 0 },
{ LED_control_capability, 4 },
{ Macro_layerLatch_capability, 2 },
{ Macro_layerLock_capability, 2 },
{ Macro_layerRotate_capability, 1 },
{ Macro_layerShift_capability, 2 },
{ Macro_layerState_capability, 3 },
{ Output_consCtrlSend_capability, 2 },
{ Output_flashMode_capability, 0 },
{ Output_kbdProtocolBoot_capability, 0 },
{ Output_kbdProtocolNKRO_capability, 0 },
{ Output_noneSend_capability, 0 },
{ Output_sysCtrlSend_capability, 1 },
{ Output_toggleKbdProtocol_capability, 0 },
{ Output_usbCodeSend_capability, 1 },
{ Output_usbMouse_capability, 6 },
};
// -- Result Macros
// Result Macro Guides
Guide_RM( 0 ) = { 1, 15, KEY_2, 0 };
Guide_RM( 1 ) = { 1, 15, KEY_BACKSLASH, 0 };
Guide_RM( 2 ) = { 1, 15, KEY_F, 0 };
Guide_RM( 3 ) = { 1, 15, KEY_SEMICOLON, 0 };
Guide_RM( 4 ) = { 1, 15, KEY_RCTRL, 0 };
Guide_RM( 5 ) = { 1, 15, KEY_J, 0 };
Guide_RM( 6 ) = { 1, 15, KEY_ESC, 0 };
Guide_RM( 7 ) = { 1, 15, KEY_QUOTE, 0 };
Guide_RM( 8 ) = { 1, 15, KEY_F8, 0 };
Guide_RM( 9 ) = { 1, 15, KEY_LGUI, 0 };
Guide_RM( 10 ) = { 1, 15, KEY_K, 0 };
Guide_RM( 11 ) = { 1, 15, KEY_DELETE, 0 };
Guide_RM( 12 ) = { 1, 15, KEY_DOWN, 0 };
Guide_RM( 13 ) = { 1, 15, KEY_5, 0 };
Guide_RM( 14 ) = { 1, 15, KEY_F7, 0 };
Guide_RM( 15 ) = { 1, 15, KEY_ENTER, 0 };
Guide_RM( 16 ) = { 1, 15, KEY_D, 0 };
Guide_RM( 17 ) = { 1, 15, KEY_UP, 0 };
Guide_RM( 18 ) = { 1, 15, KEY_P, 0 };
Guide_RM( 19 ) = { 1, 15, KEY_F6, 0 };
Guide_RM( 20 ) = { 1, 15, KEY_TAB, 0 };
Guide_RM( 21 ) = { 1, 15, KEY_SPACE, 0 };
Guide_RM( 22 ) = { 1, 15, KEY_U, 0 };
Guide_RM( 23 ) = { 1, 15, KEY_S, 0 };
Guide_RM( 24 ) = { 1, 15, KEY_RIGHT_BRACKET, 0 };
Guide_RM( 25 ) = { 1, 15, KEY_G, 0 };
Guide_RM( 26 ) = { 1, 15, KEY_RSHIFT, 0 };
Guide_RM( 27 ) = { 1, 15, KEY_H, 0 };
Guide_RM( 28 ) = { 1, 15, KEY_HOME, 0 };
Guide_RM( 29 ) = { 1, 15, KEY_COMMA, 0 };
Guide_RM( 30 ) = { 1, 15, KEY_LALT, 0 };
Guide_RM( 31 ) = { 1, 15, KEY_E, 0 };
Guide_RM( 32 ) = { 1, 15, KEY_PAGE_UP, 0 };
Guide_RM( 33 ) = { 1, 15, KEY_END, 0 };
Guide_RM( 34 ) = { 2, 4, 1, 0, 1, 0 };
Guide_RM( 35 ) = { 1, 15, KEY_I, 0 };
Guide_RM( 36 ) = { 1, 15, KEY_W, 0 };
Guide_RM( 37 ) = { 1, 15, KEY_PAGE_DOWN, 0 };
Guide_RM( 38 ) = { 1, 15, KEY_LEFT_BRACKET, 0 };
Guide_RM( 39 ) = { 1, 15, KEY_O, 0 };
Guide_RM( 40 ) = { 1, 15, KEY_X, 0 };
Guide_RM( 41 ) = { 1, 15, KEY_Q, 0 };
Guide_RM( 42 ) = { 1, 15, KEY_Y, 0 };
Guide_RM( 43 ) = { 1, 15, KEY_B, 0 };
Guide_RM( 44 ) = { 1, 15, KEY_PERIOD, 0 };
Guide_RM( 45 ) = { 1, 15, KEY_Z, 0 };
Guide_RM( 46 ) = { 1, 15, KEY_N, 0 };
Guide_RM( 47 ) = { 1, 15, KEY_T, 0 };
Guide_RM( 48 ) = { 1, 15, KEY_SLASH, 0 };
Guide_RM( 49 ) = { 1, 15, KEY_9, 0 };
Guide_RM( 50 ) = { 1, 15, KEY_LSHIFT, 0 };
Guide_RM( 51 ) = { 1, 15, KEY_1, 0 };
Guide_RM( 52 ) = { 1, 15, KEY_M, 0 };
Guide_RM( 53 ) = { 1, 15, KEY_6, 0 };
Guide_RM( 54 ) = { 1, 15, KEY_R, 0 };
Guide_RM( 55 ) = { 1, 15, KEY_0, 0 };
Guide_RM( 56 ) = { 1, 15, KEY_BACKTICK, 0 };
Guide_RM( 57 ) = { 1, 15, KEY_V, 0 };
Guide_RM( 58 ) = { 1, 15, KEY_RGUI, 0 };
Guide_RM( 59 ) = { 1, 15, KEY_BACKSPACE, 0 };
Guide_RM( 60 ) = { 1, 15, KEY_MINUS, 0 };
Guide_RM( 61 ) = { 1, 15, KEY_L, 0 };
Guide_RM( 62 ) = { 1, 15, KEY_C, 0 };
Guide_RM( 63 ) = { 1, 15, KEY_4, 0 };
Guide_RM( 64 ) = { 1, 15, KEY_EQUAL, 0 };
Guide_RM( 65 ) = { 2, 6, 1, 0, 1, 0 };
Guide_RM( 66 ) = { 1, 15, KEY_7, 0 };
Guide_RM( 67 ) = { 1, 15, KEY_RIGHT, 0 };
Guide_RM( 68 ) = { 1, 15, KEY_3, 0 };
Guide_RM( 69 ) = { 2, 6, 2, 0, 1, 0 };
Guide_RM( 70 ) = { 2, 5, 1, 1, 0 };
Guide_RM( 71 ) = { 1, 15, KEY_LEFT, 0 };
Guide_RM( 72 ) = { 1, 15, KEY_8, 0 };
Guide_RM( 73 ) = { 1, 15, KEY_A, 0 };
Guide_RM( 74 ) = { 2, 5, 0, 1, 0 };
Guide_RM( 75 ) = { 1, 15, KEY_F2, 0 };
Guide_RM( 76 ) = { 1, 15, KEY_F5, 0 };
Guide_RM( 77 ) = { 1, 15, KEY_F9, 0 };
Guide_RM( 78 ) = { 1, 15, KEY_F1, 0 };
Guide_RM( 79 ) = { 1, 15, KEY_F10, 0 };
Guide_RM( 80 ) = { 1, 15, KEY_F4, 0 };
Guide_RM( 81 ) = { 1, 15, KEY_F3, 0 };
Guide_RM( 82 ) = { 1, 9, 0 };
// -- Result Macro List
// Indexed Table of Result Macros
const ResultMacro ResultMacroList[] = {
Define_RM( 0 ),
Define_RM( 1 ),
Define_RM( 2 ),
Define_RM( 3 ),
Define_RM( 4 ),
Define_RM( 5 ),
Define_RM( 6 ),
Define_RM( 7 ),
Define_RM( 8 ),
Define_RM( 9 ),
Define_RM( 10 ),
Define_RM( 11 ),
Define_RM( 12 ),
Define_RM( 13 ),
Define_RM( 14 ),
Define_RM( 15 ),
Define_RM( 16 ),
Define_RM( 17 ),
Define_RM( 18 ),
Define_RM( 19 ),
Define_RM( 20 ),
Define_RM( 21 ),
Define_RM( 22 ),
Define_RM( 23 ),
Define_RM( 24 ),
Define_RM( 25 ),
Define_RM( 26 ),
Define_RM( 27 ),
Define_RM( 28 ),
Define_RM( 29 ),
Define_RM( 30 ),
Define_RM( 31 ),
Define_RM( 32 ),
Define_RM( 33 ),
Define_RM( 34 ),
Define_RM( 35 ),
Define_RM( 36 ),
Define_RM( 37 ),
Define_RM( 38 ),
Define_RM( 39 ),
Define_RM( 40 ),
Define_RM( 41 ),
Define_RM( 42 ),
Define_RM( 43 ),
Define_RM( 44 ),
Define_RM( 45 ),
Define_RM( 46 ),
Define_RM( 47 ),
Define_RM( 48 ),
Define_RM( 49 ),
Define_RM( 50 ),
Define_RM( 51 ),
Define_RM( 52 ),
Define_RM( 53 ),
Define_RM( 54 ),
Define_RM( 55 ),
Define_RM( 56 ),
Define_RM( 57 ),
Define_RM( 58 ),
Define_RM( 59 ),
Define_RM( 60 ),
Define_RM( 61 ),
Define_RM( 62 ),
Define_RM( 63 ),
Define_RM( 64 ),
Define_RM( 65 ),
Define_RM( 66 ),
Define_RM( 67 ),
Define_RM( 68 ),
Define_RM( 69 ),
Define_RM( 70 ),
Define_RM( 71 ),
Define_RM( 72 ),
Define_RM( 73 ),
Define_RM( 74 ),
Define_RM( 75 ),
Define_RM( 76 ),
Define_RM( 77 ),
Define_RM( 78 ),
Define_RM( 79 ),
Define_RM( 80 ),
Define_RM( 81 ),
Define_RM( 82 ),
};
// -- Trigger Macro Record
// Keeps a record/state of each result macro
ResultMacroRecord ResultMacroRecordList[ ResultMacroNum ];
// -- Trigger Macros
// Trigger Macro Guides
Guide_TM( 0 ) = { 1, 0x00, 0x01, 0x06, 0 };
Guide_TM( 1 ) = { 1, 0x00, 0x01, 0x2F, 0 };
Guide_TM( 2 ) = { 1, 0x00, 0x01, 0x16, 0 };
Guide_TM( 3 ) = { 1, 0x00, 0x01, 0x46, 0 };
Guide_TM( 4 ) = { 1, 0x00, 0x01, 0x1A, 0 };
Guide_TM( 5 ) = { 1, 0x00, 0x01, 0x43, 0 };
Guide_TM( 6 ) = { 1, 0x00, 0x01, 0x02, 0 };
Guide_TM( 7 ) = { 1, 0x00, 0x01, 0x47, 0 };
Guide_TM( 8 ) = { 1, 0x00, 0x01, 0x29, 0 };
Guide_TM( 9 ) = { 1, 0x00, 0x01, 0x1B, 0 };
Guide_TM( 10 ) = { 1, 0x00, 0x01, 0x44, 0 };
Guide_TM( 11 ) = { 1, 0x00, 0x01, 0x26, 0 };
Guide_TM( 12 ) = { 1, 0x00, 0x01, 0x56, 0 };
Guide_TM( 13 ) = { 1, 0x00, 0x01, 0x03, 0 };
Guide_TM( 14 ) = { 1, 0x00, 0x01, 0x2A, 0 };
Guide_TM( 15 ) = { 1, 0x00, 0x01, 0x53, 0 };
Guide_TM( 16 ) = { 1, 0x00, 0x01, 0x17, 0 };
Guide_TM( 17 ) = { 1, 0x00, 0x01, 0x57, 0 };
Guide_TM( 18 ) = { 1, 0x00, 0x01, 0x3D, 0 };
Guide_TM( 19 ) = { 1, 0x00, 0x01, 0x2B, 0 };
Guide_TM( 20 ) = { 1, 0x00, 0x01, 0x11, 0 };
Guide_TM( 21 ) = { 1, 0x00, 0x01, 0x54, 0 };
Guide_TM( 22 ) = { 1, 0x00, 0x01, 0x3A, 0 };
Guide_TM( 23 ) = { 1, 0x00, 0x01, 0x18, 0 };
Guide_TM( 24 ) = { 1, 0x00, 0x01, 0x3E, 0 };
Guide_TM( 25 ) = { 1, 0x00, 0x01, 0x15, 0 };
Guide_TM( 26 ) = { 1, 0x00, 0x01, 0x27, 0 };
Guide_TM( 27 ) = { 1, 0x00, 0x01, 0x50, 0 };
Guide_TM( 28 ) = { 1, 0x00, 0x01, 0x42, 0 };
Guide_TM( 29 ) = { 1, 0x00, 0x01, 0x24, 0 };
Guide_TM( 30 ) = { 1, 0x00, 0x01, 0x4D, 0 };
Guide_TM( 31 ) = { 1, 0x00, 0x01, 0x28, 0 };
Guide_TM( 32 ) = { 1, 0x00, 0x01, 0x0E, 0 };
Guide_TM( 33 ) = { 1, 0x00, 0x01, 0x51, 0 };
Guide_TM( 34 ) = { 1, 0x00, 0x01, 0x25, 0 };
Guide_TM( 35 ) = { 1, 0x00, 0x01, 0x0B, 0 };
Guide_TM( 36 ) = { 1, 0x00, 0x01, 0x3B, 0 };
Guide_TM( 37 ) = { 1, 0x00, 0x01, 0x0F, 0 };
Guide_TM( 38 ) = { 1, 0x00, 0x01, 0x52, 0 };
Guide_TM( 39 ) = { 1, 0x00, 0x01, 0x38, 0 };
Guide_TM( 40 ) = { 1, 0x00, 0x01, 0x3C, 0 };
Guide_TM( 41 ) = { 1, 0x00, 0x01, 0x21, 0 };
Guide_TM( 42 ) = { 1, 0x00, 0x01, 0x10, 0 };
Guide_TM( 43 ) = { 1, 0x00, 0x01, 0x39, 0 };
Guide_TM( 44 ) = { 1, 0x00, 0x01, 0x1E, 0 };
Guide_TM( 45 ) = { 1, 0x00, 0x01, 0x4E, 0 };
Guide_TM( 46 ) = { 1, 0x00, 0x01, 0x22, 0 };
Guide_TM( 47 ) = { 1, 0x00, 0x01, 0x4B, 0 };
Guide_TM( 48 ) = { 1, 0x00, 0x01, 0x0C, 0 };
Guide_TM( 49 ) = { 1, 0x00, 0x01, 0x4F, 0 };
Guide_TM( 50 ) = { 1, 0x00, 0x01, 0x33, 0 };
Guide_TM( 51 ) = { 1, 0x00, 0x01, 0x23, 0 };
Guide_TM( 52 ) = { 1, 0x00, 0x01, 0x07, 0 };
Guide_TM( 53 ) = { 1, 0x00, 0x01, 0x4C, 0 };
Guide_TM( 54 ) = { 1, 0x00, 0x01, 0x30, 0 };
Guide_TM( 55 ) = { 1, 0x00, 0x01, 0x0D, 0 };
Guide_TM( 56 ) = { 1, 0x00, 0x01, 0x34, 0 };
Guide_TM( 57 ) = { 1, 0x00, 0x01, 0x08, 0 };
Guide_TM( 58 ) = { 1, 0x00, 0x01, 0x1F, 0 };
Guide_TM( 59 ) = { 1, 0x00, 0x01, 0x48, 0 };
Guide_TM( 60 ) = { 1, 0x00, 0x01, 0x35, 0 };
Guide_TM( 61 ) = { 1, 0x00, 0x01, 0x1C, 0 };
Guide_TM( 62 ) = { 1, 0x00, 0x01, 0x45, 0 };
Guide_TM( 63 ) = { 1, 0x00, 0x01, 0x20, 0 };
Guide_TM( 64 ) = { 1, 0x00, 0x01, 0x04, 0 };
Guide_TM( 65 ) = { 1, 0x00, 0x01, 0x49, 0 };
Guide_TM( 66 ) = { 1, 0x00, 0x01, 0x1D, 0 };
Guide_TM( 67 ) = { 1, 0x00, 0x01, 0x31, 0 };
Guide_TM( 68 ) = { 1, 0x00, 0x01, 0x58, 0 };
Guide_TM( 69 ) = { 1, 0x00, 0x01, 0x05, 0 };
Guide_TM( 70 ) = { 1, 0x00, 0x01, 0x4A, 0 };
Guide_TM( 71 ) = { 1, 0x00, 0x01, 0x2C, 0 };
Guide_TM( 72 ) = { 1, 0x00, 0x01, 0x55, 0 };
Guide_TM( 73 ) = { 1, 0x00, 0x01, 0x32, 0 };
Guide_TM( 74 ) = { 1, 0x00, 0x01, 0x19, 0 };
Guide_TM( 75 ) = { 1, 0x00, 0x01, 0x59, 0 };
Guide_TM( 76 ) = { 1, 0x00, 0x01, 0x06, 0 };
Guide_TM( 77 ) = { 1, 0x00, 0x01, 0x03, 0 };
Guide_TM( 78 ) = { 1, 0x00, 0x01, 0x33, 0 };
Guide_TM( 79 ) = { 1, 0x00, 0x01, 0x07, 0 };
Guide_TM( 80 ) = { 1, 0x00, 0x01, 0x30, 0 };
Guide_TM( 81 ) = { 1, 0x00, 0x01, 0x34, 0 };
Guide_TM( 82 ) = { 1, 0x00, 0x01, 0x04, 0 };
Guide_TM( 83 ) = { 1, 0x00, 0x01, 0x31, 0 };
Guide_TM( 84 ) = { 1, 0x00, 0x01, 0x05, 0 };
Guide_TM( 85 ) = { 1, 0x00, 0x01, 0x32, 0 };
Guide_TM( 86 ) = { 1, 0x00, 0x01, 0x34, 0 };
Guide_TM( 87 ) = { 1, 0x00, 0x01, 0x08, 0 };
Guide_TM( 88 ) = { 1, 0x00, 0x01, 0x35, 0 };
// -- Trigger Macro List
// Indexed Table of Trigger Macros
const TriggerMacro TriggerMacroList[] = {
Define_TM( 0, 0 ),
Define_TM( 1, 1 ),
Define_TM( 2, 2 ),
Define_TM( 3, 3 ),
Define_TM( 4, 4 ),
Define_TM( 5, 5 ),
Define_TM( 6, 6 ),
Define_TM( 7, 7 ),
Define_TM( 8, 8 ),
Define_TM( 9, 9 ),
Define_TM( 10, 10 ),
Define_TM( 11, 11 ),
Define_TM( 12, 12 ),
Define_TM( 13, 13 ),
Define_TM( 14, 14 ),
Define_TM( 15, 15 ),
Define_TM( 16, 16 ),
Define_TM( 17, 17 ),
Define_TM( 18, 18 ),
Define_TM( 19, 19 ),
Define_TM( 20, 20 ),
Define_TM( 21, 21 ),
Define_TM( 22, 22 ),
Define_TM( 23, 23 ),
Define_TM( 24, 24 ),
Define_TM( 25, 25 ),
Define_TM( 26, 21 ),
Define_TM( 27, 26 ),
Define_TM( 28, 27 ),
Define_TM( 29, 28 ),
Define_TM( 30, 29 ),
Define_TM( 31, 30 ),
Define_TM( 32, 31 ),
Define_TM( 33, 32 ),
Define_TM( 34, 33 ),
Define_TM( 35, 34 ),
Define_TM( 36, 35 ),
Define_TM( 37, 36 ),
Define_TM( 38, 37 ),
Define_TM( 39, 38 ),
Define_TM( 40, 39 ),
Define_TM( 41, 40 ),
Define_TM( 42, 41 ),
Define_TM( 43, 42 ),
Define_TM( 44, 43 ),
Define_TM( 45, 44 ),
Define_TM( 46, 45 ),
Define_TM( 47, 46 ),
Define_TM( 48, 47 ),
Define_TM( 49, 48 ),
Define_TM( 50, 49 ),
Define_TM( 51, 50 ),
Define_TM( 52, 51 ),
Define_TM( 53, 52 ),
Define_TM( 54, 53 ),
Define_TM( 55, 54 ),
Define_TM( 56, 55 ),
Define_TM( 57, 56 ),
Define_TM( 58, 57 ),
Define_TM( 59, 58 ),
Define_TM( 60, 59 ),
Define_TM( 61, 60 ),
Define_TM( 62, 61 ),
Define_TM( 63, 62 ),
Define_TM( 64, 63 ),
Define_TM( 65, 64 ),
Define_TM( 66, 65 ),
Define_TM( 67, 66 ),
Define_TM( 68, 67 ),
Define_TM( 69, 68 ),
Define_TM( 70, 69 ),
Define_TM( 71, 70 ),
Define_TM( 72, 71 ),
Define_TM( 73, 72 ),
Define_TM( 74, 73 ),
Define_TM( 75, 74 ),
Define_TM( 76, 75 ),
Define_TM( 77, 76 ),
Define_TM( 78, 77 ),
Define_TM( 79, 78 ),
Define_TM( 80, 19 ),
Define_TM( 81, 79 ),
Define_TM( 82, 80 ),
Define_TM( 83, 14 ),
Define_TM( 84, 81 ),
Define_TM( 85, 8 ),
Define_TM( 86, 82 ),
Define_TM( 87, 82 ),
Define_TM( 88, 82 ),
};
// -- Trigger Macro Record List
// Keeps a record/state of each trigger macro
TriggerMacroRecord TriggerMacroRecordList[ TriggerMacroNum ];
// ----- Trigger Maps -----
// MaxScanCode
// - This is retrieved from the KLL configuration
// - Should be corollated with the max scan code in the scan module
// - Maximum value is 0x100 (0x0 to 0xFF)
// - Increasing it beyond the keyboard's capabilities is just a waste of ram...
#define MaxScanCode 0x59
// -- Trigger Lists
//
// Index 0: # of triggers in list
// Index n: pointer to trigger macro - use tm() macro
// - Default Layer -
Define_TL( default, 0x02 ) = { 1, 6 };
Define_TL( default, 0x03 ) = { 1, 13 };
Define_TL( default, 0x04 ) = { 1, 64 };
Define_TL( default, 0x05 ) = { 1, 69 };
Define_TL( default, 0x06 ) = { 1, 0 };
Define_TL( default, 0x07 ) = { 1, 52 };
Define_TL( default, 0x08 ) = { 1, 57 };
Define_TL( default, 0x09 ) = { 0 };
Define_TL( default, 0x0A ) = { 0 };
Define_TL( default, 0x0B ) = { 1, 35 };
Define_TL( default, 0x0C ) = { 1, 48 };
Define_TL( default, 0x0D ) = { 1, 55 };
Define_TL( default, 0x0E ) = { 1, 32 };
Define_TL( default, 0x0F ) = { 1, 37 };
Define_TL( default, 0x10 ) = { 1, 42 };
Define_TL( default, 0x11 ) = { 1, 20 };
Define_TL( default, 0x12 ) = { 0 };
Define_TL( default, 0x13 ) = { 0 };
Define_TL( default, 0x14 ) = { 0 };
Define_TL( default, 0x15 ) = { 1, 25 };
Define_TL( default, 0x16 ) = { 1, 2 };
Define_TL( default, 0x17 ) = { 1, 16 };
Define_TL( default, 0x18 ) = { 1, 23 };
Define_TL( default, 0x19 ) = { 1, 74 };
Define_TL( default, 0x1A ) = { 1, 4 };
Define_TL( default, 0x1B ) = { 1, 9 };
Define_TL( default, 0x1C ) = { 1, 61 };
Define_TL( default, 0x1D ) = { 1, 66 };
Define_TL( default, 0x1E ) = { 1, 44 };
Define_TL( default, 0x1F ) = { 1, 58 };
Define_TL( default, 0x20 ) = { 1, 63 };
Define_TL( default, 0x21 ) = { 1, 41 };
Define_TL( default, 0x22 ) = { 1, 46 };
Define_TL( default, 0x23 ) = { 1, 51 };
Define_TL( default, 0x24 ) = { 1, 29 };
Define_TL( default, 0x25 ) = { 1, 34 };
Define_TL( default, 0x26 ) = { 1, 11 };
Define_TL( default, 0x27 ) = { 1, 26 };
Define_TL( default, 0x28 ) = { 1, 31 };
Define_TL( default, 0x29 ) = { 1, 8 };
Define_TL( default, 0x2A ) = { 1, 14 };
Define_TL( default, 0x2B ) = { 1, 19 };
Define_TL( default, 0x2C ) = { 1, 71 };
Define_TL( default, 0x2D ) = { 0 };
Define_TL( default, 0x2E ) = { 0 };
Define_TL( default, 0x2F ) = { 1, 1 };
Define_TL( default, 0x30 ) = { 1, 54 };
Define_TL( default, 0x31 ) = { 1, 67 };
Define_TL( default, 0x32 ) = { 1, 73 };
Define_TL( default, 0x33 ) = { 1, 50 };
Define_TL( default, 0x34 ) = { 1, 56 };
Define_TL( default, 0x35 ) = { 1, 60 };
Define_TL( default, 0x36 ) = { 0 };
Define_TL( default, 0x37 ) = { 0 };
Define_TL( default, 0x38 ) = { 1, 39 };
Define_TL( default, 0x39 ) = { 1, 43 };
Define_TL( default, 0x3A ) = { 1, 22 };
Define_TL( default, 0x3B ) = { 1, 36 };
Define_TL( default, 0x3C ) = { 1, 40 };
Define_TL( default, 0x3D ) = { 1, 18 };
Define_TL( default, 0x3E ) = { 1, 24 };
Define_TL( default, 0x3F ) = { 0 };
Define_TL( default, 0x40 ) = { 0 };
Define_TL( default, 0x41 ) = { 0 };
Define_TL( default, 0x42 ) = { 1, 28 };
Define_TL( default, 0x43 ) = { 1, 5 };
Define_TL( default, 0x44 ) = { 1, 10 };
Define_TL( default, 0x45 ) = { 1, 62 };
Define_TL( default, 0x46 ) = { 1, 3 };
Define_TL( default, 0x47 ) = { 1, 7 };
Define_TL( default, 0x48 ) = { 1, 59 };
Define_TL( default, 0x49 ) = { 1, 65 };
Define_TL( default, 0x4A ) = { 1, 70 };
Define_TL( default, 0x4B ) = { 1, 47 };
Define_TL( default, 0x4C ) = { 1, 53 };
Define_TL( default, 0x4D ) = { 1, 30 };
Define_TL( default, 0x4E ) = { 1, 45 };
Define_TL( default, 0x4F ) = { 1, 49 };
Define_TL( default, 0x50 ) = { 1, 27 };
Define_TL( default, 0x51 ) = { 1, 33 };
Define_TL( default, 0x52 ) = { 1, 38 };
Define_TL( default, 0x53 ) = { 1, 15 };
Define_TL( default, 0x54 ) = { 1, 21 };
Define_TL( default, 0x55 ) = { 1, 72 };
Define_TL( default, 0x56 ) = { 1, 12 };
Define_TL( default, 0x57 ) = { 1, 17 };
Define_TL( default, 0x58 ) = { 1, 68 };
Define_TL( default, 0x59 ) = { 1, 75 };
// - Partial Layers -
// Partial Layer 1
Define_TL( layer1, 0x03 ) = { 1, 77 };
Define_TL( layer1, 0x04 ) = { 1, 82 };
Define_TL( layer1, 0x05 ) = { 1, 84 };
Define_TL( layer1, 0x06 ) = { 1, 76 };
Define_TL( layer1, 0x07 ) = { 1, 79 };
Define_TL( layer1, 0x08 ) = { 0 };
Define_TL( layer1, 0x09 ) = { 0 };
Define_TL( layer1, 0x0A ) = { 0 };
Define_TL( layer1, 0x0B ) = { 0 };
Define_TL( layer1, 0x0C ) = { 0 };
Define_TL( layer1, 0x0D ) = { 0 };
Define_TL( layer1, 0x0E ) = { 0 };
Define_TL( layer1, 0x0F ) = { 0 };
Define_TL( layer1, 0x10 ) = { 0 };
Define_TL( layer1, 0x11 ) = { 0 };
Define_TL( layer1, 0x12 ) = { 0 };
Define_TL( layer1, 0x13 ) = { 0 };
Define_TL( layer1, 0x14 ) = { 0 };
Define_TL( layer1, 0x15 ) = { 0 };
Define_TL( layer1, 0x16 ) = { 0 };
Define_TL( layer1, 0x17 ) = { 0 };
Define_TL( layer1, 0x18 ) = { 0 };
Define_TL( layer1, 0x19 ) = { 0 };
Define_TL( layer1, 0x1A ) = { 0 };
Define_TL( layer1, 0x1B ) = { 0 };
Define_TL( layer1, 0x1C ) = { 0 };
Define_TL( layer1, 0x1D ) = { 0 };
Define_TL( layer1, 0x1E ) = { 0 };
Define_TL( layer1, 0x1F ) = { 0 };
Define_TL( layer1, 0x20 ) = { 0 };
Define_TL( layer1, 0x21 ) = { 0 };
Define_TL( layer1, 0x22 ) = { 0 };
Define_TL( layer1, 0x23 ) = { 0 };
Define_TL( layer1, 0x24 ) = { 0 };
Define_TL( layer1, 0x25 ) = { 0 };
Define_TL( layer1, 0x26 ) = { 0 };
Define_TL( layer1, 0x27 ) = { 0 };
Define_TL( layer1, 0x28 ) = { 0 };
Define_TL( layer1, 0x29 ) = { 0 };
Define_TL( layer1, 0x2A ) = { 0 };
Define_TL( layer1, 0x2B ) = { 0 };
Define_TL( layer1, 0x2C ) = { 0 };
Define_TL( layer1, 0x2D ) = { 0 };
Define_TL( layer1, 0x2E ) = { 0 };
Define_TL( layer1, 0x2F ) = { 0 };
Define_TL( layer1, 0x30 ) = { 1, 80 };
Define_TL( layer1, 0x31 ) = { 1, 83 };
Define_TL( layer1, 0x32 ) = { 1, 85 };
Define_TL( layer1, 0x33 ) = { 1, 78 };
Define_TL( layer1, 0x34 ) = { 1, 81 };
// Partial Layer 2
Define_TL( layer2, 0x08 ) = { 1, 87 };
Define_TL( layer2, 0x09 ) = { 0 };
Define_TL( layer2, 0x0A ) = { 0 };
Define_TL( layer2, 0x0B ) = { 0 };
Define_TL( layer2, 0x0C ) = { 0 };
Define_TL( layer2, 0x0D ) = { 0 };
Define_TL( layer2, 0x0E ) = { 0 };
Define_TL( layer2, 0x0F ) = { 0 };
Define_TL( layer2, 0x10 ) = { 0 };
Define_TL( layer2, 0x11 ) = { 0 };
Define_TL( layer2, 0x12 ) = { 0 };
Define_TL( layer2, 0x13 ) = { 0 };
Define_TL( layer2, 0x14 ) = { 0 };
Define_TL( layer2, 0x15 ) = { 0 };
Define_TL( layer2, 0x16 ) = { 0 };
Define_TL( layer2, 0x17 ) = { 0 };
Define_TL( layer2, 0x18 ) = { 0 };
Define_TL( layer2, 0x19 ) = { 0 };
Define_TL( layer2, 0x1A ) = { 0 };
Define_TL( layer2, 0x1B ) = { 0 };
Define_TL( layer2, 0x1C ) = { 0 };
Define_TL( layer2, 0x1D ) = { 0 };
Define_TL( layer2, 0x1E ) = { 0 };
Define_TL( layer2, 0x1F ) = { 0 };
Define_TL( layer2, 0x20 ) = { 0 };
Define_TL( layer2, 0x21 ) = { 0 };
Define_TL( layer2, 0x22 ) = { 0 };
Define_TL( layer2, 0x23 ) = { 0 };
Define_TL( layer2, 0x24 ) = { 0 };
Define_TL( layer2, 0x25 ) = { 0 };
Define_TL( layer2, 0x26 ) = { 0 };
Define_TL( layer2, 0x27 ) = { 0 };
Define_TL( layer2, 0x28 ) = { 0 };
Define_TL( layer2, 0x29 ) = { 0 };
Define_TL( layer2, 0x2A ) = { 0 };
Define_TL( layer2, 0x2B ) = { 0 };
Define_TL( layer2, 0x2C ) = { 0 };
Define_TL( layer2, 0x2D ) = { 0 };
Define_TL( layer2, 0x2E ) = { 0 };
Define_TL( layer2, 0x2F ) = { 0 };
Define_TL( layer2, 0x30 ) = { 0 };
Define_TL( layer2, 0x31 ) = { 0 };
Define_TL( layer2, 0x32 ) = { 0 };
Define_TL( layer2, 0x33 ) = { 0 };
Define_TL( layer2, 0x34 ) = { 1, 86 };
Define_TL( layer2, 0x35 ) = { 1, 88 };
// -- ScanCode Offset Map
// Maps interconnect ids to scancode offsets
//
// Only used for keyboards with an interconnect
const uint8_t InterconnectOffsetList[] = {
0x2D,
0x59,
};
// -- ScanCode Indexed Maps
// Maps to a trigger list of macro pointers
// _
// <scan code> -> |T|
// |r| -> <trigger macro pointer 1>
// |i|
// |g| -> <trigger macro pointer 2>
// |g|
// |e| -> <trigger macro pointer 3>
// |r|
// |s| -> <trigger macro pointer n>
// -
// - Default Map for ScanCode Lookup -
const nat_ptr_t *default_scanMap[] = {
default_tl_0x02, default_tl_0x03, default_tl_0x04, default_tl_0x05, default_tl_0x06, default_tl_0x07, default_tl_0x08, default_tl_0x09, default_tl_0x0A, default_tl_0x0B, default_tl_0x0C, default_tl_0x0D, default_tl_0x0E, default_tl_0x0F, default_tl_0x10, default_tl_0x11, default_tl_0x12, default_tl_0x13, default_tl_0x14, default_tl_0x15, default_tl_0x16, default_tl_0x17, default_tl_0x18, default_tl_0x19, default_tl_0x1A, default_tl_0x1B, default_tl_0x1C, default_tl_0x1D, default_tl_0x1E, default_tl_0x1F, default_tl_0x20, default_tl_0x21, default_tl_0x22, default_tl_0x23, default_tl_0x24, default_tl_0x25, default_tl_0x26, default_tl_0x27, default_tl_0x28, default_tl_0x29, default_tl_0x2A, default_tl_0x2B, default_tl_0x2C, default_tl_0x2D, default_tl_0x2E, default_tl_0x2F, default_tl_0x30, default_tl_0x31, default_tl_0x32, default_tl_0x33, default_tl_0x34, default_tl_0x35, default_tl_0x36, default_tl_0x37, default_tl_0x38, default_tl_0x39, default_tl_0x3A, default_tl_0x3B, default_tl_0x3C, default_tl_0x3D, default_tl_0x3E, default_tl_0x3F, default_tl_0x40, default_tl_0x41, default_tl_0x42, default_tl_0x43, default_tl_0x44, default_tl_0x45, default_tl_0x46, default_tl_0x47, default_tl_0x48, default_tl_0x49, default_tl_0x4A, default_tl_0x4B, default_tl_0x4C, default_tl_0x4D, default_tl_0x4E, default_tl_0x4F, default_tl_0x50, default_tl_0x51, default_tl_0x52, default_tl_0x53, default_tl_0x54, default_tl_0x55, default_tl_0x56, default_tl_0x57, default_tl_0x58, default_tl_0x59
};
// - Partial Layer ScanCode Lookup Maps -
// Partial Layer 1
const nat_ptr_t *layer1_scanMap[] = {
layer1_tl_0x03, layer1_tl_0x04, layer1_tl_0x05, layer1_tl_0x06, layer1_tl_0x07, layer1_tl_0x08, layer1_tl_0x09, layer1_tl_0x0A, layer1_tl_0x0B, layer1_tl_0x0C, layer1_tl_0x0D, layer1_tl_0x0E, layer1_tl_0x0F, layer1_tl_0x10, layer1_tl_0x11, layer1_tl_0x12, layer1_tl_0x13, layer1_tl_0x14, layer1_tl_0x15, layer1_tl_0x16, layer1_tl_0x17, layer1_tl_0x18, layer1_tl_0x19, layer1_tl_0x1A, layer1_tl_0x1B, layer1_tl_0x1C, layer1_tl_0x1D, layer1_tl_0x1E, layer1_tl_0x1F, layer1_tl_0x20, layer1_tl_0x21, layer1_tl_0x22, layer1_tl_0x23, layer1_tl_0x24, layer1_tl_0x25, layer1_tl_0x26, layer1_tl_0x27, layer1_tl_0x28, layer1_tl_0x29, layer1_tl_0x2A, layer1_tl_0x2B, layer1_tl_0x2C, layer1_tl_0x2D, layer1_tl_0x2E, layer1_tl_0x2F, layer1_tl_0x30, layer1_tl_0x31, layer1_tl_0x32, layer1_tl_0x33, layer1_tl_0x34
};
// Partial Layer 2
const nat_ptr_t *layer2_scanMap[] = {
layer2_tl_0x08, layer2_tl_0x09, layer2_tl_0x0A, layer2_tl_0x0B, layer2_tl_0x0C, layer2_tl_0x0D, layer2_tl_0x0E, layer2_tl_0x0F, layer2_tl_0x10, layer2_tl_0x11, layer2_tl_0x12, layer2_tl_0x13, layer2_tl_0x14, layer2_tl_0x15, layer2_tl_0x16, layer2_tl_0x17, layer2_tl_0x18, layer2_tl_0x19, layer2_tl_0x1A, layer2_tl_0x1B, layer2_tl_0x1C, layer2_tl_0x1D, layer2_tl_0x1E, layer2_tl_0x1F, layer2_tl_0x20, layer2_tl_0x21, layer2_tl_0x22, layer2_tl_0x23, layer2_tl_0x24, layer2_tl_0x25, layer2_tl_0x26, layer2_tl_0x27, layer2_tl_0x28, layer2_tl_0x29, layer2_tl_0x2A, layer2_tl_0x2B, layer2_tl_0x2C, layer2_tl_0x2D, layer2_tl_0x2E, layer2_tl_0x2F, layer2_tl_0x30, layer2_tl_0x31, layer2_tl_0x32, layer2_tl_0x33, layer2_tl_0x34, layer2_tl_0x35
};
// ----- Layer Index -----
// -- Layer Index List
//
// Index 0: Default map
// Index n: Additional layers
const Layer LayerIndex[] = {
Layer_IN( default_scanMap, "D: MDErgo1 + lcdFuncMap", 0x02 ),
Layer_IN( layer1_scanMap, "1: MDErgo1 + lcdFuncMap", 0x03 ),
Layer_IN( layer2_scanMap, "2: MDErgo1 + lcdFuncMap", 0x08 ),
};
// - Layer State
uint8_t LayerState[ LayerNum ];
// ----- Key Positions -----
// -- Physical Key Positions
//
// Index 0: Key 1
// Each key has 6 dimensions
// x,y,z and rx,ry,rz (rotation)
// Units are in mm

View File

@ -1,260 +0,0 @@
/* Copyright (C) 2014-2016 by Jacob Alexander
*
* This file is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This file is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this file. If not, see <http://www.gnu.org/licenses/>.
*/
// This file was generated by the kll compiler, DO NOT EDIT.
// Generation Date: 2018-07-07
// KLL Backend: kiibohd
// KLL Git Rev: ee4008a1905ca14bac641f581304c3b967b8ddc3
// KLL Git Changes: None
// Compiler arguments:
// /srv/KiiConf/controller-lts/kll/kll.py
// /srv/KiiConf/controller-lts/Scan/ISSILed/capabilities.kll
// /srv/KiiConf/controller-lts/Scan/MatrixARM/capabilities.kll
// /srv/KiiConf/controller-lts/Scan/STLcd/capabilities.kll
// /srv/KiiConf/controller-lts/Scan/UARTConnect/capabilities.kll
// /srv/KiiConf/controller-lts/Macro/PartialMap/capabilities.kll
// /srv/KiiConf/controller-lts/Output/pjrcUSB/capabilities.kll
// /srv/KiiConf/controller-lts/Scan/MDErgo1/scancode_map.kll
// /srv/KiiConf/controller-lts/Scan/MDErgo1/leftHand.kll
// /srv/KiiConf/controller-lts/Scan/MDErgo1/slave1.kll
// /srv/KiiConf/controller-lts/Scan/MDErgo1/rightHand.kll
// -d
// MDErgo1-Blank-0.kll
// /srv/KiiConf/controller-lts/kll/layouts/lcdFuncMap.kll
// -p
// MDErgo1-Blank-1.kll
// /srv/KiiConf/controller-lts/kll/layouts/lcdFuncMap.kll
// -p
// MDErgo1-Blank-2.kll
// /srv/KiiConf/controller-lts/kll/layouts/lcdFuncMap.kll
// --backend
// kiibohd
// --templates
// /srv/KiiConf/controller-lts/kll/templates/kiibohdKeymap.h
// /srv/KiiConf/controller-lts/kll/templates/kiibohdDefs.h
// --outputs
// generatedKeymap.h
// kll_defs.h
//
// - Base Layer -
// ISSILedCapabilities
// /srv/KiiConf/controller-lts/Scan/ISSILed/capabilities.kll
// MatrixArmCapabilities
// /srv/KiiConf/controller-lts/Scan/MatrixARM/capabilities.kll
// STLcdCapabilities
// /srv/KiiConf/controller-lts/Scan/STLcd/capabilities.kll
// UARTConnectCapabilities
// /srv/KiiConf/controller-lts/Scan/UARTConnect/capabilities.kll
// PartialMapCapabilities
// /srv/KiiConf/controller-lts/Macro/PartialMap/capabilities.kll
// pjrcUSBCapabilities
// /srv/KiiConf/controller-lts/Output/pjrcUSB/capabilities.kll
// MDErgo1
// /srv/KiiConf/controller-lts/Scan/MDErgo1/scancode_map.kll
// MDErgo1LeftHand
// /srv/KiiConf/controller-lts/Scan/MDErgo1/leftHand.kll
// MDErgo1Slave1
// /srv/KiiConf/controller-lts/Scan/MDErgo1/slave1.kll
// MDErgo1RightHand
// /srv/KiiConf/controller-lts/Scan/MDErgo1/rightHand.kll
// - Default Layer -
// MDErgo1
// MDErgo1-Blank-0.kll
// lcdFuncMap
// /srv/KiiConf/controller-lts/kll/layouts/lcdFuncMap.kll
// - Partial Layers -
// Layer 1
// MDErgo1
// MDErgo1-Blank-1.kll
// lcdFuncMap
// /srv/KiiConf/controller-lts/kll/layouts/lcdFuncMap.kll
// Layer 2
// MDErgo1
// MDErgo1-Blank-2.kll
// lcdFuncMap
// /srv/KiiConf/controller-lts/kll/layouts/lcdFuncMap.kll
#pragma once
// ----- Enums -----
// Capability Indices
typedef enum CapabilityIndex {
LCD_layerStackExact_capability_index,
LCD_layerStack_capability_index,
LED_control_capability_index,
Macro_layerLatch_capability_index,
Macro_layerLock_capability_index,
Macro_layerRotate_capability_index,
Macro_layerShift_capability_index,
Macro_layerState_capability_index,
Output_consCtrlSend_capability_index,
Output_flashMode_capability_index,
Output_kbdProtocolBoot_capability_index,
Output_kbdProtocolNKRO_capability_index,
Output_noneSend_capability_index,
Output_sysCtrlSend_capability_index,
Output_toggleKbdProtocol_capability_index,
Output_usbCodeSend_capability_index,
Output_usbMouse_capability_index,
} CapabilityIndex;
// ----- Defines -----
// -- Interconnect Node Maximum --
#define InterconnectNodeMax 0x2
// -- Capability / KLL Defines --
#define flashModeEnabled_define 0
#define UARTConnectCableCheckLength_define 2
#define STLcdNumber9_define \
0x00, 0x00, 0x00, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x00, 0x00, 0x00, \
0x00, 0x00, 0x00, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x00, 0x00, 0x00, \
0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x00, 0x00, 0x00, \
0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xfc, 0xfc, 0xfc, 0xfc, 0xfc, 0xfc, 0xfc, 0xfc, 0xfc, 0xfc, 0xfc, 0xfc, 0xfc, 0xfc, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x00, 0x00, 0x00, \
#define STLcdNumber5Color_define 0xB7B7, 0x5D5D, 0x8545
#define enableUSBSuspend_define 1
#define UARTConnectBaudFine_define 0
#define MinDebounceTime_define 5
#define STLcdDefaultImage_define \
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xc0, 0xc0, 0xc0, 0xc0, 0xc0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff, 0xff, 0x1f, 0x1f, 0x1f, 0x1f, 0x1f, 0x1f, 0x1f, 0x1f, 0x1f, 0x1f, 0x1f, 0x1f, 0x1f, 0x1f, 0x1f, 0x1f, 0x1f, 0x1f, 0x1f, 0x1f, 0x1f, 0x1f, 0x1f, 0x1f, 0x1f, 0x1f, 0x1f, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x03, 0x03, 0x03, 0x03, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xc0, 0xc0, 0xc0, 0xc0, 0xc0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x03, 0x03, 0x03, 0x03, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff, 0xff, 0xf8, 0xf8, 0xf8, 0xf8, 0xf8, 0xf8, 0xf8, 0xf8, 0xf8, 0xf8, 0xf8, 0xf8, 0xf8, 0xf8, 0xf8, 0xf8, 0xf8, 0xf8, 0xf8, 0xf8, 0xf8, 0xf8, 0xf8, 0xf8, 0xf8, 0xf8, 0xf8, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \
#define StrobeDelay_define 0
#define STLcdNumber7_define \
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x00, 0x00, 0x00, \
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x00, 0x00, 0x00, \
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x00, 0x00, 0x00, \
0x00, 0x00, 0x00, 0xfc, 0xfc, 0xfc, 0xfc, 0xfc, 0xfc, 0xfc, 0xfc, 0xfc, 0xfc, 0xfc, 0xfc, 0xfc, 0xfc, 0xfc, 0xfc, 0xfc, 0xfc, 0xfc, 0xfc, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x00, 0x00, 0x00, \
#define KeyboardLocale_define 0
#define STLcdBacklightBlue_define 4095
#define STLcdNumber7Color_define 0x00C1, 0x7E7E, 0x3C3C
#define enableVirtualSerialPort_define 1
#define LCDEnabled_define 1
#define STLcdBacklightPrescalar_define 0
#define STLcdNumber6_define \
0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x00, 0x00, 0x00, \
0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x00, 0x00, 0x00, \
0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x00, 0x00, 0x00, \
0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xfc, 0xfc, 0xfc, 0xfc, 0xfc, 0xfc, 0xfc, 0xfc, 0xfc, 0xfc, 0xfc, 0xfc, 0xfc, 0xfc, 0xfc, 0xfc, 0xfc, 0xfc, 0xfc, 0xfc, 0x00, 0x00, 0x00, \
#define DebounceThrottleDiv_define 0
#define ISSILedMask1_define \
0xFF, 0x00, /* C1-1 -> C1-16 */ \
0xFF, 0x00, /* C2-1 -> C2-16 */ \
0xFF, 0x00, /* C3-1 -> C3-16 */ \
0xFF, 0x00, /* C4-1 -> C4-16 */ \
0x3F, 0x00, /* C5-1 -> C5-16 */ \
0x00, 0x00, /* C6-1 -> C6-16 */ \
0x00, 0x00, /* C7-1 -> C7-16 */ \
0x00, 0x00, /* C8-1 -> C8-16 */ \
0x00, 0x00, /* C9-1 -> C9-16 */ \
#define STLcdNumber2_define \
0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x00, 0x00, 0x00, \
0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0x00, 0x00, 0x00, \
0x00, 0x00, 0x00, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x00, 0x00, 0x00, \
0x00, 0x00, 0x00, 0xfc, 0xfc, 0xfc, 0xfc, 0xfc, 0xfc, 0xfc, 0xfc, 0xfc, 0xfc, 0xfc, 0xfc, 0xfc, 0xfc, 0xfc, 0xfc, 0xfc, 0xfc, 0xfc, 0xfc, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x00, 0x00, 0x00, \
#define STLcdNumber8Color_define 0x8303, 0x1394, 0xB9F9
#define STLcdNumber6Color_define 0xBCFC, 0xB6F6, 0x2D2D
#define STLcdNumber0Color_define 0xB939, 0xAAEA, 0x8D8D
#define STLcdNumber0_define \
0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x00, 0x00, 0x00, \
0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x00, 0x00, 0x00, \
0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x00, 0x00, 0x00, \
0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xfc, 0xfc, 0xfc, 0xfc, 0xfc, 0xfc, 0xfc, 0xfc, 0xfc, 0xfc, 0xfc, 0xfc, 0xfc, 0xfc, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x00, 0x00, 0x00, \
#define ConnectEnabled_define 1
#define STLcdNumber3Color_define 0x0000, 0x8242, 0xB3F3
#define DebounceDivThreshold_define 65535
#define STLcdNumber1Color_define 0xA8A8, 0x2727, 0x1FA0
#define enableKeyboard_define 1
#define STLcdNumber4_define \
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x00, 0x00, 0x00, \
0x00, 0x00, 0x00, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x00, 0x00, 0x00, \
0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x00, 0x00, 0x00, \
0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x00, 0x00, 0x00, \
#define STLcdNumber5_define \
0x00, 0x00, 0x00, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x00, 0x00, 0x00, \
0x00, 0x00, 0x00, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x00, 0x00, 0x00, \
0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x00, 0x00, 0x00, \
0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xfc, 0xfc, 0xfc, 0xfc, 0xfc, 0xfc, 0xfc, 0xfc, 0xfc, 0xfc, 0xfc, 0xfc, 0xfc, 0xfc, 0xfc, 0xfc, 0xfc, 0xfc, 0xfc, 0xfc, 0x00, 0x00, 0x00, \
#define USBProtocol_define 1
#define enableDeviceRestartOnUSBTimeout_define 0
#define enableMouse_define 1
#define ISSILedBrightness1_define \
0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* C1-1 -> C1-16 */ \
0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* C2-1 -> C2-16 */ \
0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* C3-1 -> C3-16 */ \
0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* C4-1 -> C4-16 */ \
0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* C5-1 -> C5-16 */ \
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* C6-1 -> C6-16 */ \
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* C7-1 -> C7-16 */ \
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* C8-1 -> C8-16 */ \
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* C9-1 -> C9-16 */ \
#define UARTConnectBufSize_define 128
#define STLcdNumber8_define \
0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x00, 0x00, 0x00, \
0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x00, 0x00, 0x00, \
0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x00, 0x00, 0x00, \
0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xfc, 0xfc, 0xfc, 0xfc, 0xfc, 0xfc, 0xfc, 0xfc, 0xfc, 0xfc, 0xfc, 0xfc, 0xfc, 0xfc, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x00, 0x00, 0x00, \
#define enableRawIO_define 0
#define UARTConnectBaud_define 1
#define STLcdBacklightGreen_define 4095
#define STLcdNumber3_define \
0x00, 0x00, 0x00, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x00, 0x00, 0x00, \
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x00, 0x00, 0x00, \
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x00, 0x00, 0x00, \
0x00, 0x00, 0x00, 0xfc, 0xfc, 0xfc, 0xfc, 0xfc, 0xfc, 0xfc, 0xfc, 0xfc, 0xfc, 0xfc, 0xfc, 0xfc, 0xfc, 0xfc, 0xfc, 0xfc, 0xfc, 0xfc, 0xfc, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x00, 0x00, 0x00, \
#define STLcdNumber1_define \
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \
#define enableUSBLowPowerNegotiation_define 0
#define enableJoystick_define 0
#define enableUSBResume_define 1
#define STLcdNumber9Color_define 0x09CA, 0x12D3, 0x8484
#define STLcdNumber4Color_define 0xF6F6, 0xA5A5, 0x4949
#define STLcdNumber2Color_define 0x4B4B, 0x8D8D, 0x34B5
#define StateWordSize_define 8
#define IndexWordSize_define 16
#define STLcdBacklightRed_define 4095
#define CapabilitiesNum_KLL 17
#define ResultMacroNum_KLL 83
#define TriggerMacroNum_KLL 89
#define LayerNum_KLL 3
// -- Built-in Defines --

View File

@ -1,804 +0,0 @@
/* Copyright (C) 2014-2016 by Jacob Alexander
*
* This file is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This file is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this file. If not, see <http://www.gnu.org/licenses/>.
*/
// This file was generated by the kll compiler, DO NOT EDIT.
// Generation Date: 2018-07-07
// KLL Backend: kiibohd
// KLL Git Rev: ee4008a1905ca14bac641f581304c3b967b8ddc3
// KLL Git Changes: None
// Compiler arguments:
// /srv/KiiConf/controller-lts/kll/kll.py
// /srv/KiiConf/controller-lts/Scan/ISSILed/capabilities.kll
// /srv/KiiConf/controller-lts/Scan/MatrixARM/capabilities.kll
// /srv/KiiConf/controller-lts/Scan/STLcd/capabilities.kll
// /srv/KiiConf/controller-lts/Scan/UARTConnect/capabilities.kll
// /srv/KiiConf/controller-lts/Macro/PartialMap/capabilities.kll
// /srv/KiiConf/controller-lts/Output/pjrcUSB/capabilities.kll
// /srv/KiiConf/controller-lts/Scan/MDErgo1/scancode_map.kll
// /srv/KiiConf/controller-lts/Scan/MDErgo1/rightHand.kll
// /srv/KiiConf/controller-lts/Scan/MDErgo1/slave1.kll
// /srv/KiiConf/controller-lts/Scan/MDErgo1/leftHand.kll
// -d
// MDErgo1-Blank-0.kll
// /srv/KiiConf/controller-lts/kll/layouts/lcdFuncMap.kll
// -p
// MDErgo1-Blank-1.kll
// /srv/KiiConf/controller-lts/kll/layouts/lcdFuncMap.kll
// -p
// MDErgo1-Blank-2.kll
// /srv/KiiConf/controller-lts/kll/layouts/lcdFuncMap.kll
// --backend
// kiibohd
// --templates
// /srv/KiiConf/controller-lts/kll/templates/kiibohdKeymap.h
// /srv/KiiConf/controller-lts/kll/templates/kiibohdDefs.h
// --outputs
// generatedKeymap.h
// kll_defs.h
//
// - Base Layer -
// ISSILedCapabilities
// /srv/KiiConf/controller-lts/Scan/ISSILed/capabilities.kll
// MatrixArmCapabilities
// /srv/KiiConf/controller-lts/Scan/MatrixARM/capabilities.kll
// STLcdCapabilities
// /srv/KiiConf/controller-lts/Scan/STLcd/capabilities.kll
// UARTConnectCapabilities
// /srv/KiiConf/controller-lts/Scan/UARTConnect/capabilities.kll
// PartialMapCapabilities
// /srv/KiiConf/controller-lts/Macro/PartialMap/capabilities.kll
// pjrcUSBCapabilities
// /srv/KiiConf/controller-lts/Output/pjrcUSB/capabilities.kll
// MDErgo1
// /srv/KiiConf/controller-lts/Scan/MDErgo1/scancode_map.kll
// MDErgo1RightHand
// /srv/KiiConf/controller-lts/Scan/MDErgo1/rightHand.kll
// MDErgo1Slave1
// /srv/KiiConf/controller-lts/Scan/MDErgo1/slave1.kll
// MDErgo1LeftHand
// /srv/KiiConf/controller-lts/Scan/MDErgo1/leftHand.kll
// - Default Layer -
// MDErgo1
// MDErgo1-Blank-0.kll
// lcdFuncMap
// /srv/KiiConf/controller-lts/kll/layouts/lcdFuncMap.kll
// - Partial Layers -
// Layer 1
// MDErgo1
// MDErgo1-Blank-1.kll
// lcdFuncMap
// /srv/KiiConf/controller-lts/kll/layouts/lcdFuncMap.kll
// Layer 2
// MDErgo1
// MDErgo1-Blank-2.kll
// lcdFuncMap
// /srv/KiiConf/controller-lts/kll/layouts/lcdFuncMap.kll
#pragma once
// ----- Includes -----
// KLL Include
#include <kll.h>
// ----- Capabilities -----
// Capability function declarations
void LCD_layerStackExact_capability( TriggerMacro *trigger, uint8_t state, uint8_t stateType, uint8_t *args );
void LCD_layerStack_capability( TriggerMacro *trigger, uint8_t state, uint8_t stateType, uint8_t *args );
void LED_control_capability( TriggerMacro *trigger, uint8_t state, uint8_t stateType, uint8_t *args );
void Macro_layerLatch_capability( TriggerMacro *trigger, uint8_t state, uint8_t stateType, uint8_t *args );
void Macro_layerLock_capability( TriggerMacro *trigger, uint8_t state, uint8_t stateType, uint8_t *args );
void Macro_layerRotate_capability( TriggerMacro *trigger, uint8_t state, uint8_t stateType, uint8_t *args );
void Macro_layerShift_capability( TriggerMacro *trigger, uint8_t state, uint8_t stateType, uint8_t *args );
void Macro_layerState_capability( TriggerMacro *trigger, uint8_t state, uint8_t stateType, uint8_t *args );
void Output_consCtrlSend_capability( TriggerMacro *trigger, uint8_t state, uint8_t stateType, uint8_t *args );
void Output_flashMode_capability( TriggerMacro *trigger, uint8_t state, uint8_t stateType, uint8_t *args );
void Output_kbdProtocolBoot_capability( TriggerMacro *trigger, uint8_t state, uint8_t stateType, uint8_t *args );
void Output_kbdProtocolNKRO_capability( TriggerMacro *trigger, uint8_t state, uint8_t stateType, uint8_t *args );
void Output_noneSend_capability( TriggerMacro *trigger, uint8_t state, uint8_t stateType, uint8_t *args );
void Output_sysCtrlSend_capability( TriggerMacro *trigger, uint8_t state, uint8_t stateType, uint8_t *args );
void Output_toggleKbdProtocol_capability( TriggerMacro *trigger, uint8_t state, uint8_t stateType, uint8_t *args );
void Output_usbCodeSend_capability( TriggerMacro *trigger, uint8_t state, uint8_t stateType, uint8_t *args );
void Output_usbMouse_capability( TriggerMacro *trigger, uint8_t state, uint8_t stateType, uint8_t *args );
// Indexed Capabilities Table
const Capability CapabilitiesList[] = {
{ LCD_layerStackExact_capability, 9 },
{ LCD_layerStack_capability, 0 },
{ LED_control_capability, 4 },
{ Macro_layerLatch_capability, 2 },
{ Macro_layerLock_capability, 2 },
{ Macro_layerRotate_capability, 1 },
{ Macro_layerShift_capability, 2 },
{ Macro_layerState_capability, 3 },
{ Output_consCtrlSend_capability, 2 },
{ Output_flashMode_capability, 0 },
{ Output_kbdProtocolBoot_capability, 0 },
{ Output_kbdProtocolNKRO_capability, 0 },
{ Output_noneSend_capability, 0 },
{ Output_sysCtrlSend_capability, 1 },
{ Output_toggleKbdProtocol_capability, 0 },
{ Output_usbCodeSend_capability, 1 },
{ Output_usbMouse_capability, 6 },
};
// -- Result Macros
// Result Macro Guides
Guide_RM( 0 ) = { 1, 15, KEY_9, 0 };
Guide_RM( 1 ) = { 1, 15, KEY_ESC, 0 };
Guide_RM( 2 ) = { 1, 15, KEY_J, 0 };
Guide_RM( 3 ) = { 1, 15, KEY_A, 0 };
Guide_RM( 4 ) = { 1, 15, KEY_QUOTE, 0 };
Guide_RM( 5 ) = { 1, 15, KEY_F, 0 };
Guide_RM( 6 ) = { 1, 15, KEY_BACKSLASH, 0 };
Guide_RM( 7 ) = { 1, 15, KEY_RCTRL, 0 };
Guide_RM( 8 ) = { 1, 15, KEY_DOWN, 0 };
Guide_RM( 9 ) = { 1, 15, KEY_RGUI, 0 };
Guide_RM( 10 ) = { 1, 15, KEY_D, 0 };
Guide_RM( 11 ) = { 1, 15, KEY_ENTER, 0 };
Guide_RM( 12 ) = { 1, 15, KEY_F8, 0 };
Guide_RM( 13 ) = { 1, 15, KEY_6, 0 };
Guide_RM( 14 ) = { 1, 15, KEY_UP, 0 };
Guide_RM( 15 ) = { 1, 15, KEY_DELETE, 0 };
Guide_RM( 16 ) = { 1, 15, KEY_K, 0 };
Guide_RM( 17 ) = { 1, 15, KEY_F7, 0 };
Guide_RM( 18 ) = { 1, 15, KEY_Q, 0 };
Guide_RM( 19 ) = { 1, 15, KEY_RIGHT, 0 };
Guide_RM( 20 ) = { 1, 15, KEY_RIGHT_BRACKET, 0 };
Guide_RM( 21 ) = { 1, 15, KEY_SPACE, 0 };
Guide_RM( 22 ) = { 1, 15, KEY_R, 0 };
Guide_RM( 23 ) = { 1, 15, KEY_L, 0 };
Guide_RM( 24 ) = { 1, 15, KEY_TAB, 0 };
Guide_RM( 25 ) = { 1, 15, KEY_H, 0 };
Guide_RM( 26 ) = { 1, 15, KEY_LSHIFT, 0 };
Guide_RM( 27 ) = { 1, 15, KEY_G, 0 };
Guide_RM( 28 ) = { 1, 15, KEY_PAGE_UP, 0 };
Guide_RM( 29 ) = { 1, 15, KEY_C, 0 };
Guide_RM( 30 ) = { 1, 15, KEY_LEFT, 0 };
Guide_RM( 31 ) = { 1, 15, KEY_I, 0 };
Guide_RM( 32 ) = { 1, 15, KEY_HOME, 0 };
Guide_RM( 33 ) = { 1, 15, KEY_PAGE_DOWN, 0 };
Guide_RM( 34 ) = { 1, 15, KEY_LEFT_BRACKET, 0 };
Guide_RM( 35 ) = { 1, 15, KEY_E, 0 };
Guide_RM( 36 ) = { 1, 15, KEY_O, 0 };
Guide_RM( 37 ) = { 1, 15, KEY_END, 0 };
Guide_RM( 38 ) = { 2, 4, 1, 0, 1, 0 };
Guide_RM( 39 ) = { 1, 15, KEY_W, 0 };
Guide_RM( 40 ) = { 1, 15, KEY_PERIOD, 0 };
Guide_RM( 41 ) = { 1, 15, KEY_P, 0 };
Guide_RM( 42 ) = { 1, 15, KEY_T, 0 };
Guide_RM( 43 ) = { 1, 15, KEY_N, 0 };
Guide_RM( 44 ) = { 1, 15, KEY_X, 0 };
Guide_RM( 45 ) = { 1, 15, KEY_SLASH, 0 };
Guide_RM( 46 ) = { 1, 15, KEY_B, 0 };
Guide_RM( 47 ) = { 1, 15, KEY_Y, 0 };
Guide_RM( 48 ) = { 1, 15, KEY_Z, 0 };
Guide_RM( 49 ) = { 1, 15, KEY_2, 0 };
Guide_RM( 50 ) = { 1, 15, KEY_RSHIFT, 0 };
Guide_RM( 51 ) = { 1, 15, KEY_0, 0 };
Guide_RM( 52 ) = { 1, 15, KEY_V, 0 };
Guide_RM( 53 ) = { 1, 15, KEY_5, 0 };
Guide_RM( 54 ) = { 1, 15, KEY_U, 0 };
Guide_RM( 55 ) = { 1, 15, KEY_1, 0 };
Guide_RM( 56 ) = { 1, 15, KEY_BACKSPACE, 0 };
Guide_RM( 57 ) = { 1, 15, KEY_M, 0 };
Guide_RM( 58 ) = { 1, 15, KEY_LGUI, 0 };
Guide_RM( 59 ) = { 1, 15, KEY_BACKTICK, 0 };
Guide_RM( 60 ) = { 1, 15, KEY_EQUAL, 0 };
Guide_RM( 61 ) = { 1, 15, KEY_S, 0 };
Guide_RM( 62 ) = { 1, 15, KEY_COMMA, 0 };
Guide_RM( 63 ) = { 1, 15, KEY_7, 0 };
Guide_RM( 64 ) = { 1, 15, KEY_MINUS, 0 };
Guide_RM( 65 ) = { 2, 6, 2, 0, 1, 0 };
Guide_RM( 66 ) = { 1, 15, KEY_4, 0 };
Guide_RM( 67 ) = { 1, 15, KEY_F6, 0 };
Guide_RM( 68 ) = { 1, 15, KEY_8, 0 };
Guide_RM( 69 ) = { 2, 6, 1, 0, 1, 0 };
Guide_RM( 70 ) = { 2, 5, 0, 1, 0 };
Guide_RM( 71 ) = { 1, 15, KEY_LALT, 0 };
Guide_RM( 72 ) = { 1, 15, KEY_3, 0 };
Guide_RM( 73 ) = { 1, 15, KEY_SEMICOLON, 0 };
Guide_RM( 74 ) = { 2, 5, 1, 1, 0 };
Guide_RM( 75 ) = { 1, 15, KEY_F9, 0 };
Guide_RM( 76 ) = { 1, 15, KEY_F2, 0 };
Guide_RM( 77 ) = { 1, 15, KEY_F10, 0 };
Guide_RM( 78 ) = { 1, 15, KEY_F5, 0 };
Guide_RM( 79 ) = { 1, 15, KEY_F1, 0 };
Guide_RM( 80 ) = { 1, 15, KEY_F4, 0 };
Guide_RM( 81 ) = { 1, 15, KEY_F3, 0 };
Guide_RM( 82 ) = { 1, 9, 0 };
// -- Result Macro List
// Indexed Table of Result Macros
const ResultMacro ResultMacroList[] = {
Define_RM( 0 ),
Define_RM( 1 ),
Define_RM( 2 ),
Define_RM( 3 ),
Define_RM( 4 ),
Define_RM( 5 ),
Define_RM( 6 ),
Define_RM( 7 ),
Define_RM( 8 ),
Define_RM( 9 ),
Define_RM( 10 ),
Define_RM( 11 ),
Define_RM( 12 ),
Define_RM( 13 ),
Define_RM( 14 ),
Define_RM( 15 ),
Define_RM( 16 ),
Define_RM( 17 ),
Define_RM( 18 ),
Define_RM( 19 ),
Define_RM( 20 ),
Define_RM( 21 ),
Define_RM( 22 ),
Define_RM( 23 ),
Define_RM( 24 ),
Define_RM( 25 ),
Define_RM( 26 ),
Define_RM( 27 ),
Define_RM( 28 ),
Define_RM( 29 ),
Define_RM( 30 ),
Define_RM( 31 ),
Define_RM( 32 ),
Define_RM( 33 ),
Define_RM( 34 ),
Define_RM( 35 ),
Define_RM( 36 ),
Define_RM( 37 ),
Define_RM( 38 ),
Define_RM( 39 ),
Define_RM( 40 ),
Define_RM( 41 ),
Define_RM( 42 ),
Define_RM( 43 ),
Define_RM( 44 ),
Define_RM( 45 ),
Define_RM( 46 ),
Define_RM( 47 ),
Define_RM( 48 ),
Define_RM( 49 ),
Define_RM( 50 ),
Define_RM( 51 ),
Define_RM( 52 ),
Define_RM( 53 ),
Define_RM( 54 ),
Define_RM( 55 ),
Define_RM( 56 ),
Define_RM( 57 ),
Define_RM( 58 ),
Define_RM( 59 ),
Define_RM( 60 ),
Define_RM( 61 ),
Define_RM( 62 ),
Define_RM( 63 ),
Define_RM( 64 ),
Define_RM( 65 ),
Define_RM( 66 ),
Define_RM( 67 ),
Define_RM( 68 ),
Define_RM( 69 ),
Define_RM( 70 ),
Define_RM( 71 ),
Define_RM( 72 ),
Define_RM( 73 ),
Define_RM( 74 ),
Define_RM( 75 ),
Define_RM( 76 ),
Define_RM( 77 ),
Define_RM( 78 ),
Define_RM( 79 ),
Define_RM( 80 ),
Define_RM( 81 ),
Define_RM( 82 ),
};
// -- Trigger Macro Record
// Keeps a record/state of each result macro
ResultMacroRecord ResultMacroRecordList[ ResultMacroNum ];
// -- Trigger Macros
// Trigger Macro Guides
Guide_TM( 0 ) = { 1, 0x00, 0x01, 0x06, 0 };
Guide_TM( 1 ) = { 1, 0x00, 0x01, 0x2F, 0 };
Guide_TM( 2 ) = { 1, 0x00, 0x01, 0x16, 0 };
Guide_TM( 3 ) = { 1, 0x00, 0x01, 0x46, 0 };
Guide_TM( 4 ) = { 1, 0x00, 0x01, 0x1A, 0 };
Guide_TM( 5 ) = { 1, 0x00, 0x01, 0x43, 0 };
Guide_TM( 6 ) = { 1, 0x00, 0x01, 0x02, 0 };
Guide_TM( 7 ) = { 1, 0x00, 0x01, 0x47, 0 };
Guide_TM( 8 ) = { 1, 0x00, 0x01, 0x29, 0 };
Guide_TM( 9 ) = { 1, 0x00, 0x01, 0x1B, 0 };
Guide_TM( 10 ) = { 1, 0x00, 0x01, 0x44, 0 };
Guide_TM( 11 ) = { 1, 0x00, 0x01, 0x26, 0 };
Guide_TM( 12 ) = { 1, 0x00, 0x01, 0x56, 0 };
Guide_TM( 13 ) = { 1, 0x00, 0x01, 0x03, 0 };
Guide_TM( 14 ) = { 1, 0x00, 0x01, 0x2A, 0 };
Guide_TM( 15 ) = { 1, 0x00, 0x01, 0x53, 0 };
Guide_TM( 16 ) = { 1, 0x00, 0x01, 0x17, 0 };
Guide_TM( 17 ) = { 1, 0x00, 0x01, 0x57, 0 };
Guide_TM( 18 ) = { 1, 0x00, 0x01, 0x3D, 0 };
Guide_TM( 19 ) = { 1, 0x00, 0x01, 0x2B, 0 };
Guide_TM( 20 ) = { 1, 0x00, 0x01, 0x11, 0 };
Guide_TM( 21 ) = { 1, 0x00, 0x01, 0x54, 0 };
Guide_TM( 22 ) = { 1, 0x00, 0x01, 0x3A, 0 };
Guide_TM( 23 ) = { 1, 0x00, 0x01, 0x18, 0 };
Guide_TM( 24 ) = { 1, 0x00, 0x01, 0x3E, 0 };
Guide_TM( 25 ) = { 1, 0x00, 0x01, 0x15, 0 };
Guide_TM( 26 ) = { 1, 0x00, 0x01, 0x27, 0 };
Guide_TM( 27 ) = { 1, 0x00, 0x01, 0x50, 0 };
Guide_TM( 28 ) = { 1, 0x00, 0x01, 0x42, 0 };
Guide_TM( 29 ) = { 1, 0x00, 0x01, 0x24, 0 };
Guide_TM( 30 ) = { 1, 0x00, 0x01, 0x4D, 0 };
Guide_TM( 31 ) = { 1, 0x00, 0x01, 0x28, 0 };
Guide_TM( 32 ) = { 1, 0x00, 0x01, 0x0E, 0 };
Guide_TM( 33 ) = { 1, 0x00, 0x01, 0x51, 0 };
Guide_TM( 34 ) = { 1, 0x00, 0x01, 0x25, 0 };
Guide_TM( 35 ) = { 1, 0x00, 0x01, 0x0B, 0 };
Guide_TM( 36 ) = { 1, 0x00, 0x01, 0x3B, 0 };
Guide_TM( 37 ) = { 1, 0x00, 0x01, 0x0F, 0 };
Guide_TM( 38 ) = { 1, 0x00, 0x01, 0x52, 0 };
Guide_TM( 39 ) = { 1, 0x00, 0x01, 0x38, 0 };
Guide_TM( 40 ) = { 1, 0x00, 0x01, 0x3C, 0 };
Guide_TM( 41 ) = { 1, 0x00, 0x01, 0x21, 0 };
Guide_TM( 42 ) = { 1, 0x00, 0x01, 0x10, 0 };
Guide_TM( 43 ) = { 1, 0x00, 0x01, 0x39, 0 };
Guide_TM( 44 ) = { 1, 0x00, 0x01, 0x1E, 0 };
Guide_TM( 45 ) = { 1, 0x00, 0x01, 0x4E, 0 };
Guide_TM( 46 ) = { 1, 0x00, 0x01, 0x22, 0 };
Guide_TM( 47 ) = { 1, 0x00, 0x01, 0x4B, 0 };
Guide_TM( 48 ) = { 1, 0x00, 0x01, 0x0C, 0 };
Guide_TM( 49 ) = { 1, 0x00, 0x01, 0x4F, 0 };
Guide_TM( 50 ) = { 1, 0x00, 0x01, 0x33, 0 };
Guide_TM( 51 ) = { 1, 0x00, 0x01, 0x23, 0 };
Guide_TM( 52 ) = { 1, 0x00, 0x01, 0x07, 0 };
Guide_TM( 53 ) = { 1, 0x00, 0x01, 0x4C, 0 };
Guide_TM( 54 ) = { 1, 0x00, 0x01, 0x30, 0 };
Guide_TM( 55 ) = { 1, 0x00, 0x01, 0x0D, 0 };
Guide_TM( 56 ) = { 1, 0x00, 0x01, 0x34, 0 };
Guide_TM( 57 ) = { 1, 0x00, 0x01, 0x08, 0 };
Guide_TM( 58 ) = { 1, 0x00, 0x01, 0x1F, 0 };
Guide_TM( 59 ) = { 1, 0x00, 0x01, 0x48, 0 };
Guide_TM( 60 ) = { 1, 0x00, 0x01, 0x35, 0 };
Guide_TM( 61 ) = { 1, 0x00, 0x01, 0x1C, 0 };
Guide_TM( 62 ) = { 1, 0x00, 0x01, 0x45, 0 };
Guide_TM( 63 ) = { 1, 0x00, 0x01, 0x20, 0 };
Guide_TM( 64 ) = { 1, 0x00, 0x01, 0x04, 0 };
Guide_TM( 65 ) = { 1, 0x00, 0x01, 0x49, 0 };
Guide_TM( 66 ) = { 1, 0x00, 0x01, 0x1D, 0 };
Guide_TM( 67 ) = { 1, 0x00, 0x01, 0x31, 0 };
Guide_TM( 68 ) = { 1, 0x00, 0x01, 0x58, 0 };
Guide_TM( 69 ) = { 1, 0x00, 0x01, 0x05, 0 };
Guide_TM( 70 ) = { 1, 0x00, 0x01, 0x4A, 0 };
Guide_TM( 71 ) = { 1, 0x00, 0x01, 0x2C, 0 };
Guide_TM( 72 ) = { 1, 0x00, 0x01, 0x55, 0 };
Guide_TM( 73 ) = { 1, 0x00, 0x01, 0x32, 0 };
Guide_TM( 74 ) = { 1, 0x00, 0x01, 0x19, 0 };
Guide_TM( 75 ) = { 1, 0x00, 0x01, 0x59, 0 };
Guide_TM( 76 ) = { 1, 0x00, 0x01, 0x06, 0 };
Guide_TM( 77 ) = { 1, 0x00, 0x01, 0x03, 0 };
Guide_TM( 78 ) = { 1, 0x00, 0x01, 0x33, 0 };
Guide_TM( 79 ) = { 1, 0x00, 0x01, 0x07, 0 };
Guide_TM( 80 ) = { 1, 0x00, 0x01, 0x30, 0 };
Guide_TM( 81 ) = { 1, 0x00, 0x01, 0x34, 0 };
Guide_TM( 82 ) = { 1, 0x00, 0x01, 0x04, 0 };
Guide_TM( 83 ) = { 1, 0x00, 0x01, 0x31, 0 };
Guide_TM( 84 ) = { 1, 0x00, 0x01, 0x05, 0 };
Guide_TM( 85 ) = { 1, 0x00, 0x01, 0x32, 0 };
Guide_TM( 86 ) = { 1, 0x00, 0x01, 0x07, 0 };
Guide_TM( 87 ) = { 1, 0x00, 0x01, 0x08, 0 };
Guide_TM( 88 ) = { 1, 0x00, 0x01, 0x35, 0 };
// -- Trigger Macro List
// Indexed Table of Trigger Macros
const TriggerMacro TriggerMacroList[] = {
Define_TM( 0, 0 ),
Define_TM( 1, 1 ),
Define_TM( 2, 2 ),
Define_TM( 3, 3 ),
Define_TM( 4, 4 ),
Define_TM( 5, 5 ),
Define_TM( 6, 6 ),
Define_TM( 7, 7 ),
Define_TM( 8, 8 ),
Define_TM( 9, 9 ),
Define_TM( 10, 10 ),
Define_TM( 11, 11 ),
Define_TM( 12, 12 ),
Define_TM( 13, 13 ),
Define_TM( 14, 14 ),
Define_TM( 15, 15 ),
Define_TM( 16, 16 ),
Define_TM( 17, 17 ),
Define_TM( 18, 18 ),
Define_TM( 19, 19 ),
Define_TM( 20, 20 ),
Define_TM( 21, 21 ),
Define_TM( 22, 22 ),
Define_TM( 23, 23 ),
Define_TM( 24, 24 ),
Define_TM( 25, 25 ),
Define_TM( 26, 21 ),
Define_TM( 27, 26 ),
Define_TM( 28, 27 ),
Define_TM( 29, 28 ),
Define_TM( 30, 29 ),
Define_TM( 31, 30 ),
Define_TM( 32, 31 ),
Define_TM( 33, 32 ),
Define_TM( 34, 33 ),
Define_TM( 35, 34 ),
Define_TM( 36, 35 ),
Define_TM( 37, 36 ),
Define_TM( 38, 37 ),
Define_TM( 39, 38 ),
Define_TM( 40, 39 ),
Define_TM( 41, 40 ),
Define_TM( 42, 41 ),
Define_TM( 43, 42 ),
Define_TM( 44, 43 ),
Define_TM( 45, 44 ),
Define_TM( 46, 45 ),
Define_TM( 47, 46 ),
Define_TM( 48, 47 ),
Define_TM( 49, 48 ),
Define_TM( 50, 49 ),
Define_TM( 51, 50 ),
Define_TM( 52, 51 ),
Define_TM( 53, 52 ),
Define_TM( 54, 53 ),
Define_TM( 55, 54 ),
Define_TM( 56, 55 ),
Define_TM( 57, 56 ),
Define_TM( 58, 57 ),
Define_TM( 59, 58 ),
Define_TM( 60, 59 ),
Define_TM( 61, 60 ),
Define_TM( 62, 61 ),
Define_TM( 63, 62 ),
Define_TM( 64, 63 ),
Define_TM( 65, 64 ),
Define_TM( 66, 65 ),
Define_TM( 67, 66 ),
Define_TM( 68, 67 ),
Define_TM( 69, 68 ),
Define_TM( 70, 69 ),
Define_TM( 71, 70 ),
Define_TM( 72, 71 ),
Define_TM( 73, 72 ),
Define_TM( 74, 73 ),
Define_TM( 75, 74 ),
Define_TM( 76, 75 ),
Define_TM( 77, 67 ),
Define_TM( 78, 76 ),
Define_TM( 79, 77 ),
Define_TM( 80, 78 ),
Define_TM( 81, 79 ),
Define_TM( 82, 17 ),
Define_TM( 83, 80 ),
Define_TM( 84, 12 ),
Define_TM( 85, 81 ),
Define_TM( 86, 82 ),
Define_TM( 87, 82 ),
Define_TM( 88, 82 ),
};
// -- Trigger Macro Record List
// Keeps a record/state of each trigger macro
TriggerMacroRecord TriggerMacroRecordList[ TriggerMacroNum ];
// ----- Trigger Maps -----
// MaxScanCode
// - This is retrieved from the KLL configuration
// - Should be corollated with the max scan code in the scan module
// - Maximum value is 0x100 (0x0 to 0xFF)
// - Increasing it beyond the keyboard's capabilities is just a waste of ram...
#define MaxScanCode 0x59
// -- Trigger Lists
//
// Index 0: # of triggers in list
// Index n: pointer to trigger macro - use tm() macro
// - Default Layer -
Define_TL( default, 0x02 ) = { 1, 6 };
Define_TL( default, 0x03 ) = { 1, 13 };
Define_TL( default, 0x04 ) = { 1, 64 };
Define_TL( default, 0x05 ) = { 1, 69 };
Define_TL( default, 0x06 ) = { 1, 0 };
Define_TL( default, 0x07 ) = { 1, 52 };
Define_TL( default, 0x08 ) = { 1, 57 };
Define_TL( default, 0x09 ) = { 0 };
Define_TL( default, 0x0A ) = { 0 };
Define_TL( default, 0x0B ) = { 1, 35 };
Define_TL( default, 0x0C ) = { 1, 48 };
Define_TL( default, 0x0D ) = { 1, 55 };
Define_TL( default, 0x0E ) = { 1, 32 };
Define_TL( default, 0x0F ) = { 1, 37 };
Define_TL( default, 0x10 ) = { 1, 42 };
Define_TL( default, 0x11 ) = { 1, 20 };
Define_TL( default, 0x12 ) = { 0 };
Define_TL( default, 0x13 ) = { 0 };
Define_TL( default, 0x14 ) = { 0 };
Define_TL( default, 0x15 ) = { 1, 25 };
Define_TL( default, 0x16 ) = { 1, 2 };
Define_TL( default, 0x17 ) = { 1, 16 };
Define_TL( default, 0x18 ) = { 1, 23 };
Define_TL( default, 0x19 ) = { 1, 74 };
Define_TL( default, 0x1A ) = { 1, 4 };
Define_TL( default, 0x1B ) = { 1, 9 };
Define_TL( default, 0x1C ) = { 1, 61 };
Define_TL( default, 0x1D ) = { 1, 66 };
Define_TL( default, 0x1E ) = { 1, 44 };
Define_TL( default, 0x1F ) = { 1, 58 };
Define_TL( default, 0x20 ) = { 1, 63 };
Define_TL( default, 0x21 ) = { 1, 41 };
Define_TL( default, 0x22 ) = { 1, 46 };
Define_TL( default, 0x23 ) = { 1, 51 };
Define_TL( default, 0x24 ) = { 1, 29 };
Define_TL( default, 0x25 ) = { 1, 34 };
Define_TL( default, 0x26 ) = { 1, 11 };
Define_TL( default, 0x27 ) = { 1, 26 };
Define_TL( default, 0x28 ) = { 1, 31 };
Define_TL( default, 0x29 ) = { 1, 8 };
Define_TL( default, 0x2A ) = { 1, 14 };
Define_TL( default, 0x2B ) = { 1, 19 };
Define_TL( default, 0x2C ) = { 1, 71 };
Define_TL( default, 0x2D ) = { 0 };
Define_TL( default, 0x2E ) = { 0 };
Define_TL( default, 0x2F ) = { 1, 1 };
Define_TL( default, 0x30 ) = { 1, 54 };
Define_TL( default, 0x31 ) = { 1, 67 };
Define_TL( default, 0x32 ) = { 1, 73 };
Define_TL( default, 0x33 ) = { 1, 50 };
Define_TL( default, 0x34 ) = { 1, 56 };
Define_TL( default, 0x35 ) = { 1, 60 };
Define_TL( default, 0x36 ) = { 0 };
Define_TL( default, 0x37 ) = { 0 };
Define_TL( default, 0x38 ) = { 1, 39 };
Define_TL( default, 0x39 ) = { 1, 43 };
Define_TL( default, 0x3A ) = { 1, 22 };
Define_TL( default, 0x3B ) = { 1, 36 };
Define_TL( default, 0x3C ) = { 1, 40 };
Define_TL( default, 0x3D ) = { 1, 18 };
Define_TL( default, 0x3E ) = { 1, 24 };
Define_TL( default, 0x3F ) = { 0 };
Define_TL( default, 0x40 ) = { 0 };
Define_TL( default, 0x41 ) = { 0 };
Define_TL( default, 0x42 ) = { 1, 28 };
Define_TL( default, 0x43 ) = { 1, 5 };
Define_TL( default, 0x44 ) = { 1, 10 };
Define_TL( default, 0x45 ) = { 1, 62 };
Define_TL( default, 0x46 ) = { 1, 3 };
Define_TL( default, 0x47 ) = { 1, 7 };
Define_TL( default, 0x48 ) = { 1, 59 };
Define_TL( default, 0x49 ) = { 1, 65 };
Define_TL( default, 0x4A ) = { 1, 70 };
Define_TL( default, 0x4B ) = { 1, 47 };
Define_TL( default, 0x4C ) = { 1, 53 };
Define_TL( default, 0x4D ) = { 1, 30 };
Define_TL( default, 0x4E ) = { 1, 45 };
Define_TL( default, 0x4F ) = { 1, 49 };
Define_TL( default, 0x50 ) = { 1, 27 };
Define_TL( default, 0x51 ) = { 1, 33 };
Define_TL( default, 0x52 ) = { 1, 38 };
Define_TL( default, 0x53 ) = { 1, 15 };
Define_TL( default, 0x54 ) = { 1, 21 };
Define_TL( default, 0x55 ) = { 1, 72 };
Define_TL( default, 0x56 ) = { 1, 12 };
Define_TL( default, 0x57 ) = { 1, 17 };
Define_TL( default, 0x58 ) = { 1, 68 };
Define_TL( default, 0x59 ) = { 1, 75 };
// - Partial Layers -
// Partial Layer 1
Define_TL( layer1, 0x03 ) = { 1, 77 };
Define_TL( layer1, 0x04 ) = { 1, 82 };
Define_TL( layer1, 0x05 ) = { 1, 84 };
Define_TL( layer1, 0x06 ) = { 1, 76 };
Define_TL( layer1, 0x07 ) = { 1, 79 };
Define_TL( layer1, 0x08 ) = { 0 };
Define_TL( layer1, 0x09 ) = { 0 };
Define_TL( layer1, 0x0A ) = { 0 };
Define_TL( layer1, 0x0B ) = { 0 };
Define_TL( layer1, 0x0C ) = { 0 };
Define_TL( layer1, 0x0D ) = { 0 };
Define_TL( layer1, 0x0E ) = { 0 };
Define_TL( layer1, 0x0F ) = { 0 };
Define_TL( layer1, 0x10 ) = { 0 };
Define_TL( layer1, 0x11 ) = { 0 };
Define_TL( layer1, 0x12 ) = { 0 };
Define_TL( layer1, 0x13 ) = { 0 };
Define_TL( layer1, 0x14 ) = { 0 };
Define_TL( layer1, 0x15 ) = { 0 };
Define_TL( layer1, 0x16 ) = { 0 };
Define_TL( layer1, 0x17 ) = { 0 };
Define_TL( layer1, 0x18 ) = { 0 };
Define_TL( layer1, 0x19 ) = { 0 };
Define_TL( layer1, 0x1A ) = { 0 };
Define_TL( layer1, 0x1B ) = { 0 };
Define_TL( layer1, 0x1C ) = { 0 };
Define_TL( layer1, 0x1D ) = { 0 };
Define_TL( layer1, 0x1E ) = { 0 };
Define_TL( layer1, 0x1F ) = { 0 };
Define_TL( layer1, 0x20 ) = { 0 };
Define_TL( layer1, 0x21 ) = { 0 };
Define_TL( layer1, 0x22 ) = { 0 };
Define_TL( layer1, 0x23 ) = { 0 };
Define_TL( layer1, 0x24 ) = { 0 };
Define_TL( layer1, 0x25 ) = { 0 };
Define_TL( layer1, 0x26 ) = { 0 };
Define_TL( layer1, 0x27 ) = { 0 };
Define_TL( layer1, 0x28 ) = { 0 };
Define_TL( layer1, 0x29 ) = { 0 };
Define_TL( layer1, 0x2A ) = { 0 };
Define_TL( layer1, 0x2B ) = { 0 };
Define_TL( layer1, 0x2C ) = { 0 };
Define_TL( layer1, 0x2D ) = { 0 };
Define_TL( layer1, 0x2E ) = { 0 };
Define_TL( layer1, 0x2F ) = { 0 };
Define_TL( layer1, 0x30 ) = { 1, 80 };
Define_TL( layer1, 0x31 ) = { 1, 83 };
Define_TL( layer1, 0x32 ) = { 1, 85 };
Define_TL( layer1, 0x33 ) = { 1, 78 };
Define_TL( layer1, 0x34 ) = { 1, 81 };
// Partial Layer 2
Define_TL( layer2, 0x07 ) = { 1, 86 };
Define_TL( layer2, 0x08 ) = { 1, 87 };
Define_TL( layer2, 0x09 ) = { 0 };
Define_TL( layer2, 0x0A ) = { 0 };
Define_TL( layer2, 0x0B ) = { 0 };
Define_TL( layer2, 0x0C ) = { 0 };
Define_TL( layer2, 0x0D ) = { 0 };
Define_TL( layer2, 0x0E ) = { 0 };
Define_TL( layer2, 0x0F ) = { 0 };
Define_TL( layer2, 0x10 ) = { 0 };
Define_TL( layer2, 0x11 ) = { 0 };
Define_TL( layer2, 0x12 ) = { 0 };
Define_TL( layer2, 0x13 ) = { 0 };
Define_TL( layer2, 0x14 ) = { 0 };
Define_TL( layer2, 0x15 ) = { 0 };
Define_TL( layer2, 0x16 ) = { 0 };
Define_TL( layer2, 0x17 ) = { 0 };
Define_TL( layer2, 0x18 ) = { 0 };
Define_TL( layer2, 0x19 ) = { 0 };
Define_TL( layer2, 0x1A ) = { 0 };
Define_TL( layer2, 0x1B ) = { 0 };
Define_TL( layer2, 0x1C ) = { 0 };
Define_TL( layer2, 0x1D ) = { 0 };
Define_TL( layer2, 0x1E ) = { 0 };
Define_TL( layer2, 0x1F ) = { 0 };
Define_TL( layer2, 0x20 ) = { 0 };
Define_TL( layer2, 0x21 ) = { 0 };
Define_TL( layer2, 0x22 ) = { 0 };
Define_TL( layer2, 0x23 ) = { 0 };
Define_TL( layer2, 0x24 ) = { 0 };
Define_TL( layer2, 0x25 ) = { 0 };
Define_TL( layer2, 0x26 ) = { 0 };
Define_TL( layer2, 0x27 ) = { 0 };
Define_TL( layer2, 0x28 ) = { 0 };
Define_TL( layer2, 0x29 ) = { 0 };
Define_TL( layer2, 0x2A ) = { 0 };
Define_TL( layer2, 0x2B ) = { 0 };
Define_TL( layer2, 0x2C ) = { 0 };
Define_TL( layer2, 0x2D ) = { 0 };
Define_TL( layer2, 0x2E ) = { 0 };
Define_TL( layer2, 0x2F ) = { 0 };
Define_TL( layer2, 0x30 ) = { 0 };
Define_TL( layer2, 0x31 ) = { 0 };
Define_TL( layer2, 0x32 ) = { 0 };
Define_TL( layer2, 0x33 ) = { 0 };
Define_TL( layer2, 0x34 ) = { 0 };
Define_TL( layer2, 0x35 ) = { 1, 88 };
// -- ScanCode Offset Map
// Maps interconnect ids to scancode offsets
//
// Only used for keyboards with an interconnect
const uint8_t InterconnectOffsetList[] = {
0x2D,
0x59,
};
// -- ScanCode Indexed Maps
// Maps to a trigger list of macro pointers
// _
// <scan code> -> |T|
// |r| -> <trigger macro pointer 1>
// |i|
// |g| -> <trigger macro pointer 2>
// |g|
// |e| -> <trigger macro pointer 3>
// |r|
// |s| -> <trigger macro pointer n>
// -
// - Default Map for ScanCode Lookup -
const nat_ptr_t *default_scanMap[] = {
default_tl_0x02, default_tl_0x03, default_tl_0x04, default_tl_0x05, default_tl_0x06, default_tl_0x07, default_tl_0x08, default_tl_0x09, default_tl_0x0A, default_tl_0x0B, default_tl_0x0C, default_tl_0x0D, default_tl_0x0E, default_tl_0x0F, default_tl_0x10, default_tl_0x11, default_tl_0x12, default_tl_0x13, default_tl_0x14, default_tl_0x15, default_tl_0x16, default_tl_0x17, default_tl_0x18, default_tl_0x19, default_tl_0x1A, default_tl_0x1B, default_tl_0x1C, default_tl_0x1D, default_tl_0x1E, default_tl_0x1F, default_tl_0x20, default_tl_0x21, default_tl_0x22, default_tl_0x23, default_tl_0x24, default_tl_0x25, default_tl_0x26, default_tl_0x27, default_tl_0x28, default_tl_0x29, default_tl_0x2A, default_tl_0x2B, default_tl_0x2C, default_tl_0x2D, default_tl_0x2E, default_tl_0x2F, default_tl_0x30, default_tl_0x31, default_tl_0x32, default_tl_0x33, default_tl_0x34, default_tl_0x35, default_tl_0x36, default_tl_0x37, default_tl_0x38, default_tl_0x39, default_tl_0x3A, default_tl_0x3B, default_tl_0x3C, default_tl_0x3D, default_tl_0x3E, default_tl_0x3F, default_tl_0x40, default_tl_0x41, default_tl_0x42, default_tl_0x43, default_tl_0x44, default_tl_0x45, default_tl_0x46, default_tl_0x47, default_tl_0x48, default_tl_0x49, default_tl_0x4A, default_tl_0x4B, default_tl_0x4C, default_tl_0x4D, default_tl_0x4E, default_tl_0x4F, default_tl_0x50, default_tl_0x51, default_tl_0x52, default_tl_0x53, default_tl_0x54, default_tl_0x55, default_tl_0x56, default_tl_0x57, default_tl_0x58, default_tl_0x59
};
// - Partial Layer ScanCode Lookup Maps -
// Partial Layer 1
const nat_ptr_t *layer1_scanMap[] = {
layer1_tl_0x03, layer1_tl_0x04, layer1_tl_0x05, layer1_tl_0x06, layer1_tl_0x07, layer1_tl_0x08, layer1_tl_0x09, layer1_tl_0x0A, layer1_tl_0x0B, layer1_tl_0x0C, layer1_tl_0x0D, layer1_tl_0x0E, layer1_tl_0x0F, layer1_tl_0x10, layer1_tl_0x11, layer1_tl_0x12, layer1_tl_0x13, layer1_tl_0x14, layer1_tl_0x15, layer1_tl_0x16, layer1_tl_0x17, layer1_tl_0x18, layer1_tl_0x19, layer1_tl_0x1A, layer1_tl_0x1B, layer1_tl_0x1C, layer1_tl_0x1D, layer1_tl_0x1E, layer1_tl_0x1F, layer1_tl_0x20, layer1_tl_0x21, layer1_tl_0x22, layer1_tl_0x23, layer1_tl_0x24, layer1_tl_0x25, layer1_tl_0x26, layer1_tl_0x27, layer1_tl_0x28, layer1_tl_0x29, layer1_tl_0x2A, layer1_tl_0x2B, layer1_tl_0x2C, layer1_tl_0x2D, layer1_tl_0x2E, layer1_tl_0x2F, layer1_tl_0x30, layer1_tl_0x31, layer1_tl_0x32, layer1_tl_0x33, layer1_tl_0x34
};
// Partial Layer 2
const nat_ptr_t *layer2_scanMap[] = {
layer2_tl_0x07, layer2_tl_0x08, layer2_tl_0x09, layer2_tl_0x0A, layer2_tl_0x0B, layer2_tl_0x0C, layer2_tl_0x0D, layer2_tl_0x0E, layer2_tl_0x0F, layer2_tl_0x10, layer2_tl_0x11, layer2_tl_0x12, layer2_tl_0x13, layer2_tl_0x14, layer2_tl_0x15, layer2_tl_0x16, layer2_tl_0x17, layer2_tl_0x18, layer2_tl_0x19, layer2_tl_0x1A, layer2_tl_0x1B, layer2_tl_0x1C, layer2_tl_0x1D, layer2_tl_0x1E, layer2_tl_0x1F, layer2_tl_0x20, layer2_tl_0x21, layer2_tl_0x22, layer2_tl_0x23, layer2_tl_0x24, layer2_tl_0x25, layer2_tl_0x26, layer2_tl_0x27, layer2_tl_0x28, layer2_tl_0x29, layer2_tl_0x2A, layer2_tl_0x2B, layer2_tl_0x2C, layer2_tl_0x2D, layer2_tl_0x2E, layer2_tl_0x2F, layer2_tl_0x30, layer2_tl_0x31, layer2_tl_0x32, layer2_tl_0x33, layer2_tl_0x34, layer2_tl_0x35
};
// ----- Layer Index -----
// -- Layer Index List
//
// Index 0: Default map
// Index n: Additional layers
const Layer LayerIndex[] = {
Layer_IN( default_scanMap, "D: MDErgo1 + lcdFuncMap", 0x02 ),
Layer_IN( layer1_scanMap, "1: MDErgo1 + lcdFuncMap", 0x03 ),
Layer_IN( layer2_scanMap, "2: MDErgo1 + lcdFuncMap", 0x07 ),
};
// - Layer State
uint8_t LayerState[ LayerNum ];
// ----- Key Positions -----
// -- Physical Key Positions
//
// Index 0: Key 1
// Each key has 6 dimensions
// x,y,z and rx,ry,rz (rotation)
// Units are in mm

View File

@ -1,260 +0,0 @@
/* Copyright (C) 2014-2016 by Jacob Alexander
*
* This file is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This file is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this file. If not, see <http://www.gnu.org/licenses/>.
*/
// This file was generated by the kll compiler, DO NOT EDIT.
// Generation Date: 2018-07-07
// KLL Backend: kiibohd
// KLL Git Rev: ee4008a1905ca14bac641f581304c3b967b8ddc3
// KLL Git Changes: None
// Compiler arguments:
// /srv/KiiConf/controller-lts/kll/kll.py
// /srv/KiiConf/controller-lts/Scan/ISSILed/capabilities.kll
// /srv/KiiConf/controller-lts/Scan/MatrixARM/capabilities.kll
// /srv/KiiConf/controller-lts/Scan/STLcd/capabilities.kll
// /srv/KiiConf/controller-lts/Scan/UARTConnect/capabilities.kll
// /srv/KiiConf/controller-lts/Macro/PartialMap/capabilities.kll
// /srv/KiiConf/controller-lts/Output/pjrcUSB/capabilities.kll
// /srv/KiiConf/controller-lts/Scan/MDErgo1/scancode_map.kll
// /srv/KiiConf/controller-lts/Scan/MDErgo1/rightHand.kll
// /srv/KiiConf/controller-lts/Scan/MDErgo1/slave1.kll
// /srv/KiiConf/controller-lts/Scan/MDErgo1/leftHand.kll
// -d
// MDErgo1-Blank-0.kll
// /srv/KiiConf/controller-lts/kll/layouts/lcdFuncMap.kll
// -p
// MDErgo1-Blank-1.kll
// /srv/KiiConf/controller-lts/kll/layouts/lcdFuncMap.kll
// -p
// MDErgo1-Blank-2.kll
// /srv/KiiConf/controller-lts/kll/layouts/lcdFuncMap.kll
// --backend
// kiibohd
// --templates
// /srv/KiiConf/controller-lts/kll/templates/kiibohdKeymap.h
// /srv/KiiConf/controller-lts/kll/templates/kiibohdDefs.h
// --outputs
// generatedKeymap.h
// kll_defs.h
//
// - Base Layer -
// ISSILedCapabilities
// /srv/KiiConf/controller-lts/Scan/ISSILed/capabilities.kll
// MatrixArmCapabilities
// /srv/KiiConf/controller-lts/Scan/MatrixARM/capabilities.kll
// STLcdCapabilities
// /srv/KiiConf/controller-lts/Scan/STLcd/capabilities.kll
// UARTConnectCapabilities
// /srv/KiiConf/controller-lts/Scan/UARTConnect/capabilities.kll
// PartialMapCapabilities
// /srv/KiiConf/controller-lts/Macro/PartialMap/capabilities.kll
// pjrcUSBCapabilities
// /srv/KiiConf/controller-lts/Output/pjrcUSB/capabilities.kll
// MDErgo1
// /srv/KiiConf/controller-lts/Scan/MDErgo1/scancode_map.kll
// MDErgo1RightHand
// /srv/KiiConf/controller-lts/Scan/MDErgo1/rightHand.kll
// MDErgo1Slave1
// /srv/KiiConf/controller-lts/Scan/MDErgo1/slave1.kll
// MDErgo1LeftHand
// /srv/KiiConf/controller-lts/Scan/MDErgo1/leftHand.kll
// - Default Layer -
// MDErgo1
// MDErgo1-Blank-0.kll
// lcdFuncMap
// /srv/KiiConf/controller-lts/kll/layouts/lcdFuncMap.kll
// - Partial Layers -
// Layer 1
// MDErgo1
// MDErgo1-Blank-1.kll
// lcdFuncMap
// /srv/KiiConf/controller-lts/kll/layouts/lcdFuncMap.kll
// Layer 2
// MDErgo1
// MDErgo1-Blank-2.kll
// lcdFuncMap
// /srv/KiiConf/controller-lts/kll/layouts/lcdFuncMap.kll
#pragma once
// ----- Enums -----
// Capability Indices
typedef enum CapabilityIndex {
LCD_layerStackExact_capability_index,
LCD_layerStack_capability_index,
LED_control_capability_index,
Macro_layerLatch_capability_index,
Macro_layerLock_capability_index,
Macro_layerRotate_capability_index,
Macro_layerShift_capability_index,
Macro_layerState_capability_index,
Output_consCtrlSend_capability_index,
Output_flashMode_capability_index,
Output_kbdProtocolBoot_capability_index,
Output_kbdProtocolNKRO_capability_index,
Output_noneSend_capability_index,
Output_sysCtrlSend_capability_index,
Output_toggleKbdProtocol_capability_index,
Output_usbCodeSend_capability_index,
Output_usbMouse_capability_index,
} CapabilityIndex;
// ----- Defines -----
// -- Interconnect Node Maximum --
#define InterconnectNodeMax 0x2
// -- Capability / KLL Defines --
#define STLcdBacklightRed_define 4095
#define STLcdNumber9_define \
0x00, 0x00, 0x00, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x00, 0x00, 0x00, \
0x00, 0x00, 0x00, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x00, 0x00, 0x00, \
0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x00, 0x00, 0x00, \
0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xfc, 0xfc, 0xfc, 0xfc, 0xfc, 0xfc, 0xfc, 0xfc, 0xfc, 0xfc, 0xfc, 0xfc, 0xfc, 0xfc, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x00, 0x00, 0x00, \
#define STLcdNumber6Color_define 0xBCFC, 0xB6F6, 0x2D2D
#define StrobeDelay_define 0
#define ISSILedBrightness1_define \
0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* C1-1 -> C1-16 */ \
0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* C2-1 -> C2-16 */ \
0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* C3-1 -> C3-16 */ \
0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* C4-1 -> C4-16 */ \
0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* C5-1 -> C5-16 */ \
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* C6-1 -> C6-16 */ \
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* C7-1 -> C7-16 */ \
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* C8-1 -> C8-16 */ \
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* C9-1 -> C9-16 */ \
#define enableUSBSuspend_define 1
#define enableUSBLowPowerNegotiation_define 0
#define STLcdBacklightPrescalar_define 0
#define enableJoystick_define 0
#define UARTConnectBaudFine_define 0
#define UARTConnectBaud_define 1
#define STLcdNumber8_define \
0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x00, 0x00, 0x00, \
0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x00, 0x00, 0x00, \
0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x00, 0x00, 0x00, \
0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xfc, 0xfc, 0xfc, 0xfc, 0xfc, 0xfc, 0xfc, 0xfc, 0xfc, 0xfc, 0xfc, 0xfc, 0xfc, 0xfc, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x00, 0x00, 0x00, \
#define enableDeviceRestartOnUSBTimeout_define 0
#define STLcdDefaultImage_define \
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xc0, 0xc0, 0xc0, 0xc0, 0xc0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff, 0xff, 0x1f, 0x1f, 0x1f, 0x1f, 0x1f, 0x1f, 0x1f, 0x1f, 0x1f, 0x1f, 0x1f, 0x1f, 0x1f, 0x1f, 0x1f, 0x1f, 0x1f, 0x1f, 0x1f, 0x1f, 0x1f, 0x1f, 0x1f, 0x1f, 0x1f, 0x1f, 0x1f, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x03, 0x03, 0x03, 0x03, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xc0, 0xc0, 0xc0, 0xc0, 0xc0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x03, 0x03, 0x03, 0x03, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff, 0xff, 0xf8, 0xf8, 0xf8, 0xf8, 0xf8, 0xf8, 0xf8, 0xf8, 0xf8, 0xf8, 0xf8, 0xf8, 0xf8, 0xf8, 0xf8, 0xf8, 0xf8, 0xf8, 0xf8, 0xf8, 0xf8, 0xf8, 0xf8, 0xf8, 0xf8, 0xf8, 0xf8, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \
#define USBProtocol_define 1
#define IndexWordSize_define 16
#define STLcdNumber0Color_define 0xB939, 0xAAEA, 0x8D8D
#define STLcdNumber7_define \
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x00, 0x00, 0x00, \
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x00, 0x00, 0x00, \
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x00, 0x00, 0x00, \
0x00, 0x00, 0x00, 0xfc, 0xfc, 0xfc, 0xfc, 0xfc, 0xfc, 0xfc, 0xfc, 0xfc, 0xfc, 0xfc, 0xfc, 0xfc, 0xfc, 0xfc, 0xfc, 0xfc, 0xfc, 0xfc, 0xfc, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x00, 0x00, 0x00, \
#define STLcdNumber7Color_define 0x00C1, 0x7E7E, 0x3C3C
#define KeyboardLocale_define 0
#define enableRawIO_define 0
#define STLcdBacklightBlue_define 4095
#define enableKeyboard_define 1
#define DebounceThrottleDiv_define 0
#define UARTConnectCableCheckLength_define 2
#define LCDEnabled_define 1
#define ISSILedMask1_define \
0xFF, 0x00, /* C1-1 -> C1-16 */ \
0xFF, 0x00, /* C2-1 -> C2-16 */ \
0xFF, 0x00, /* C3-1 -> C3-16 */ \
0xFF, 0x00, /* C4-1 -> C4-16 */ \
0x3F, 0x00, /* C5-1 -> C5-16 */ \
0x00, 0x00, /* C6-1 -> C6-16 */ \
0x00, 0x00, /* C7-1 -> C7-16 */ \
0x00, 0x00, /* C8-1 -> C8-16 */ \
0x00, 0x00, /* C9-1 -> C9-16 */ \
#define STLcdNumber1Color_define 0xA8A8, 0x2727, 0x1FA0
#define STLcdNumber8Color_define 0x8303, 0x1394, 0xB9F9
#define STLcdNumber4Color_define 0xF6F6, 0xA5A5, 0x4949
#define enableVirtualSerialPort_define 1
#define UARTConnectBufSize_define 128
#define enableMouse_define 1
#define STLcdBacklightGreen_define 4095
#define STLcdNumber6_define \
0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x00, 0x00, 0x00, \
0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x00, 0x00, 0x00, \
0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x00, 0x00, 0x00, \
0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xfc, 0xfc, 0xfc, 0xfc, 0xfc, 0xfc, 0xfc, 0xfc, 0xfc, 0xfc, 0xfc, 0xfc, 0xfc, 0xfc, 0xfc, 0xfc, 0xfc, 0xfc, 0xfc, 0xfc, 0x00, 0x00, 0x00, \
#define ConnectEnabled_define 1
#define STLcdNumber5Color_define 0xB7B7, 0x5D5D, 0x8545
#define STLcdNumber2_define \
0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x00, 0x00, 0x00, \
0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0x00, 0x00, 0x00, \
0x00, 0x00, 0x00, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x00, 0x00, 0x00, \
0x00, 0x00, 0x00, 0xfc, 0xfc, 0xfc, 0xfc, 0xfc, 0xfc, 0xfc, 0xfc, 0xfc, 0xfc, 0xfc, 0xfc, 0xfc, 0xfc, 0xfc, 0xfc, 0xfc, 0xfc, 0xfc, 0xfc, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x00, 0x00, 0x00, \
#define MinDebounceTime_define 5
#define STLcdNumber5_define \
0x00, 0x00, 0x00, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x00, 0x00, 0x00, \
0x00, 0x00, 0x00, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x00, 0x00, 0x00, \
0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x00, 0x00, 0x00, \
0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xfc, 0xfc, 0xfc, 0xfc, 0xfc, 0xfc, 0xfc, 0xfc, 0xfc, 0xfc, 0xfc, 0xfc, 0xfc, 0xfc, 0xfc, 0xfc, 0xfc, 0xfc, 0xfc, 0xfc, 0x00, 0x00, 0x00, \
#define StateWordSize_define 8
#define DebounceDivThreshold_define 65535
#define flashModeEnabled_define 0
#define STLcdNumber0_define \
0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x00, 0x00, 0x00, \
0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x00, 0x00, 0x00, \
0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x00, 0x00, 0x00, \
0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xfc, 0xfc, 0xfc, 0xfc, 0xfc, 0xfc, 0xfc, 0xfc, 0xfc, 0xfc, 0xfc, 0xfc, 0xfc, 0xfc, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x00, 0x00, 0x00, \
#define STLcdNumber4_define \
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x00, 0x00, 0x00, \
0x00, 0x00, 0x00, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x00, 0x00, 0x00, \
0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x00, 0x00, 0x00, \
0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x00, 0x00, 0x00, \
#define STLcdNumber9Color_define 0x09CA, 0x12D3, 0x8484
#define STLcdNumber3Color_define 0x0000, 0x8242, 0xB3F3
#define enableUSBResume_define 1
#define STLcdNumber2Color_define 0x4B4B, 0x8D8D, 0x34B5
#define STLcdNumber3_define \
0x00, 0x00, 0x00, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x00, 0x00, 0x00, \
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x00, 0x00, 0x00, \
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x00, 0x00, 0x00, \
0x00, 0x00, 0x00, 0xfc, 0xfc, 0xfc, 0xfc, 0xfc, 0xfc, 0xfc, 0xfc, 0xfc, 0xfc, 0xfc, 0xfc, 0xfc, 0xfc, 0xfc, 0xfc, 0xfc, 0xfc, 0xfc, 0xfc, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x00, 0x00, 0x00, \
#define STLcdNumber1_define \
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \
#define CapabilitiesNum_KLL 17
#define ResultMacroNum_KLL 83
#define TriggerMacroNum_KLL 89
#define LayerNum_KLL 3
// -- Built-in Defines --

BIN
keyboard/if_ergodox_old/right_kiibohd.dfu.bin Executable file → Normal file

Binary file not shown.

Binary file not shown.

File diff suppressed because it is too large Load Diff