Update ergodox config to move to QMK firmware

This commit is contained in:
Daniel Flanagan 2017-05-09 16:58:06 -05:00
parent 1ce2d43468
commit 1336e66120
23 changed files with 367 additions and 4493 deletions

26
ergodox-infinity/Makefile Normal file
View file

@ -0,0 +1,26 @@
ifndef QMK_DIR
$(error QMK_DIR is not defined)
endif
KEYMAP_NAME = "lytedev"
ERGODOX_DIR = "${QMK_DIR}/keyboards/ergodox"
MY_KEYMAP_DIR = "${ERGODOX_DIR}/keymaps/${KEYMAP_NAME}"
MAKE_DIR = "${ERGODOX_DIR}"
left: prep
@make -C "${MAKE_DIR}" infinity-"${KEYMAP_NAME}"
right: prep
@make -C "${MAKE_DIR}" infinity-"${KEYMAP_NAME}" MASTER=right
dfu-left:
@make -C "${MAKE_DIR}" infinity-"${KEYMAP_NAME}"-dfu-util
dfu-right:
@make -C "${MAKE_DIR}" infinity-"${KEYMAP_NAME}"-dfu-util MASTER=right
prep:
@rm -rf "${MY_KEYMAP_DIR}"
@mkdir -p "${MY_KEYMAP_DIR}"
@cp keymap.c "${MY_KEYMAP_DIR}/keymap.c"

285
ergodox-infinity/keymap.c Normal file
View file

@ -0,0 +1,285 @@
#include "ergodox.h"
#include "debug.h"
#include "action_layer.h"
#include "version.h"
#define BASE 0 // default layer
#define SYM1 1 // symbols 1
#define SYM2 2 // symbols 2
#define MISC 3 // misc
enum custom_keycodes {
PLACEHOLDER = SAFE_RANGE, // can always be here
EPRM,
VRSN,
RGB_SLD
};
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
/* Layer 0: Basic
*
* ,--------------------------------------------------. ,--------------------------------------------------.
* | ` | 1 | 2 | 3 | 4 | 5 | F11 | | F12 | 6 | 7 | 8 | 9 | 0 | Back |
* |--------+------+------+------+------+-------------| |------+------+------+------+------+------+--------|
* | Tab | Q | W | E | R | T | [ | | ] | Y | U | I | O | P | Back |
* |--------+------+------+------+------+------| | | |------+------+------+------+------+--------|
* | Escape | A | S | D | F | G |------| |------| H | J | K | L | ; | ' |
* |--------+------+------+------+------+------| ( | | ) |------+------+------+------+------+--------|
* | LShift | Z | X | C | V | B | | | | N | M | , | . | / | Enter |
* `--------+------+------+------+------+-------------' `-------------+------+------+------+------+--------'
* | Ctrl | Ctrl | Alt | Meta | L2 | | L1 | Left | Down | Up | Right |
* `----------------------------------' `------------------------------------'
* ,-------------. ,-------------.
* | Vol- | Menu | | Ins | Vol+ |
* ,------+------+------| |------+------+------.
* | | | Home | | End | | |
* | Spce | Back |------| |------| Enter| Spce |
* | | | NmLk | | Prnt | | |
* `--------------------' `--------------------'
*/
[BASE] = KEYMAP(
// Left Hand
KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_F11,
KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_LBRC,
KC_ESC, KC_A, KC_S, KC_D, KC_F, KC_G, /* ^^ */
KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_LPRN,
KC_LCTL, KC_LCTL, KC_LALT, KC_LGUI, KC_FN2,
// Thumb Cluster
KC_VOLD, KC_APP,
/* vv */ /* vv */ KC_HOME,
KC_SPC, KC_BSPC, KC_NLCK,
// Right Hand
KC_F12, KC_6, KC_7, KC_8, KC_9, KC_0, KC_BSPC,
KC_RBRC, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC,
/* ^^ */ KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT,
KC_RPRN, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, R,
KC_FN1, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT,
// Thumb Cluster
KC_INS, KC_VOLU,
KC_END, /* vv */ /* vv */
KC_PSCR, KC_ENT, KC_SPC
),
/* Layer 1: Symbols1
*
* ,--------------------------------------------------. ,--------------------------------------------------.
* | ~ | ! | @ | # | $ | % | F11 | | F12 | ^ | & | * | ( | ) | Back |
* |--------+------+------+------+------+-------------| |------+------+------+------+------+------+--------|
* | ` | 1 | 2 | 3 | 4 | 5 | { | | } | 6 | 7 | 8 | 9 | 0 | Back |
* |--------+------+------+------+------+------| | | |------+------+------+------+------+--------|
* | Escape | F1 | F2 | F3 | F4 | F5 |------| |------| F6 | - | = | [ | ] | \ |
* |--------+------+------+------+------+------| < | | > |------+------+------+------+------+--------|
* | LShift | F7 | F8 | F9 | F10 | F11 | | | | F12 | Ins | < | > | / | Enter |
* `--------+------+------+------+------+-------------' `-------------+------+------+------+------+--------'
* | Ctrl | Ctrl | Alt | Meta | () | | () | Left | Down | Up | Right |
* `----------------------------------' `------------------------------------'
* ,-------------. ,-------------.
* | Vol- | Menu | | Ins | Vol+ |
* ,------+------+------| |------+------+------.
* | | | Home | | End | | |
* | Spce | Back |------| |------| Enter| Spce |
* | | | NmLk | | Prnt | | |
* `--------------------' `--------------------'
*/
[BASE] = KEYMAP(
// Left Hand
KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_F11,
KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_LBRC,
KC_ESC, KC_A, KC_S, KC_D, KC_F, KC_G, /* ^^ */
KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_LPRN,
KC_LCTL, KC_LCTL, KC_LALT, KC_LGUI, KC_FN2,
// Thumb Cluster
KC_VOLD, KC_APP,
/* vv */ /* vv */ KC_HOME,
KC_SPC, KC_BSPC, KC_NLCK,
// Right Hand
KC_F12, KC_6, KC_7, KC_8, KC_9, KC_0, KC_BSPC,
KC_RBRC, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC,
/* ^^ */ KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT,
KC_RPRN, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, R,
KC_FN1, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT,
// Thumb Cluster
KC_INS, KC_VOLU,
KC_END, /* vv */ /* vv */
KC_PSCR, KC_ENT, KC_SPC
),
/*
*
* ,---------------------------------------------------. ,--------------------------------------------------.
* |Version | F1 | F2 | F3 | F4 | F5 | | | | F6 | F7 | F8 | F9 | F10 | F11 |
* |---------+------+------+------+------+------+------| |------+------+------+------+------+------+--------|
* | | ! | @ | { | } | | | | | | Up | 7 | 8 | 9 | * | F12 |
* |---------+------+------+------+------+------| | | |------+------+------+------+------+--------|
* | | # | $ | ( | ) | ` |------| |------| Down | 4 | 5 | 6 | + | |
* |---------+------+------+------+------+------| | | |------+------+------+------+------+--------|
* | | % | ^ | [ | ] | ~ | | | | & | 1 | 2 | 3 | \ | |
* `---------+------+------+------+------+-------------' `-------------+------+------+------+------+--------'
* | EPRM | | | | | | | . | 0 | = | |
* `-----------------------------------' `----------------------------------'
* ,-------------. ,-------------.
* |Animat| | |Toggle|Solid |
* ,------|------|------| |------+------+------.
* |Bright|Bright| | | |Hue- |Hue+ |
* |ness- |ness+ |------| |------| | |
* | | | | | | | |
* `--------------------' `--------------------'
// SYMBOLS
[SYMB] = KEYMAP(
// left hand
VRSN, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_TRNS,
KC_TRNS,KC_EXLM,KC_AT, KC_LCBR,KC_RCBR,KC_PIPE,KC_TRNS,
KC_TRNS,KC_HASH,KC_DLR, KC_LPRN,KC_RPRN,KC_GRV,
KC_TRNS,KC_PERC,KC_CIRC,KC_LBRC,KC_RBRC,KC_TILD,KC_TRNS,
EPRM,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,
RGB_MOD,KC_TRNS,
KC_TRNS,
RGB_VAD,RGB_VAI,KC_TRNS,
// right hand
KC_TRNS, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11,
KC_TRNS, KC_UP, KC_7, KC_8, KC_9, KC_ASTR, KC_F12,
KC_DOWN, KC_4, KC_5, KC_6, KC_PLUS, KC_TRNS,
KC_TRNS, KC_AMPR, KC_1, KC_2, KC_3, KC_BSLS, KC_TRNS,
KC_TRNS,KC_DOT, KC_0, KC_EQL, KC_TRNS,
RGB_TOG, RGB_SLD,
KC_TRNS,
KC_TRNS, RGB_HUD, RGB_HUI
),
Keymap 2: Media and mouse keys
*
* ,--------------------------------------------------. ,--------------------------------------------------.
* | | | | | | | | | | | | | | | |
* |--------+------+------+------+------+-------------| |------+------+------+------+------+------+--------|
* | | | | MsUp | | | | | | | | | | | |
* |--------+------+------+------+------+------| | | |------+------+------+------+------+--------|
* | | |MsLeft|MsDown|MsRght| |------| |------| | | | | | Play |
* |--------+------+------+------+------+------| | | |------+------+------+------+------+--------|
* | | | | | | | | | | | | Prev | Next | | |
* `--------+------+------+------+------+-------------' `-------------+------+------+------+------+--------'
* | | | | Lclk | Rclk | |VolUp |VolDn | Mute | | |
* `----------------------------------' `----------------------------------'
* ,-------------. ,-------------.
* | | | | | |
* ,------|------|------| |------+------+------.
* | | | | | | |Brwser|
* | | |------| |------| |Back |
* | | | | | | | |
* `--------------------' `--------------------'
// MEDIA AND MOUSE
[MDIA] = KEYMAP(
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
KC_TRNS, KC_TRNS, KC_TRNS, KC_MS_U, KC_TRNS, KC_TRNS, KC_TRNS,
KC_TRNS, KC_TRNS, KC_MS_L, KC_MS_D, KC_MS_R, KC_TRNS,
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
KC_TRNS, KC_TRNS, KC_TRNS, KC_BTN1, KC_BTN2,
KC_TRNS, KC_TRNS,
KC_TRNS,
KC_TRNS, KC_TRNS, KC_TRNS,
// right hand
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_MPLY,
KC_TRNS, KC_TRNS, KC_TRNS, KC_MPRV, KC_MNXT, KC_TRNS, KC_TRNS,
KC_VOLU, KC_VOLD, KC_MUTE, KC_TRNS, KC_TRNS,
KC_TRNS, KC_TRNS,
KC_TRNS,
KC_TRNS, KC_TRNS, KC_WBAK
),
};
*/
const uint16_t PROGMEM fn_actions[] = {
[1] = ACTION_LAYER_TAP_TOGGLE(SYMB) // FN1 - Momentary Layer 1 (Symbols)
};
const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt)
{
// MACRODOWN only works in this function
switch(id) {
case 0:
if (record->event.pressed) {
SEND_STRING (QMK_KEYBOARD "/" QMK_KEYMAP " @ " QMK_VERSION);
}
break;
case 1:
if (record->event.pressed) { // For resetting EEPROM
eeconfig_init();
}
break;
}
return MACRO_NONE;
};
bool process_record_user(uint16_t keycode, keyrecord_t *record) {
switch (keycode) {
// dynamically generate these.
case EPRM:
if (record->event.pressed) {
eeconfig_init();
}
return false;
break;
case VRSN:
if (record->event.pressed) {
SEND_STRING (QMK_KEYBOARD "/" QMK_KEYMAP " @ " QMK_VERSION);
}
return false;
break;
case RGB_SLD:
if (record->event.pressed) {
#ifdef RGBLIGHT_ENABLE
rgblight_mode(1);
#endif
}
return false;
break;
}
return true;
}
// Runs just one time when the keyboard initializes.
void matrix_init_user(void) {
};
// Runs constantly in the background, in a loop.
void matrix_scan_user(void) {
uint8_t layer = biton32(layer_state);
ergodox_board_led_off();
ergodox_right_led_1_off();
ergodox_right_led_2_off();
ergodox_right_led_3_off();
switch (layer) {
// TODO: Make this relevant to the ErgoDox EZ.
case 1:
ergodox_right_led_1_on();
break;
case 2:
ergodox_right_led_2_on();
break;
default:
// none
break;
}
};

View file

@ -0,0 +1,42 @@
# Infinity Ergodox
This contains my `qmk_firmware`-compatible Infinity Ergodox keymap.
## Flashing
* Clone and setup the repository at
https://github.com/jackhumbert/qmk_firmware.git - pay special attention to the
dependencies (for arch users, `pacman -S avr-libc avr-gcc` and `dfu-programmer`
in the AUR)
* Run the following command, setting `QMK_DIR` to the directory of the repo you
cloned in the last step:
export QMK_DIR="$HOME/qmk_firmware"
make left
* Put the **left** hand of the ErgoDox in flashing mode
* In the same terminal (so that `QMK_DIR` is set) run:
make dfu-left
* Repeat the previous commands replacing "`left`" with "`right`"
**Note**: You may need to run the `make dfu-left` and `make dfu-right` commands
as root. In this case, use `sudo -E make dfu-{left,right}` so that you preserve
the `QMK_DIR` environment variable.
**Tip**: If you don't have an extra keyboard to send the `make dfu` command,
just prepend `sleep 10 &&` to it to give yourself 10 seconds to hit the flash
button.
That should be it! Your Planck keyboard should now be flashed with this layout.
## Modifying
Just modify `keymap.c` and repeat the steps above for flashing! Easy.
[ergodox_configurator]: https://input.club/configurator-ergodox

View file

@ -1,26 +0,0 @@
# Infinity Ergodox
This contains my kiibohd controller compatible Infinity Ergodox keymap.
Everything in the `src` folder in this directory is unzipped output from [the ergodox configurator][ergodox_configurator].
## Flashing
* Disconnect your ergodox from your flashing PC
* Connect ONE side of the ergodox, noting which side and press it's flash button (orange LED should be on, LCD should be red)
* Open a terminal in the `src` directory and run `dfu-util -D <left|right>_kiibohd.dfu.bin` (depending on which half of the keyboard you plugged in
* Repeat last three steps for other side
## Modifying
* Go to [the ergodox configurator][ergodox_configurator]
* Click "import map"
* Paste the keymap JSON (`src/MDErgo1-Default.json`) into the textarea and import
* Modify as needed
* Click "download firmware" and unzip here, commit, push
## To Do
* Programmatic configurator?
* Learn KLL?
[ergodox_configurator]: https://input.club/configurator-ergodox

View file

@ -1,84 +0,0 @@
Name = "MDErgo1";
Layout = "Default";
Base = "Blank";
Version = "0.1";
Author = "HaaTa (Jacob Alexander) 2015";
KLL = "0.3c";
Date = "2015-09-12";
Generator = "KIICONF 0.2";
U"5" : U"5";
U"4" : U"4";
U"3" : U"3";
U"2" : U"2";
U"1" : U"1";
U"EQUALS" : '~';
U"FUNCTION1" : U"NEXT LAYER";
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"ESCAPE";
U"LALT" : U"MENU";
U"LCTRL" : CONS"VOLUMEDOWN";
U"FUNCTION2" : U"PREV LAYER";
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"NUMLOCK";
U"DELETE" : U"BACKSPACE";
U"BACKSPACE" : U"SPACE";
U"FUNCTION5" : U"FUN2";
U"FUNCTION4" : U"LGUI";
U"FUNCTION3" : U"LALT";
U"BACKTICK" : U"LCTRL";
U"LGUI" : U"LCTRL";
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"NEXT LAYER";
U"Y" : U"Y";
U"U" : U"U";
U"I" : U"I";
U"O" : U"O";
U"P" : U"P";
U"RBRACE" : U"BACKSPACE";
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"INSERT";
U"RCTRL" : CONS"VOLUMEUP";
U"FUNCTION7" : U"PREV LAYER";
U"N" : U"N";
U"M" : U"M";
U"COMMA" : U"COMMA";
U"PERIOD" : U"PERIOD";
U"SLASH" : U"SLASH";
U"RSHIFT" : U"ENTER";
U"PAGEUP" : U"END";
U"PAGEDOWN" : U"PRINTSCREEN";
U"ENTER" : U"ENTER";
U"SPACE" : U"SPACE";
U"LEFT" : U"FUN1";
U"DOWN" : U"LEFT";
U"UP" : U"DOWN";
U"RIGHT" : U"UP";
U"RGUI" : U"RIGHT";

View file

@ -1,62 +0,0 @@
Name = "MDErgo1";
Layout = "Default";
Base = "Blank";
Version = "0.1";
Author = "HaaTa (Jacob Alexander) 2015";
KLL = "0.3c";
Date = "2015-09-12";
Generator = "KIICONF 0.2";
U"ESC" : U"F11";
U"5" : U"F5";
U"4" : U"F4";
U"3" : U"F3";
U"2" : U"F2";
U"1" : U"F1";
U"EQUALS" : U"ESCAPE";
U"T" : '%';
U"R" : '$';
U"E" : '#';
U"W" : '@';
U"Q" : '!';
U"BACKSLASH" : '~';
U"G" : U"F5";
U"F" : U"F4";
U"D" : U"F3";
U"S" : U"F2";
U"A" : U"F1";
U"LALT" : CONS"BRIGHTNESSDECREMENT";
U"LCTRL" : CONS"MUTE";
U"B" : U"F11";
U"V" : U"F10";
U"C" : U"F9";
U"X" : U"F8";
U"Z" : U"F7";
U"DELETE" : U"DELETE";
U"FUNCTION6" : U"F12";
U"6" : U"F6";
U"7" : U"F7";
U"8" : U"F8";
U"9" : U"F9";
U"0" : U"F10";
U"MINUS" : U"DELETE";
U"Y" : '^';
U"U" : '&';
U"I" : '*';
U"O" : '(';
U"P" : ')';
U"RBRACE" : U"DELETE";
U"H" : U"F6";
U"J" : U"MINUS";
U"K" : U"EQUAL";
U"L" : U"LBRACE";
U"SEMICOLON" : U"RBRACE";
U"QUOTE" : U"BACKSLASH";
U"RALT" : CONS"BRIGHTNESSINCREMENT";
U"RCTRL" : CONS"PAUSEPLAY";
U"N" : U"F12";
U"DOWN" : U"HOME";
U"UP" : U"PAGEDOWN";
U"RIGHT" : U"PAGEUP";
U"RGUI" : U"END";

View file

@ -1,36 +0,0 @@
Name = "MDErgo1";
Layout = "Default";
Base = "Blank";
Version = "0.1";
Author = "HaaTa (Jacob Alexander) 2015";
KLL = "0.3c";
Date = "2015-09-12";
Generator = "KIICONF 0.2";
U"EQUALS" : U"BACKTICK";
U"T" : U"5";
U"R" : U"4";
U"E" : U"3";
U"W" : U"2";
U"Q" : U"1";
U"BACKSLASH" : U"BACKTICK";
U"S" : U"F2";
U"A" : U"F1";
U"LALT" : CONS"SCANPREVIOUSTRACK";
U"LCTRL" : CONS"STOP";
U"END" : flashMode();
U"Y" : U"6";
U"U" : U"7";
U"I" : U"8";
U"O" : U"9";
U"P" : U"0";
U"J" : '_';
U"K" : '+';
U"L" : '{';
U"SEMICOLON" : '}';
U"QUOTE" : '|';
U"RALT" : CONS"SCANNEXTTRACK";
U"RCTRL" : CONS"FILEBROWSER";
U"M" : U"INSERT";
U"PAGEDOWN" : flashMode();

File diff suppressed because it is too large Load diff

View file

@ -1,84 +0,0 @@
Name = "MDErgo1";
Layout = "Default";
Base = "Blank";
Version = "0.1";
Author = "HaaTa (Jacob Alexander) 2015";
KLL = "0.3c";
Date = "2015-09-12";
Generator = "KIICONF 0.2";
U"5" : U"5";
U"4" : U"4";
U"3" : U"3";
U"2" : U"2";
U"1" : U"1";
U"EQUALS" : '~';
U"FUNCTION1" : U"NEXT LAYER";
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"ESCAPE";
U"LALT" : U"MENU";
U"LCTRL" : CONS"VOLUMEDOWN";
U"FUNCTION2" : U"PREV LAYER";
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"NUMLOCK";
U"DELETE" : U"BACKSPACE";
U"BACKSPACE" : U"SPACE";
U"FUNCTION5" : U"FUN2";
U"FUNCTION4" : U"LGUI";
U"FUNCTION3" : U"LALT";
U"BACKTICK" : U"LCTRL";
U"LGUI" : U"LCTRL";
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"NEXT LAYER";
U"Y" : U"Y";
U"U" : U"U";
U"I" : U"I";
U"O" : U"O";
U"P" : U"P";
U"RBRACE" : U"BACKSPACE";
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"INSERT";
U"RCTRL" : CONS"VOLUMEUP";
U"FUNCTION7" : U"PREV LAYER";
U"N" : U"N";
U"M" : U"M";
U"COMMA" : U"COMMA";
U"PERIOD" : U"PERIOD";
U"SLASH" : U"SLASH";
U"RSHIFT" : U"ENTER";
U"PAGEUP" : U"END";
U"PAGEDOWN" : U"PRINTSCREEN";
U"ENTER" : U"ENTER";
U"SPACE" : U"SPACE";
U"LEFT" : U"FUN1";
U"DOWN" : U"LEFT";
U"UP" : U"DOWN";
U"RIGHT" : U"UP";
U"RGUI" : U"RIGHT";

View file

@ -1,62 +0,0 @@
Name = "MDErgo1";
Layout = "Default";
Base = "Blank";
Version = "0.1";
Author = "HaaTa (Jacob Alexander) 2015";
KLL = "0.3c";
Date = "2015-09-12";
Generator = "KIICONF 0.2";
U"ESC" : U"F11";
U"5" : U"F5";
U"4" : U"F4";
U"3" : U"F3";
U"2" : U"F2";
U"1" : U"F1";
U"EQUALS" : U"ESCAPE";
U"T" : '%';
U"R" : '$';
U"E" : '#';
U"W" : '@';
U"Q" : '!';
U"BACKSLASH" : '~';
U"G" : U"F5";
U"F" : U"F4";
U"D" : U"F3";
U"S" : U"F2";
U"A" : U"F1";
U"LALT" : CONS"BRIGHTNESSDECREMENT";
U"LCTRL" : CONS"MUTE";
U"B" : U"F11";
U"V" : U"F10";
U"C" : U"F9";
U"X" : U"F8";
U"Z" : U"F7";
U"DELETE" : U"DELETE";
U"FUNCTION6" : U"F12";
U"6" : U"F6";
U"7" : U"F7";
U"8" : U"F8";
U"9" : U"F9";
U"0" : U"F10";
U"MINUS" : U"DELETE";
U"Y" : '^';
U"U" : '&';
U"I" : '*';
U"O" : '(';
U"P" : ')';
U"RBRACE" : U"DELETE";
U"H" : U"F6";
U"J" : U"MINUS";
U"K" : U"EQUAL";
U"L" : U"LBRACE";
U"SEMICOLON" : U"RBRACE";
U"QUOTE" : U"BACKSLASH";
U"RALT" : CONS"BRIGHTNESSINCREMENT";
U"RCTRL" : CONS"PAUSEPLAY";
U"N" : U"F12";
U"DOWN" : U"HOME";
U"UP" : U"PAGEDOWN";
U"RIGHT" : U"PAGEUP";
U"RGUI" : U"END";

View file

@ -1,36 +0,0 @@
Name = "MDErgo1";
Layout = "Default";
Base = "Blank";
Version = "0.1";
Author = "HaaTa (Jacob Alexander) 2015";
KLL = "0.3c";
Date = "2015-09-12";
Generator = "KIICONF 0.2";
U"EQUALS" : U"BACKTICK";
U"T" : U"5";
U"R" : U"4";
U"E" : U"3";
U"W" : U"2";
U"Q" : U"1";
U"BACKSLASH" : U"BACKTICK";
U"S" : U"F2";
U"A" : U"F1";
U"LALT" : CONS"SCANPREVIOUSTRACK";
U"LCTRL" : CONS"STOP";
U"END" : flashMode();
U"Y" : U"6";
U"U" : U"7";
U"I" : U"8";
U"O" : U"9";
U"P" : U"0";
U"J" : '_';
U"K" : '+';
U"L" : '{';
U"SEMICOLON" : '}';
U"QUOTE" : '|';
U"RALT" : CONS"SCANNEXTTRACK";
U"RCTRL" : CONS"FILEBROWSER";
U"M" : U"INSERT";
U"PAGEDOWN" : flashMode();

Binary file not shown.

View file

@ -1,192 +0,0 @@
cgi-bin/build_layout.bash 2ebe861a73c34229904fb6c6121d5dc815777a49f9900e MDErgo1 "MDErgo1-Default-0.kll" "MDErgo1-Default-1.kll" "MDErgo1-Default-2.kll" 2>&1
/srv/KiiConf/dist/tmp/2ebe861a73c34229904fb6c6121d5dc815777a49f9900e
/srv/KiiConf/dist/tmp/2ebe861a73c34229904fb6c6121d5dc815777a49f9900e
+ mkdir -p left
+ mkdir -p right
+ cd left
+ cp ../MDErgo1-Default-0.kll ../MDErgo1-Default-1.kll ../MDErgo1-Default-2.kll .
+ cd right
+ cp ../MDErgo1-Default-0.kll ../MDErgo1-Default-1.kll ../MDErgo1-Default-2.kll .
+ cmake /srv/KiiConf/controller -DScanModule=MDErgo1 -DCHIP=mk20dx256vlh7 '-DBaseMap=defaultMap rightHand slave1 leftHand' -DMacroModule=PartialMap -DOutputModule=pjrcUSB -DDebugModule=full '-DDefaultMap=MDErgo1-Default-0 lcdFuncMap' '-DPartialMaps=MDErgo1-Default-1 lcdFuncMap;MDErgo1-Default-2 lcdFuncMap' -DCONFIGURATOR=1
+ cmake /srv/KiiConf/controller -DScanModule=MDErgo1 -DCHIP=mk20dx256vlh7 '-DBaseMap=defaultMap leftHand slave1 rightHand' -DMacroModule=PartialMap -DOutputModule=pjrcUSB -DDebugModule=full '-DDefaultMap=MDErgo1-Default-0 lcdFuncMap' '-DPartialMaps=MDErgo1-Default-1 lcdFuncMap;MDErgo1-Default-2 lcdFuncMap' -DCONFIGURATOR=1
-- Compiler Family:
arm
-- Compiler Selected:
gcc
-- Chip Selected:
mk20dx256vlh7
-- Chip Family:
mk20dx
-- CPU Selected:
cortex-m4
-- Compiler Source Files:
Lib/mk20dx.c;Lib/delay.c
-- Bootloader Type:
dfu
-- Compiler Family:
arm
-- Compiler Selected:
gcc
-- Chip Selected:
mk20dx256vlh7
-- Chip Family:
mk20dx
-- CPU Selected:
cortex-m4
-- 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
-- Found Git: /usr/bin/git (found version "1.9.1")
-- 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
-- Found Ctags: /usr/bin/ctags (found version "5.9~svn20110310")
-- 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 Ctags: /usr/bin/ctags (found version "5.9~svn20110310")
ctags: cannot open tag file : Permission denied
-- Detected Layout Files:
/srv/KiiConf/controller/Scan/ISSILed/capabilities.kll
/srv/KiiConf/controller/Scan/MatrixARM/capabilities.kll
/srv/KiiConf/controller/Scan/STLcd/capabilities.kll
/srv/KiiConf/controller/Scan/UARTConnect/capabilities.kll
/srv/KiiConf/controller/Macro/PartialMap/capabilities.kll
/srv/KiiConf/controller/Output/pjrcUSB/capabilities.kll
/srv/KiiConf/controller/Scan/MDErgo1/defaultMap.kll
/srv/KiiConf/controller/Scan/MDErgo1/rightHand.kll
/srv/KiiConf/controller/Scan/MDErgo1/slave1.kll
/srv/KiiConf/controller/Scan/MDErgo1/leftHand.kll
/srv/KiiConf/dist/tmp/2ebe861a73c34229904fb6c6121d5dc815777a49f9900e/right/MDErgo1-Default-0.kll
/srv/KiiConf/controller/kll/layouts/lcdFuncMap.kll
/srv/KiiConf/dist/tmp/2ebe861a73c34229904fb6c6121d5dc815777a49f9900e/right/MDErgo1-Default-1.kll
/srv/KiiConf/controller/kll/layouts/lcdFuncMap.kll
/srv/KiiConf/dist/tmp/2ebe861a73c34229904fb6c6121d5dc815777a49f9900e/right/MDErgo1-Default-2.kll
/srv/KiiConf/controller/kll/layouts/lcdFuncMap.kll
ctags: cannot open tag file : Permission denied
-- Detected Layout Files:
/srv/KiiConf/controller/Scan/ISSILed/capabilities.kll
/srv/KiiConf/controller/Scan/MatrixARM/capabilities.kll
/srv/KiiConf/controller/Scan/STLcd/capabilities.kll
/srv/KiiConf/controller/Scan/UARTConnect/capabilities.kll
/srv/KiiConf/controller/Macro/PartialMap/capabilities.kll
/srv/KiiConf/controller/Output/pjrcUSB/capabilities.kll
/srv/KiiConf/controller/Scan/MDErgo1/defaultMap.kll
/srv/KiiConf/controller/Scan/MDErgo1/leftHand.kll
/srv/KiiConf/controller/Scan/MDErgo1/slave1.kll
/srv/KiiConf/controller/Scan/MDErgo1/rightHand.kll
/srv/KiiConf/dist/tmp/2ebe861a73c34229904fb6c6121d5dc815777a49f9900e/left/MDErgo1-Default-0.kll
/srv/KiiConf/controller/kll/layouts/lcdFuncMap.kll
/srv/KiiConf/dist/tmp/2ebe861a73c34229904fb6c6121d5dc815777a49f9900e/left/MDErgo1-Default-1.kll
/srv/KiiConf/controller/kll/layouts/lcdFuncMap.kll
/srv/KiiConf/dist/tmp/2ebe861a73c34229904fb6c6121d5dc815777a49f9900e/left/MDErgo1-Default-2.kll
/srv/KiiConf/controller/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/2ebe861a73c34229904fb6c6121d5dc815777a49f9900e/right
+ 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/2ebe861a73c34229904fb6c6121d5dc815777a49f9900e/left
+ make -j
[ 4%] [ 4%] Generating KLL Layout
Generating KLL Layout
Scanning dependencies of target kiibohd.elf
[ 16%] [ 16%] [ 16%] [ 20%] [ 24%] [ 28%] Building C object CMakeFiles/kiibohd.elf.dir/Scan/MatrixARM/matrix_scan.c.o
Building C object CMakeFiles/kiibohd.elf.dir/main.c.o
Building C object CMakeFiles/kiibohd.elf.dir/Lib/delay.c.o
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/STLcd/lcd_scan.c.o
[ 32%] [ 36%] Building C object CMakeFiles/kiibohd.elf.dir/Scan/MDErgo1/scan_loop.c.o
[ 40%] Building C object CMakeFiles/kiibohd.elf.dir/Scan/UARTConnect/connect_scan.c.o
Building C object CMakeFiles/kiibohd.elf.dir/Macro/PartialMap/macro.c.o
[ 44%] [ 48%] [ 52%] Scanning dependencies of target kiibohd.elf
Building C object CMakeFiles/kiibohd.elf.dir/Macro/PartialMap/result.c.o
Building C object CMakeFiles/kiibohd.elf.dir/Macro/PartialMap/trigger.c.o
Building C object CMakeFiles/kiibohd.elf.dir/Output/pjrcUSB/output_com.c.o
[ 56%] [ 8%] [ 12%] Building C object CMakeFiles/kiibohd.elf.dir/main.c.o
[ 60%] [ 16%] [ 64%] Building C object CMakeFiles/kiibohd.elf.dir/Output/pjrcUSB/arm/usb_desc.c.o
[ 68%] Building C object CMakeFiles/kiibohd.elf.dir/Output/pjrcUSB/arm/usb_dev.c.o
Building C object CMakeFiles/kiibohd.elf.dir/Lib/mk20dx.c.o
[ 20%] [ 24%] 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_keyboard.c.o
Building C object CMakeFiles/kiibohd.elf.dir/Lib/delay.c.o
[ 72%] [ 76%] [ 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
[ 32%] Building C object CMakeFiles/kiibohd.elf.dir/Scan/STLcd/lcd_scan.c.o
Building C object CMakeFiles/kiibohd.elf.dir/Output/pjrcUSB/arm/usb_mem.c.o
[ 80%] [ 84%] [ 88%] Building C object CMakeFiles/kiibohd.elf.dir/Output/pjrcUSB/arm/usb_mouse.c.o
Building C object CMakeFiles/kiibohd.elf.dir/Output/pjrcUSB/arm/usb_rawio.c.o
[ 36%] Building C object CMakeFiles/kiibohd.elf.dir/Output/pjrcUSB/arm/usb_serial.c.o
[ 92%] [ 96%] Building C object CMakeFiles/kiibohd.elf.dir/Scan/UARTConnect/connect_scan.c.o
Building C object CMakeFiles/kiibohd.elf.dir/Debug/cli/cli.c.o
Building C object CMakeFiles/kiibohd.elf.dir/Scan/MDErgo1/scan_loop.c.o
Building C object CMakeFiles/kiibohd.elf.dir/Debug/led/led.c.o
[ 40%] Building C object CMakeFiles/kiibohd.elf.dir/Debug/print/print.c.o
[ 44%] [ 48%] [ 52%] Building C object CMakeFiles/kiibohd.elf.dir/Macro/PartialMap/macro.c.o
Building C object CMakeFiles/kiibohd.elf.dir/Macro/PartialMap/result.c.o
[ 56%] Building C object CMakeFiles/kiibohd.elf.dir/Macro/PartialMap/trigger.c.o
Building C object CMakeFiles/kiibohd.elf.dir/Output/pjrcUSB/output_com.c.o
[ 60%] Building C object CMakeFiles/kiibohd.elf.dir/Output/pjrcUSB/arm/usb_desc.c.o
[ 64%] 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
[ 68%] Building C object CMakeFiles/kiibohd.elf.dir/Output/pjrcUSB/arm/usb_keyboard.c.o
[ 72%] [ 76%] Building C object CMakeFiles/kiibohd.elf.dir/Output/pjrcUSB/arm/usb_mem.c.o
[ 80%] Building C object CMakeFiles/kiibohd.elf.dir/Output/pjrcUSB/arm/usb_mouse.c.o
Building C object CMakeFiles/kiibohd.elf.dir/Output/pjrcUSB/arm/usb_rawio.c.o
[ 84%] [ 88%] [ 92%] 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
Building C object CMakeFiles/kiibohd.elf.dir/Debug/led/led.c.o
[ 96%] Building C object CMakeFiles/kiibohd.elf.dir/Debug/print/print.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
Creating Symbol Table: kiibohd.sym
Create and sign dfu bin file: kiibohd.dfu.bin
[ 96%] Built target kiibohd.elf
Creating Extended Listing: kiibohd.lss
Scanning dependencies of target SizeAfter
[100%] Chip usage for mk20dx256vlh7
 SRAM: 14% 9656/65536 bytes
Flash: 17% 45176/253952 bytes
[100%] Built target SizeAfter
+ RETVAL=0
+ set +x
/srv/KiiConf/dist/tmp/2ebe861a73c34229904fb6c6121d5dc815777a49f9900e
Creating Symbol Table: kiibohd.sym
[ 96%] Built target kiibohd.elf
Scanning dependencies of target SizeAfter
[100%] Chip usage for mk20dx256vlh7
 SRAM: 14% 9696/65536 bytes
Flash: 17% 45264/253952 bytes
[100%] Built target SizeAfter
+ RETVAL=0
+ set +x

File diff suppressed because it is too large Load diff

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: 2016-07-02
// KLL Backend: kiibohd
// KLL Git Rev: 6135cbb8329eff480c4100a1b46557f690ea604b
// KLL Git Changes: None
// Compiler arguments:
// /srv/KiiConf/controller/kll/kll.py
// /srv/KiiConf/controller/Scan/ISSILed/capabilities.kll
// /srv/KiiConf/controller/Scan/MatrixARM/capabilities.kll
// /srv/KiiConf/controller/Scan/STLcd/capabilities.kll
// /srv/KiiConf/controller/Scan/UARTConnect/capabilities.kll
// /srv/KiiConf/controller/Macro/PartialMap/capabilities.kll
// /srv/KiiConf/controller/Output/pjrcUSB/capabilities.kll
// /srv/KiiConf/controller/Scan/MDErgo1/defaultMap.kll
// /srv/KiiConf/controller/Scan/MDErgo1/leftHand.kll
// /srv/KiiConf/controller/Scan/MDErgo1/slave1.kll
// /srv/KiiConf/controller/Scan/MDErgo1/rightHand.kll
// -d
// MDErgo1-Default-0.kll
// /srv/KiiConf/controller/kll/layouts/lcdFuncMap.kll
// -p
// MDErgo1-Default-1.kll
// /srv/KiiConf/controller/kll/layouts/lcdFuncMap.kll
// -p
// MDErgo1-Default-2.kll
// /srv/KiiConf/controller/kll/layouts/lcdFuncMap.kll
// --backend
// kiibohd
// --templates
// /srv/KiiConf/controller/kll/templates/kiibohdKeymap.h
// /srv/KiiConf/controller/kll/templates/kiibohdDefs.h
// --outputs
// generatedKeymap.h
// kll_defs.h
//
// - Base Layer -
// ISSILedCapabilities
// /srv/KiiConf/controller/Scan/ISSILed/capabilities.kll
// MatrixArmCapabilities
// /srv/KiiConf/controller/Scan/MatrixARM/capabilities.kll
// STLcdCapabilities
// /srv/KiiConf/controller/Scan/STLcd/capabilities.kll
// UARTConnectCapabilities
// /srv/KiiConf/controller/Scan/UARTConnect/capabilities.kll
// PartialMapCapabilities
// /srv/KiiConf/controller/Macro/PartialMap/capabilities.kll
// pjrcUSBCapabilities
// /srv/KiiConf/controller/Output/pjrcUSB/capabilities.kll
// MDErgo1
// /srv/KiiConf/controller/Scan/MDErgo1/defaultMap.kll
// MDErgo1LeftHand
// /srv/KiiConf/controller/Scan/MDErgo1/leftHand.kll
// MDErgo1Slave1
// /srv/KiiConf/controller/Scan/MDErgo1/slave1.kll
// MDErgo1RightHand
// /srv/KiiConf/controller/Scan/MDErgo1/rightHand.kll
// - Default Layer -
// MDErgo1
// MDErgo1-Default-0.kll
// lcdFuncMap
// /srv/KiiConf/controller/kll/layouts/lcdFuncMap.kll
// - Partial Layers -
// Layer 1
// MDErgo1
// MDErgo1-Default-1.kll
// lcdFuncMap
// /srv/KiiConf/controller/kll/layouts/lcdFuncMap.kll
// Layer 2
// MDErgo1
// MDErgo1-Default-2.kll
// lcdFuncMap
// /srv/KiiConf/controller/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;
// ----- KLL Variables -----
// ----- Defines -----
// -- Interconnect Node Maximum --
#define InterconnectNodeMax 0x2
#define StateWordSize_define 8
#define STLcdBacklightBlue_define 4095
#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 UARTConnectCableCheckLength_define 2
#define STLcdBacklightPrescalar_define 0
#define STLcdNumber8Color_define 0x8303, 0x1394, 0xB9F9
#define STLcdNumber7Color_define 0x00C1, 0x7E7E, 0x3C3C
#define UARTConnectBufSize_define 128
#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 DebounceThrottleDiv_define 0
#define USBProtocol_define 1
#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 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 enableUSBResume_define 1
#define UARTConnectBaudFine_define 0
#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 STLcdNumber5Color_define 0xB7B7, 0x5D5D, 0x8545
#define MinDebounceTime_define 5
#define ConnectEnabled_define 1
#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 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 STLcdNumber9Color_define 0x09CA, 0x12D3, 0x8484
#define IndexWordSize_define 16
#define flashModeEnabled_define 0
#define STLcdNumber6Color_define 0xBCFC, 0xB6F6, 0x2D2D
#define enableJoystick_define 0
#define enableDeviceRestartOnUSBTimeout_define 0
#define LCDEnabled_define 1
#define DebounceDivThreshold_define 65535
#define STLcdNumber3Color_define 0x0000, 0x8242, 0xB3F3
#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 STLcdNumber4Color_define 0xF6F6, 0xA5A5, 0x4949
#define enableRawIO_define 0
#define enableUSBSuspend_define 1
#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 STLcdNumber2Color_define 0x4B4B, 0x8D8D, 0x34B5
#define enableVirtualSerialPort_define 1
#define enableMouse_define 1
#define enableUSBLowPowerNegotiation_define 0
#define STLcdNumber0Color_define 0xB939, 0xAAEA, 0x8D8D
#define STLcdNumber1Color_define 0xA8A8, 0x2727, 0x1FA0
#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 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 UARTConnectBaud_define 1
#define STLcdBacklightRed_define 4095
#define STLcdBacklightGreen_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 enableKeyboard_define 1
#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 CapabilitiesNum_KLL 17
#define ResultMacroNum_KLL 113
#define TriggerMacroNum_KLL 152
#define LayerNum_KLL 3

File diff suppressed because it is too large Load diff

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: 2016-07-02
// KLL Backend: kiibohd
// KLL Git Rev: 6135cbb8329eff480c4100a1b46557f690ea604b
// KLL Git Changes: None
// Compiler arguments:
// /srv/KiiConf/controller/kll/kll.py
// /srv/KiiConf/controller/Scan/ISSILed/capabilities.kll
// /srv/KiiConf/controller/Scan/MatrixARM/capabilities.kll
// /srv/KiiConf/controller/Scan/STLcd/capabilities.kll
// /srv/KiiConf/controller/Scan/UARTConnect/capabilities.kll
// /srv/KiiConf/controller/Macro/PartialMap/capabilities.kll
// /srv/KiiConf/controller/Output/pjrcUSB/capabilities.kll
// /srv/KiiConf/controller/Scan/MDErgo1/defaultMap.kll
// /srv/KiiConf/controller/Scan/MDErgo1/rightHand.kll
// /srv/KiiConf/controller/Scan/MDErgo1/slave1.kll
// /srv/KiiConf/controller/Scan/MDErgo1/leftHand.kll
// -d
// MDErgo1-Default-0.kll
// /srv/KiiConf/controller/kll/layouts/lcdFuncMap.kll
// -p
// MDErgo1-Default-1.kll
// /srv/KiiConf/controller/kll/layouts/lcdFuncMap.kll
// -p
// MDErgo1-Default-2.kll
// /srv/KiiConf/controller/kll/layouts/lcdFuncMap.kll
// --backend
// kiibohd
// --templates
// /srv/KiiConf/controller/kll/templates/kiibohdKeymap.h
// /srv/KiiConf/controller/kll/templates/kiibohdDefs.h
// --outputs
// generatedKeymap.h
// kll_defs.h
//
// - Base Layer -
// ISSILedCapabilities
// /srv/KiiConf/controller/Scan/ISSILed/capabilities.kll
// MatrixArmCapabilities
// /srv/KiiConf/controller/Scan/MatrixARM/capabilities.kll
// STLcdCapabilities
// /srv/KiiConf/controller/Scan/STLcd/capabilities.kll
// UARTConnectCapabilities
// /srv/KiiConf/controller/Scan/UARTConnect/capabilities.kll
// PartialMapCapabilities
// /srv/KiiConf/controller/Macro/PartialMap/capabilities.kll
// pjrcUSBCapabilities
// /srv/KiiConf/controller/Output/pjrcUSB/capabilities.kll
// MDErgo1
// /srv/KiiConf/controller/Scan/MDErgo1/defaultMap.kll
// MDErgo1RightHand
// /srv/KiiConf/controller/Scan/MDErgo1/rightHand.kll
// MDErgo1Slave1
// /srv/KiiConf/controller/Scan/MDErgo1/slave1.kll
// MDErgo1LeftHand
// /srv/KiiConf/controller/Scan/MDErgo1/leftHand.kll
// - Default Layer -
// MDErgo1
// MDErgo1-Default-0.kll
// lcdFuncMap
// /srv/KiiConf/controller/kll/layouts/lcdFuncMap.kll
// - Partial Layers -
// Layer 1
// MDErgo1
// MDErgo1-Default-1.kll
// lcdFuncMap
// /srv/KiiConf/controller/kll/layouts/lcdFuncMap.kll
// Layer 2
// MDErgo1
// MDErgo1-Default-2.kll
// lcdFuncMap
// /srv/KiiConf/controller/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;
// ----- KLL Variables -----
// ----- Defines -----
// -- Interconnect Node Maximum --
#define InterconnectNodeMax 0x2
#define ConnectEnabled_define 1
#define DebounceDivThreshold_define 65535
#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 STLcdBacklightBlue_define 4095
#define STLcdNumber9Color_define 0x09CA, 0x12D3, 0x8484
#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 KeyboardLocale_define 0
#define STLcdNumber8Color_define 0x8303, 0x1394, 0xB9F9
#define flashModeEnabled_define 0
#define StateWordSize_define 8
#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 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 STLcdNumber1Color_define 0xA8A8, 0x2727, 0x1FA0
#define DebounceThrottleDiv_define 0
#define enableDeviceRestartOnUSBTimeout_define 0
#define STLcdNumber7Color_define 0x00C1, 0x7E7E, 0x3C3C
#define STLcdNumber5Color_define 0xB7B7, 0x5D5D, 0x8545
#define enableMouse_define 1
#define STLcdNumber0Color_define 0xB939, 0xAAEA, 0x8D8D
#define UARTConnectBaud_define 1
#define STLcdNumber2Color_define 0x4B4B, 0x8D8D, 0x34B5
#define STLcdBacklightPrescalar_define 0
#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 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 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 UARTConnectBufSize_define 128
#define USBProtocol_define 1
#define STLcdNumber4Color_define 0xF6F6, 0xA5A5, 0x4949
#define enableVirtualSerialPort_define 1
#define MinDebounceTime_define 5
#define enableKeyboard_define 1
#define UARTConnectBaudFine_define 0
#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 enableJoystick_define 0
#define enableUSBResume_define 1
#define STLcdNumber6Color_define 0xBCFC, 0xB6F6, 0x2D2D
#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 LCDEnabled_define 1
#define STLcdBacklightRed_define 4095
#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 UARTConnectCableCheckLength_define 2
#define enableUSBSuspend_define 1
#define IndexWordSize_define 16
#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 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 STLcdNumber3Color_define 0x0000, 0x8242, 0xB3F3
#define enableRawIO_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 STLcdBacklightGreen_define 4095
#define enableUSBLowPowerNegotiation_define 0
#define CapabilitiesNum_KLL 17
#define ResultMacroNum_KLL 113
#define TriggerMacroNum_KLL 152
#define LayerNum_KLL 3

View file

@ -5,7 +5,7 @@ endif
MY_KEYMAP_DIR = "${QMK_DIR}/keyboards/planck/keymaps/lytedev"
all:
@rm -r "${MY_KEYMAP_DIR}"
@rm -rf "${MY_KEYMAP_DIR}"
@mkdir -p "${MY_KEYMAP_DIR}"
@cp keymap.mk "${MY_KEYMAP_DIR}/Makefile"
@cp keymap.c "${MY_KEYMAP_DIR}/keymap.c"

View file

@ -43,7 +43,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
* ,-----------------------------------------------------------------------------------.
* | Tab | Q | W | E | R | T | Y | U | I | O | P | Bksp |
* |------+------+------+------+------+-------------+------+------+------+------+------|
* | Esc | A | S | D | F | G | H | J | K | L | ; | " |
* | Esc | A | S | D | F | G | H | J | K | L | ; | \" |
* |------+------+------+------+------+------|------+------+------+------+------+------|
* | Shift| Z | X | C | V | B | N | M | , | . | / |Enter |
* |------+------+------+------+------+------+------+------+------+------+------+------|
@ -61,7 +61,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
* ,-----------------------------------------------------------------------------------.
* | Tab | Q | W | F | P | G | J | L | U | Y | ; | Bksp |
* |------+------+------+------+------+-------------+------+------+------+------+------|
* | Esc | A | R | S | T | D | H | N | E | I | O | " |
* | Esc | A | R | S | T | D | H | N | E | I | O | \" |
* |------+------+------+------+------+------|------+------+------+------+------+------|
* | Shift| Z | X | C | V | B | K | M | , | . | / |Enter |
* |------+------+------+------+------+------+------+------+------+------+------+------|
@ -77,7 +77,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
/* Dvorak
* ,-----------------------------------------------------------------------------------.
* | Tab | " | , | . | P | Y | F | G | C | R | L | Bksp |
* | Tab | \" | , | . | P | Y | F | G | C | R | L | Bksp |
* |------+------+------+------+------+-------------+------+------+------+------+------|
* | Esc | A | O | E | U | I | D | H | T | N | S | / |
* |------+------+------+------+------+------|------+------+------+------+------+------|

View file

@ -1,21 +1,25 @@
# Planck
This contains my `qmk_firmware`-compatible Planck keymap.
## Flashing
* Clone and setup the repository at https://github.com/jackhumbert/qmk_firmware.git - pay special attention to the dependencies (for arch users, `pacman -S avr-libc avr-gcc` and `dfu-programmer` in the AUR)
* Run the following command, setting `QMK_DIR` to the directory of the repo you cloned in the last step:
```QMK_DIR=~/qmk_firmware make```
QMK_DIR="$HOME/qmk_firmware" make
* And then flash your keyboard by pressing the reset button in the bottom of it (or the `RESET` key if you have it programmed in) and run (don't forget to set `QMK_DIR` to the directory of the repo we cloned in the first step!):
```QMK_DIR=~/qmk_firmware sudo make dfu```
QMK_DIR="$HOME/qmk_firmware" sudo make dfu
**Tip**: If you don't have an extra keyboard to send the `make dfu` command, just prepend `sleep 10 &&` to it to give yourself 10 seconds to hit the flash button.
That should be it! Your Planck keyboard should now be flashed with this layout.
## Modifying
Just modify `keymap.c` and repeat the steps above for flashing! Easy.

View file

@ -1,2 +1,5 @@
# keyboards
My personal keyboard configuration files.
See each subdirectory for different keyboard models.