/* Copyright 2019 Thomas Baart * * This program 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 2 of the License, or * (at your option) any later version. * * This program 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 program. If not, see . */ #include QMK_KEYBOARD_H #include enum layers { _QWERTY = 0, _LOWER, _RAISE, _ADJUST, _GAMING, _GAMING_NUMS }; const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { /* * Base Layer: QWERTY * * ,-------------------------------------------. ,-------------------------------------------. * | ' ? | P | O | I | U | Y | | T | R | E | W | Q | Tab | * |--------+------+------+------+------+------| |------+------+------+------+------+--------| * | ´ ¨ | Ñ | L | K | J | H | | G | F | D | S | A | ESC | * |--------+------+------+------+------+------+-------------. ,-------------+------+------+------+------+------+--------| * | " | - _ | . : | , ; | M | N | $ | | | |CpsLck| B | V | C | X | Z | < > | * | | | | | | |SperSh|RCtrl | |Gaming|CtrAlt| | | | | | LShift | * `----------------------+------+------+------+------+------| |------+------+------+------+------+----------------------' * | AltGr| Tab | ` | App | Bksp | | Esc | Enter| Space| |Del | * | | Raise| AltGr| Super|LShift| | Alt | Ctrl | | Lower|LShift| * `----------------------------------' `----------------------------------' */ [_QWERTY] = LAYOUT( ES_QUOT, KC_P, KC_O, KC_I, KC_U, KC_Y, KC_T, KC_R, KC_E, KC_W, KC_Q, KC_TAB, ES_ACUT, ES_NTIL, KC_L, KC_K, KC_J, KC_H, KC_G, KC_F, KC_D, KC_S, KC_A, KC_ESC, ES_DQUO, ES_MINS, ES_DOT, ES_COMM, KC_M, KC_N, SGUI_T(ES_DLR), KC_RCTL, TO(_GAMING), LCA_T(KC_CAPS), KC_B, KC_V, KC_C, KC_X, KC_Z, MT(MOD_LSFT, ES_LABK), KC_RALT, LT(_RAISE, KC_TAB), MT(MOD_RALT, ES_GRV), MT(MOD_LGUI, KC_APP), MT(MOD_LSFT, KC_BSPC), MT(MOD_LALT, KC_ESC), MT(MOD_LCTL, KC_ENT), KC_SPC, MO(_LOWER), MT(MOD_LSFT, KC_DEL) ), /* * Lower Layer: Symbols * * ,-------------------------------------------. ,-------------------------------------------. * | ! | ¡ | 9 | 8 | 7 | & | | $ | ) | ( | @ | + | | * |--------+------+------+------+------+------| |------+------+------+------+------+--------| * | ? | ¿ | 6 | 5 | 4 | 0 | | # | } | { | / | * | | * |--------+------+------+------+------+------+-------------. ,-------------+------+------+------+------+------+--------| * | - _ | = | 3 | 2 | 1 | | | | | | | | ~ | ] | [ | % | ^ | \ | * `----------------------+------+------+------+------+------| |------+------+------+------+------+----------------------' * | | | | | | | | | | | | * `----------------------------------' `----------------------------------' */ [_LOWER] = LAYOUT( ES_EXLM, ES_IEXL, KC_9, KC_8, KC_7, ES_AMPR, ES_DLR, ES_RPRN, ES_LPRN, ES_AT, ES_PLUS, _______, ES_QUES, ES_IQUE, KC_6, KC_5, KC_4, ES_0, ES_HASH, ES_RCBR, ES_LCBR, ES_SLSH, ES_ASTR, _______, KC_MINS, ES_EQL, KC_3, KC_2, KC_1, ES_PIPE, _______, _______, _______, _______, ES_TILD, ES_RBRC, ES_LBRC, ES_PERC, ES_CIRC, ES_BSLS, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ ), /* * Raise Layer: Number keys, media, navigation * * ,-------------------------------------------. ,-------------------------------------------. * | | | Next | Play | Stop | Prev | |Mouse3|Mouse2|MouseU|Mouse1|WheelU| | * |--------+------+------+------+------+------| |------+------+------+------+------+--------| * | | | Right| Up | Down | Left | | VolUp|MouseR|MouseD|MouseL|WheelD| | * |--------+------+------+------+------+------+-------------. ,-------------+------+------+------+------+------+--------| * | | |MRight| MUp | Mdown| MLeft| | | | BriU | BriD | VolDn| Mute | Acc2 | Acc1 | Acc0 | | * `----------------------+------+------+------+------+------| |------+------+------+------+------+----------------------' * | | | | | | | | | | | | * `----------------------------------' `----------------------------------' */ [_RAISE] = LAYOUT( _______, _______, KC_MNXT, KC_MPLY, KC_MSTP, KC_MPRV, KC_BTN3, KC_BTN2, KC_MS_U, KC_BTN1, KC_WH_U, _______, _______, _______, KC_RGHT, KC_UP, KC_DOWN, KC_LEFT, KC_VOLU, KC_MS_R, KC_MS_D, KC_MS_L, KC_WH_D, _______, _______, _______, KC_MS_R, KC_MS_U, KC_MS_D, KC_MS_L, _______, _______, KC_BRIU, KC_BRID, KC_VOLD, KC_MUTE, KC_ACL2, KC_ACL1, KC_ACL0, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ ), /* * Adjust Layer: Function keys, RGB * * ,-------------------------------------------. ,-------------------------------------------. * | | F10 | F9 | F8 | F7 | F6 | | F5 | F4 | F3 | F2 | F1 | | * |--------+------+------+------+------+------| |------+------+------+------+------+--------| * | | F12 | F11 | | | | | MOD | VAI | HUI | SAI | TOG | | * |--------+------+------+------+------+------+-------------. ,-------------+------+------+------+------+------+--------| * | | | | | | | | | | | | RMOD | VAD | HUD | SAD | | | * `----------------------+------+------+------+------+------| |------+------+------+------+------+----------------------' * | | | | | | | | | | | | * | | | | | | | | | | | | * `----------------------------------' `----------------------------------' */ [_ADJUST] = LAYOUT( _______, KC_F10, KC_F9, KC_F8, KC_F7, KC_F6, KC_F5, KC_F4, KC_F3, KC_F2, KC_F1, _______, _______, KC_F12, KC_F11, _______, _______, _______, RGB_MOD, RGB_VAI, RGB_HUI, RGB_SAI, RGB_TOG, _______, _______, _______, _______, _______, _______, _______,_______, _______, _______, _______, RGB_RMOD, RGB_VAD, RGB_HUD, RGB_SAD, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ ), /* * Gaming Layer: For left hand on keyboard and right hand on mouse * * ,-------------------------------------------. ,-------------------------------------------. * | | | | | | | | R | E | W | Q | | | * |--------+------+------+------+------+------| |------+------+------+------+------+--------| * | | | | | | | | F | D | S | A | Ctrl | ESC | * |--------+------+------+------+------+------+-------------. ,-------------+------+------+------+------+------+--------| * | | | | | | | | | |Qwerty| | V | C | X | Z | Shft | | * `----------------------+------+------+------+------+------| |------+------+------+------+------+----------------------' * | | | | | | | | | | | | * | | | | | | | | | | Gnums| | * `----------------------------------' `----------------------------------' */ [_GAMING] = LAYOUT( _______, _______, _______, _______, _______, _______, KC_R, KC_E, KC_W, KC_Q, _______, _______, _______, _______, _______, _______, _______, _______, KC_F, KC_D, KC_S, KC_A, KC_LCTRL, KC_ESC, _______, _______, _______, _______, _______, _______, _______, _______, TO(_QWERTY), _______, KC_V, KC_C, KC_X, KC_Z, KC_LSFT, _______, _______, _______, _______, _______, _______, _______, _______, _______, MO(_GAMING_NUMS), _______ ), /* * Gaming Layer Two: For numbers * * ,-------------------------------------------. ,-------------------------------------------. * | | | | | | | | | 9 | 8 | 7 | | | * |--------+------+------+------+------+------| |------+------+------+------+------+--------| * | | | | | | | | . | 6 | S | 4 | 0 | | * |--------+------+------+------+------+------+-------------. ,-------------+------+------+------+------+------+--------| * | | | | | | | | | | | | , | 3 | 2 | 1 | | | * `----------------------+------+------+------+------+------| |------+------+------+------+------+----------------------' * | | | | | | | | | | | | * | | | | | | | | | | | | * `----------------------------------' `----------------------------------' */ [_GAMING_NUMS] = LAYOUT( _______, _______, _______, _______, _______, _______, _______, KC_9, KC_8, KC_7, _______, _______, _______, _______, _______, _______, _______, _______, ES_DOT, KC_6, KC_5, KC_4, KC_0, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, ES_COMM, KC_3, KC_2, KC_1, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ ), // /* // * Layer template // * // * ,-------------------------------------------. ,-------------------------------------------. // * | | | | | | | | | | | | | | // * |--------+------+------+------+------+------| |------+------+------+------+------+--------| // * | | | | | | | | | | | | | | // * |--------+------+------+------+------+------+-------------. ,-------------+------+------+------+------+------+--------| // * | | | | | | | | | | | | | | | | | | // * `----------------------+------+------+------+------+------| |------+------+------+------+------+----------------------' // * | | | | | | | | | | | | // * | | | | | | | | | | | | // * `----------------------------------' `----------------------------------' // */ // [_LAYERINDEX] = LAYOUT( // _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, // _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, // _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, // _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ // ), }; layer_state_t layer_state_set_user(layer_state_t state) { return update_tri_layer_state(state, _LOWER, _RAISE, _ADJUST); } #ifdef OLED_DRIVER_ENABLE oled_rotation_t oled_init_user(oled_rotation_t rotation) { return OLED_ROTATION_180; } //static void render_kyria_logo(void) { // static const char PROGMEM kyria_logo[] = { // 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,128,128,192,224,240,112,120, 56, 60, 28, 30, 14, 14, 14, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 14, 14, 14, 30, 28, 60, 56,120,112,240,224,192,128,128, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, // 0, 0, 0, 0, 0, 0, 0,192,224,240,124, 62, 31, 15, 7, 3, 1,128,192,224,240,120, 56, 60, 28, 30, 14, 14, 7, 7,135,231,127, 31,255,255, 31,127,231,135, 7, 7, 14, 14, 30, 28, 60, 56,120,240,224,192,128, 1, 3, 7, 15, 31, 62,124,240,224,192, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, // 0, 0, 0, 0,240,252,255, 31, 7, 1, 0, 0,192,240,252,254,255,247,243,177,176, 48, 48, 48, 48, 48, 48, 48,120,254,135, 1, 0, 0,255,255, 0, 0, 1,135,254,120, 48, 48, 48, 48, 48, 48, 48,176,177,243,247,255,254,252,240,192, 0, 0, 1, 7, 31,255,252,240, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, // 0, 0, 0,255,255,255, 0, 0, 0, 0, 0,254,255,255, 1, 1, 7, 30,120,225,129,131,131,134,134,140,140,152,152,177,183,254,248,224,255,255,224,248,254,183,177,152,152,140,140,134,134,131,131,129,225,120, 30, 7, 1, 1,255,255,254, 0, 0, 0, 0, 0,255,255,255, 0, 0, 0, 0,255,255, 0, 0,192,192, 48, 48, 0, 0,240,240, 0, 0, 0, 0, 0, 0,240,240, 0, 0,240,240,192,192, 48, 48, 48, 48,192,192, 0, 0, 48, 48,243,243, 0, 0, 0, 0, 0, 0, 48, 48, 48, 48, 48, 48,192,192, 0, 0, 0, 0, 0, // 0, 0, 0,255,255,255, 0, 0, 0, 0, 0,127,255,255,128,128,224,120, 30,135,129,193,193, 97, 97, 49, 49, 25, 25,141,237,127, 31, 7,255,255, 7, 31,127,237,141, 25, 25, 49, 49, 97, 97,193,193,129,135, 30,120,224,128,128,255,255,127, 0, 0, 0, 0, 0,255,255,255, 0, 0, 0, 0, 63, 63, 3, 3, 12, 12, 48, 48, 0, 0, 0, 0, 51, 51, 51, 51, 51, 51, 15, 15, 0, 0, 63, 63, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 48, 48, 63, 63, 48, 48, 0, 0, 12, 12, 51, 51, 51, 51, 51, 51, 63, 63, 0, 0, 0, 0, 0, // 0, 0, 0, 0, 15, 63,255,248,224,128, 0, 0, 3, 15, 63,127,255,239,207,141, 13, 12, 12, 12, 12, 12, 12, 12, 30,127,225,128, 0, 0,255,255, 0, 0,128,225,127, 30, 12, 12, 12, 12, 12, 12, 12, 13,141,207,239,255,127, 63, 15, 3, 0, 0,128,224,248,255, 63, 15, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, // 0, 0, 0, 0, 0, 0, 0, 3, 7, 15, 62,124,248,240,224,192,128, 1, 3, 7, 15, 30, 28, 60, 56,120,112,112,224,224,225,231,254,248,255,255,248,254,231,225,224,224,112,112,120, 56, 60, 28, 30, 15, 7, 3, 1,128,192,224,240,248,124, 62, 15, 7, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, // 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 3, 7, 15, 14, 30, 28, 60, 56,120,112,112,112,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,112,112,112,120, 56, 60, 28, 30, 14, 15, 7, 3, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 // }; // oled_write_raw_P(kyria_logo, sizeof(kyria_logo)); //} static void render_kyria_logo(void) { static const char PROGMEM kyria_logo[] = { // 'Undertale', 128x64px //0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, //0x00, 0x00, 0x00, 0x00, 0xc0, 0xc0, 0xc0, 0xc0, 0xc0, 0xc0, 0xf0, 0xf0, 0xf0, 0xf0, 0xf0, 0xf0, //0xf0, 0xf0, 0xf0, 0xf0, 0xf0, 0xf0, 0xf0, 0xf0, 0xf0, 0xf0, 0xf0, 0xf0, 0xf0, 0xf0, 0xf0, 0xf0, //0xf0, 0xf0, 0xc0, 0xc0, 0xc0, 0xc0, 0xc0, 0xc0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, //0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, //0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, //0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, //0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, //0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xc0, 0xc0, 0xf0, 0xf0, 0xfc, 0xfc, //0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, //0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, //0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xfc, 0xfc, 0xf0, 0xf0, //0xc0, 0xc0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, //0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, //0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, //0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, //0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xfc, 0xfc, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, //0xff, 0xff, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0xff, 0xff, //0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x3f, 0x3f, //0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, //0xff, 0xff, 0xfc, 0xfc, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, //0x00, 0x00, 0x00, 0x80, 0x80, 0x80, 0x80, 0x10, 0x38, 0x3c, 0x1c, 0x18, 0x8a, 0xc2, 0xc6, 0xc6, //0xe6, 0xe4, 0xe4, 0xe4, 0xe0, 0xe0, 0xe4, 0xe4, 0xe6, 0xc6, 0xc6, 0xc6, 0x82, 0x18, 0x1c, 0x3c, //0x38, 0x10, 0x80, 0x80, 0x80, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, //0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff, 0x03, 0x03, 0x00, 0x00, //0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xf0, 0xf0, 0xf0, 0xf0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, //0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, //0x00, 0x00, 0xf0, 0xf0, 0xf0, 0xf0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x03, 0x03, //0xff, 0xff, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, //0x1c, 0x1e, 0x3f, 0x7b, 0xfb, 0xfb, 0xfb, 0xf3, 0x80, 0x00, 0x3e, 0xff, 0xff, 0xff, 0xdf, 0xbf, //0x3f, 0xa0, 0x20, 0xbf, 0x3f, 0xbf, 0xb7, 0xb7, 0xb7, 0xbf, 0xdf, 0xff, 0xff, 0xff, 0x3e, 0x00, //0x80, 0xf3, 0xfb, 0xfb, 0xfb, 0x7b, 0x3f, 0x1e, 0x1c, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, //0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x0f, 0x0f, 0xff, 0xff, 0xfc, 0xfc, //0xfc, 0xfc, 0xf0, 0xf0, 0xf0, 0xf0, 0x30, 0x30, 0x30, 0x30, 0xc0, 0xc0, 0xf0, 0xf0, 0xff, 0xff, //0xff, 0xff, 0x0f, 0x0f, 0x00, 0x00, 0x00, 0x00, 0x0f, 0x0f, 0xff, 0xff, 0xff, 0xff, 0xf0, 0xf0, //0xc0, 0xc0, 0x30, 0x30, 0x30, 0x30, 0xf0, 0xf0, 0xf0, 0xf0, 0xfc, 0xfc, 0xfc, 0xfc, 0xff, 0xff, //0x0f, 0x0f, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, //0x00, 0x00, 0x00, 0x00, 0x00, 0xf0, 0xf8, 0xfc, 0x9c, 0xee, 0xf0, 0xf0, 0xe1, 0xe3, 0xe7, 0xc7, //0xce, 0x4d, 0x4d, 0x4d, 0x0e, 0x4f, 0x4f, 0x4f, 0xcf, 0xc7, 0xe7, 0xe3, 0xe1, 0xf0, 0xf0, 0xee, //0x9c, 0xfc, 0xf8, 0xf0, 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, 0xcf, 0xcf, //0xcf, 0xcf, 0x00, 0x00, 0xf3, 0xf3, 0x0f, 0x0f, 0xcf, 0xcf, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, //0x3f, 0x3f, 0x3c, 0x3c, 0x3c, 0x3c, 0x3c, 0x3c, 0x3c, 0x3c, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, //0x3f, 0x3f, 0x3f, 0x3f, 0xcf, 0xcf, 0x0f, 0x0f, 0x00, 0x00, 0xc3, 0xc3, 0xcf, 0xcf, 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, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x00, 0x00, 0x00, //0xe0, 0xf8, 0xfc, 0x3c, 0x18, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x01, 0x01, 0x01, //0x01, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, //0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x0f, 0x0f, 0x3f, 0x3f, //0xff, 0xff, 0xff, 0xff, 0xfc, 0xfc, 0xf0, 0xf0, 0xf3, 0xf3, 0xcf, 0xcf, 0xcf, 0xcf, 0x00, 0x00, //0x3f, 0x3f, 0x3f, 0x3f, 0x00, 0x00, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x00, 0x00, 0x3f, 0x3f, //0xcf, 0xcf, 0xc0, 0xc0, 0xf3, 0xf3, 0xfc, 0xfc, 0xff, 0xff, 0xff, 0xff, 0x3f, 0x3f, 0x0f, 0x0f, //0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, //0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, //0x00, 0x03, 0x87, 0xcf, 0xfe, 0xfc, 0xf0, 0xc0, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, //0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, //0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, //0x00, 0x00, 0x00, 0x00, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x0f, 0x0f, 0x0f, 0x0f, 0x0f, 0x0f, //0x0f, 0x0f, 0x0f, 0x0f, 0x0f, 0x0f, 0x0f, 0x0f, 0x0f, 0x0f, 0x0f, 0x0f, 0x0f, 0x0f, 0x0f, 0x0f, //0x0f, 0x0f, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, //0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, //0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x02, //0x04, 0x09, 0x0b, 0x0b, 0x0b, 0x0b, 0x0b, 0x09, 0x04, 0x02, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, //0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 // // 'hugo_64', 128x64px //0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, //0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, //0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, //0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, //0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, //0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x7f, 0xff, 0xff, 0xff, 0xff, 0xff, //0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, //0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, //0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, //0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, //0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, //0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, //0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x3f, 0x1f, 0x1f, 0x0f, //0x07, 0x03, 0x03, 0x03, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, //0x03, 0x01, 0x03, 0x03, 0x07, 0x07, 0x0f, 0x0f, 0x7f, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, //0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, //0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, //0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, //0xff, 0xff, 0xff, 0x7f, 0xff, 0xff, 0xff, 0xff, 0x7f, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, //0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, //0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x0f, 0x07, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, //0x00, 0x00, 0x00, 0x00, 0xfc, 0xfc, 0xfe, 0x7c, 0x7e, 0x38, 0x3c, 0x20, 0x00, 0x00, 0x40, 0x20, //0x00, 0xe0, 0x20, 0x70, 0x18, 0x70, 0x40, 0x00, 0x14, 0xf7, 0x7f, 0x7f, 0xff, 0xff, 0xff, 0xff, //0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, //0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, //0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xfd, 0xfd, 0xfd, 0xfb, 0xff, 0xf7, 0xff, 0xef, 0x9f, 0x07, //0x0f, 0x97, 0x27, 0x43, 0x07, 0x83, 0x83, 0x04, 0x80, 0x03, 0x03, 0x03, 0x03, 0x07, 0x87, 0x7f, //0xff, 0x7f, 0xff, 0x3f, 0xff, 0xff, 0xfe, 0xff, 0xff, 0xff, 0xff, 0xdd, 0xff, 0xcf, 0xff, 0xfb, //0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x7d, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, //0x00, 0x40, 0xe0, 0xf0, 0xe8, 0xf8, 0xb0, 0xf0, 0xe0, 0xb0, 0x61, 0x70, 0xe0, 0x60, 0x70, 0x2c, //0x80, 0xf8, 0xf8, 0xf8, 0xe0, 0x90, 0x80, 0x70, 0xa0, 0xfd, 0xfc, 0xe8, 0xfe, 0xff, 0xff, 0xff, //0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, //0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, //0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xa6, 0x00, 0x11, //0x42, 0x20, 0x40, 0x09, 0x02, 0x20, 0x05, 0x60, 0x01, 0x28, 0x86, 0x20, 0x02, 0x40, 0x04, 0x00, //0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x04, 0x00, 0x00, 0x03, 0x87, 0xe3, 0xf7, 0xff, 0xff, 0xff, //0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xfc, 0xe0, 0x00, 0x00, 0x10, 0x18, 0x30, 0x80, //0x04, 0x53, 0x6b, 0x2f, 0xdf, 0x55, 0xbf, 0xeb, 0x76, 0x9f, 0x54, 0x7f, 0x09, 0x9e, 0x2e, 0x19, //0x01, 0x81, 0x01, 0x20, 0x81, 0x05, 0x95, 0x2a, 0xfd, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, //0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, //0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, //0x0d, 0x0f, 0x1f, 0x03, 0x0b, 0x8f, 0x3f, 0x47, 0x5b, 0xc7, 0xf1, 0xbf, 0x4f, 0x32, 0x84, 0x01, //0x18, 0x00, 0x00, 0x42, 0x04, 0x80, 0x01, 0x00, 0x00, 0x19, 0x00, 0x00, 0x80, 0x02, 0x64, 0x00, //0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x97, 0x01, 0xaf, 0xff, 0xff, //0xff, 0xff, 0x63, 0x03, 0x01, 0x03, 0x01, 0x13, 0x03, 0x0b, 0x03, 0x2e, 0x3e, 0xd4, 0xdb, 0xfe, //0x7e, 0xc0, 0x80, 0x00, 0x01, 0x02, 0x02, 0x04, 0x04, 0x09, 0x06, 0x02, 0x0d, 0x06, 0x1a, 0x1d, //0x1d, 0x19, 0x18, 0x09, 0x19, 0x0d, 0x00, 0x08, 0x7f, 0x7f, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, //0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, //0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, //0x01, 0x01, 0x00, 0x00, 0x00, 0x01, 0x00, 0x02, 0x03, 0x09, 0x01, 0x04, 0x08, 0x20, 0x00, 0x42, //0x80, 0x02, 0x20, 0x81, 0x00, 0x10, 0x00, 0x00, 0x92, 0x00, 0x80, 0x40, 0x40, 0x81, 0x80, 0x44, //0x88, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x0f, 0x0f, //0x07, 0x87, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x03, //0x05, 0x0f, 0x1e, 0x19, 0x34, 0xa8, 0x80, 0x20, 0x00, 0x80, 0x00, 0x20, 0xc0, 0x00, 0x00, 0x00, //0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0x36, 0x0d, 0x37, 0x3f, 0x3f, 0x7f, 0x3d, //0x7b, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, //0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 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, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, //0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, //0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, //0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x04, 0x00, 0x02, 0x04, 0x02, 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, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff // 'hackathonios', 128x64px //0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, //0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x02, 0x02, 0x00, //0x00, 0x04, 0x00, 0x00, 0x00, 0x08, 0x00, 0x08, 0x00, 0x10, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, //0x20, 0x00, 0x40, 0x00, 0x00, 0x80, 0x00, 0x4c, 0x5f, 0x07, 0x87, 0xbf, 0x1f, 0x1f, 0xbf, 0x3f, //0x1f, 0x7f, 0x5f, 0xff, 0x7f, 0x7f, 0x7f, 0x7f, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, //0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x7f, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, //0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, //0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, //0x10, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x50, 0x40, 0x50, 0x60, 0xa0, 0x50, //0x80, 0x60, 0x00, 0x00, 0xa0, 0x40, 0x80, 0x60, 0xc0, 0x40, 0x80, 0x80, 0x40, 0x00, 0x00, 0x00, //0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, //0x00, 0x00, 0x00, 0x00, 0x00, 0xc0, 0xc0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0x00, //0x00, 0x01, 0x05, 0x00, 0x00, 0x04, 0x80, 0xc0, 0x06, 0x4f, 0x9f, 0x1f, 0xff, 0xff, 0xff, 0xff, //0xff, 0xff, 0xff, 0xff, 0x03, 0x01, 0x40, 0x80, 0x28, 0x80, 0x20, 0x00, 0x03, 0xef, 0xff, 0xff, //0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x07, 0x03, 0x01, 0x90, 0x20, 0x90, //0x00, 0x01, 0x03, 0x07, 0x0f, 0xbf, 0xff, 0xff, 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, 0x01, 0x01, 0x00, 0x01, 0x01, 0x02, 0x03, 0x01, 0x00, 0x80, //0x80, 0x03, 0xc5, 0xc0, 0xc0, 0xe7, 0x41, 0x02, 0x00, 0x01, 0x80, 0x80, 0xc0, 0x00, 0x14, 0x08, //0x10, 0x00, 0x00, 0x1c, 0x15, 0xc4, 0x05, 0x10, 0x00, 0x00, 0x00, 0x40, 0x40, 0x60, 0xf0, 0xf8, //0xf0, 0xf8, 0xf8, 0xfe, 0xfe, 0xf8, 0xfa, 0xc0, 0x80, 0x02, 0x02, 0x58, 0xff, 0xff, 0x7f, 0x7f, //0x7f, 0xff, 0x3f, 0x1f, 0x3f, 0x1f, 0x1c, 0x0a, 0x0a, 0x00, 0x00, 0x00, 0x05, 0x07, 0x07, 0x07, //0x07, 0x0f, 0x0f, 0x0f, 0x1f, 0x1f, 0x3f, 0x1f, 0x3f, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, //0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x03, 0x0f, 0x0f, 0x1f, 0x1f, 0x1f, 0x3f, 0x7f, 0xff, 0xff, //0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x60, 0x08, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, //0x0b, 0x04, 0x02, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0xc0, 0xfc, 0xfc, 0xff, 0xff, //0xfa, 0xfe, 0xff, 0xff, 0xff, 0xdf, 0xff, 0xff, 0xfe, 0xfe, 0xff, 0xff, 0x7f, 0x1e, 0x04, 0x03, //0x03, 0x04, 0x60, 0x03, 0x08, 0x42, 0x10, 0x01, 0x00, 0x20, 0x40, 0x21, 0x04, 0x00, 0x02, 0x08, //0x00, 0x00, 0x01, 0x01, 0x00, 0x01, 0x03, 0x03, 0x02, 0x02, 0x01, 0x01, 0x00, 0x10, 0x00, 0x00, //0x00, 0x00, 0x00, 0x00, 0x00, 0x08, 0x04, 0x10, 0x08, 0x28, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, //0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x14, 0xf0, 0x40, 0x00, 0x02, //0xf0, 0x3a, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x01, //0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, //0x40, 0xa0, 0xa0, 0xe0, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x06, 0x07, 0xe7, 0x6f, 0xaf, 0x8e, //0xef, 0xff, 0xff, 0xff, 0xff, 0xdf, 0xff, 0xff, 0xfe, 0xff, 0xdb, 0xa1, 0x00, 0x00, 0x80, 0x00, //0x00, 0x10, 0x02, 0x80, 0x10, 0x00, 0x04, 0x41, 0x88, 0x00, 0x04, 0x00, 0x80, 0x00, 0x00, 0x00, //0x00, 0x00, 0x20, 0x80, 0x40, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, //0x00, 0x40, 0xc0, 0x20, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, //0x00, 0x00, 0xe1, 0x35, 0x60, 0x90, 0x20, 0x00, 0x00, 0x00, 0x00, 0x18, 0x0c, 0x04, 0x00, 0x04, //0x3c, 0x16, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x01, 0x83, 0x50, 0x26, //0x04, 0x04, 0x04, 0x10, 0x60, 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x03, //0x0f, 0x0d, 0x1b, 0x15, 0x07, 0x09, 0x00, 0x00, 0x00, 0x00, 0x00, 0x82, 0xfd, 0x09, 0x86, 0xff, //0xff, 0xff, 0xff, 0xff, 0xff, 0xdb, 0xff, 0xdf, 0x3f, 0xe6, 0xea, 0x13, 0xa0, 0x90, 0x4b, 0x24, //0x04, 0x40, 0x40, 0x06, 0x12, 0x00, 0x05, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, //0x00, 0x20, 0x02, 0x54, 0x11, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, //0xa4, 0x86, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, //0x70, 0xe8, 0x2b, 0x00, 0x00, 0xab, 0x00, 0x80, 0x50, 0xa0, 0x90, 0x20, 0x10, 0xa0, 0x90, 0x20, //0x00, 0x50, 0x00, 0xa0, 0x10, 0xc0, 0x20, 0x80, 0x40, 0x20, 0x40, 0x11, 0x10, 0x10, 0x00, 0x00, //0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x09, 0x00, 0x07, 0x07, 0x01, 0x02, 0x01, 0x00, 0x00, //0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x1a, 0x28, 0xf4, 0xda, 0x17, 0x5e, 0x66, 0x1f, //0x1f, 0x7f, 0x9f, 0x1f, 0x0f, 0x1f, 0x0f, 0x07, 0x07, 0x2f, 0x46, 0x1a, 0x8c, 0x19, 0x19, 0x08, //0x0c, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x60, 0x00, 0x18, //0x54, 0xc8, 0x0c, 0x14, 0x22, 0x40, 0x08, 0x50, 0x40, 0x14, 0x08, 0xc4, 0x68, 0x94, 0x28, 0x44, //0x09, 0x62, 0xe2, 0x95, 0x2a, 0xd6, 0x6a, 0x90, 0x84, 0x20, 0x00, 0x18, 0x08, 0x94, 0x6c, 0x4b, //0x43, 0x02, 0x01, 0x00, 0x04, 0x0a, 0x00, 0x1d, 0x6a, 0x15, 0x8a, 0x65, 0x0d, 0xc0, 0x06, 0x01, //0x02, 0x48, 0x11, 0x86, 0x49, 0x92, 0x89, 0x35, 0x1a, 0x40, 0xa8, 0x00, 0x00, 0x01, 0x02, 0x00, //0x10, 0x20, 0x9c, 0xb4, 0x4c, 0xb0, 0xd8, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, //0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x04, 0x07, 0x0f, 0x00, 0x00, 0x28, 0x4a, //0x55, 0x49, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0x24, 0x63, 0x88, 0x50, 0x00, 0x00, 0x06, //0x11, 0x89, 0xa0, 0x00, 0x00, 0x00, 0x00, 0x40, 0xf0, 0x00, 0x00, 0x90, 0x40, 0x01, 0x00, 0x88, //0xde, 0x1b, 0x02, 0x00, 0x09, 0x20, 0x65, 0x00, 0x02, 0x00, 0x00, 0x04, 0x09, 0xaa, 0x43, 0x98, //0x40, 0x97, 0x0e, 0x09, 0x1a, 0x65, 0x9a, 0xa4, 0x14, 0x81, 0x00, 0x00, 0x00, 0x02, 0x58, 0xa5, //0x52, 0xa9, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x41, 0x3c, 0x82, 0xa4, 0x05, 0x54, 0x01, 0x10, //0x00, 0x00, 0x14, 0xa1, 0x52, 0x0a, 0xa5, 0x50, 0x18, 0x82, 0x10, 0x00, 0x06, 0x40, 0x00, 0x20 // 'Trío', 128x64px 0x65, 0xa7, 0x67, 0xa5, 0x16, 0xe1, 0x5b, 0xb4, 0xa7, 0x7d, 0x96, 0x75, 0x3c, 0xa7, 0x15, 0xdf, 0xce, 0x3a, 0xf7, 0x5d, 0x4e, 0xbb, 0xf5, 0xaf, 0xdc, 0xb7, 0x5d, 0xd7, 0xcd, 0xbf, 0x66, 0xdb, 0x6f, 0xf3, 0x7a, 0x77, 0xeb, 0xb6, 0x9b, 0xfd, 0xbe, 0xd6, 0xef, 0x7a, 0xd9, 0x77, 0x7d, 0xce, 0xf7, 0x2e, 0x61, 0xff, 0x6f, 0x96, 0xdf, 0x36, 0xa5, 0x3f, 0xa6, 0x67, 0xe6, 0x25, 0x86, 0x3d, 0x2e, 0xd6, 0x2f, 0x76, 0x65, 0x5a, 0x87, 0x29, 0xe4, 0x27, 0x66, 0x3b, 0xaf, 0x90, 0x4b, 0x55, 0xa9, 0x54, 0x89, 0x1a, 0xea, 0x25, 0x54, 0xa7, 0x36, 0xa8, 0x49, 0xb6, 0x29, 0x94, 0x5a, 0x29, 0xc4, 0x19, 0x79, 0x22, 0x92, 0x64, 0x23, 0x58, 0x46, 0x10, 0x6d, 0x09, 0xa3, 0x64, 0x9a, 0x43, 0xa2, 0x84, 0x93, 0x0c, 0x59, 0x6c, 0x11, 0x85, 0x92, 0x01, 0x06, 0x84, 0x09, 0x09, 0x04, 0x20, 0x05, 0x41, 0x0c, 0x21, 0x04, 0x9b, 0x15, 0x82, 0x23, 0x86, 0x00, 0x9b, 0x81, 0x2c, 0x95, 0x11, 0x89, 0xa5, 0x16, 0x0e, 0x42, 0x47, 0xa9, 0x6d, 0x65, 0x95, 0x7b, 0x25, 0xce, 0x21, 0xd9, 0x26, 0x2a, 0xa3, 0x36, 0x05, 0x22, 0xa9, 0x53, 0xa8, 0x11, 0x94, 0x42, 0xdd, 0xa5, 0xd4, 0x86, 0x75, 0x79, 0xc5, 0xaa, 0x15, 0x19, 0x1a, 0x0f, 0x0d, 0x0e, 0x0d, 0x0d, 0x0e, 0x0a, 0x0b, 0x02, 0x15, 0x19, 0x0a, 0xca, 0xe9, 0xc9, 0x86, 0x19, 0x24, 0xea, 0x30, 0x3c, 0x1d, 0x0e, 0x0e, 0x07, 0x02, 0x02, 0x02, 0x03, 0x00, 0x47, 0x09, 0x3c, 0x60, 0xe1, 0x00, 0x12, 0x25, 0x09, 0x02, 0x20, 0x05, 0x00, 0x25, 0x00, 0x55, 0x80, 0x02, 0x11, 0x05, 0x04, 0x20, 0x29, 0x55, 0x25, 0x18, 0x36, 0x00, 0x14, 0x18, 0x28, 0x12, 0x09, 0x30, 0x01, 0x12, 0x12, 0x04, 0x02, 0x00, 0x08, 0x11, 0x00, 0x18, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x04, 0x04, 0x02, 0x00, 0x01, 0x01, 0x01, 0x00, 0x01, 0x01, 0x00, 0x01, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0xf8, 0xfc, 0xf8, 0xfc, 0xfc, 0xfc, 0xfc, 0xf0, 0xf0, 0xf0, 0xe0, 0x40, 0x00, 0x00, 0x00, 0x60, 0xe0, 0xa7, 0x7f, 0xfe, 0xd8, 0xf8, 0xa0, 0x00, 0x00, 0x00, 0x40, 0x60, 0x40, 0xe0, 0xa0, 0x80, 0xc0, 0xe0, 0xf0, 0xc0, 0x80, 0x80, 0x00, 0x01, 0x38, 0xf0, 0xe0, 0xe0, 0xe0, 0xc0, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x80, 0x04, 0x02, 0x00, 0x01, 0x01, 0x01, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x04, 0x0e, 0x07, 0x06, 0x0d, 0x01, 0x03, 0x03, 0x00, 0x00, 0x00, 0x00, 0x07, 0x1f, 0x1f, 0x1f, 0x3f, 0x3f, 0x0f, 0x03, 0x01, 0x00, 0x00, 0x00, 0x00, 0x03, 0x07, 0x07, 0x07, 0x0f, 0x0f, 0x2f, 0x27, 0x21, 0x0b, 0x09, 0x00, 0x02, 0x01, 0x00, 0x00, 0x00, 0x00, 0x03, 0x03, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x04, 0x02, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x40, 0x20, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x20, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0xa0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x06, 0x00, 0x01, 0x00, 0x00, 0x00, 0x01, 0x0a, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xa0, 0xe0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x60, 0xe0, 0xf0, 0xe0, 0xf8, 0xf8, 0xf4, 0x3c, 0x5a, 0xc4, 0x00, 0xc0, 0x80, 0x00, 0x00, 0x00, 0x80, 0x80, 0x80, 0xc0, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xc0, 0xe0, 0xf0, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x04, 0x04, 0x07, 0x1a, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x03, 0x03, 0x07, 0x01, 0x09, 0x0d, 0x0e, 0x1f, 0x0f, 0x05, 0x02, 0x03, 0x01, 0x00, 0x00, 0x03, 0x83, 0x15, 0x6f, 0xfb, 0xff, 0xf2, 0xf0, 0xf0, 0x60, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x84, 0x21, 0xab, 0x7d, 0xaf, 0xff, 0xff, 0xf0, 0xc0, 0x00, 0xc0, 0x40, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }; oled_write_raw_P(kyria_logo, sizeof(kyria_logo)); } static void render_qmk_logo(void) { static const char PROGMEM qmk_logo[] = { 0x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8a,0x8b,0x8c,0x8d,0x8e,0x8f,0x90,0x91,0x92,0x93,0x94, 0xa0,0xa1,0xa2,0xa3,0xa4,0xa5,0xa6,0xa7,0xa8,0xa9,0xaa,0xab,0xac,0xad,0xae,0xaf,0xb0,0xb1,0xb2,0xb3,0xb4, 0xc0,0xc1,0xc2,0xc3,0xc4,0xc5,0xc6,0xc7,0xc8,0xc9,0xca,0xcb,0xcc,0xcd,0xce,0xcf,0xd0,0xd1,0xd2,0xd3,0xd4,0}; oled_write_P(qmk_logo, false); } static void render_status(void) { // QMK Logo and version information render_qmk_logo(); oled_write_P(PSTR("Kyria rev1.0\n\n"), false); // Host Keyboard Layer Status oled_write_P(PSTR("Layer: "), false); switch (get_highest_layer(layer_state)) { case _QWERTY: oled_write_P(PSTR("Default\n"), false); break; case _LOWER: oled_write_P(PSTR("Lower\n"), false); break; case _RAISE: oled_write_P(PSTR("Raise\n"), false); break; case _ADJUST: oled_write_P(PSTR("Adjust\n"), false); break; case _GAMING: oled_write_P(PSTR("Gaming\n"), false); break; case _GAMING_NUMS: oled_write_P(PSTR("Gaming#\n"), false); break; default: oled_write_P(PSTR("Undefined\n"), false); } // Host Keyboard LED Status uint8_t led_usb_state = host_keyboard_leds(); oled_write_P(IS_LED_ON(led_usb_state, USB_LED_NUM_LOCK) ? PSTR("NUMLCK ") : PSTR(" "), false); oled_write_P(IS_LED_ON(led_usb_state, USB_LED_CAPS_LOCK) ? PSTR("CAPLCK ") : PSTR(" "), false); oled_write_P(IS_LED_ON(led_usb_state, USB_LED_SCROLL_LOCK) ? PSTR("SCRLCK ") : PSTR(" "), false); } void oled_task_user(void) { if (is_keyboard_master()) { render_status(); // Renders the current keyboard state (layer, lock, caps, scroll, etc) } else { render_kyria_logo(); } } #endif #ifdef ENCODER_ENABLE bool encoder_update_user(uint8_t index, bool clockwise) { if (index == 0) { // Tab if (clockwise) { tap_code(KC_TAB); } else { tap_code(KC_TAB); } } else if (index == 1) { // Volume control if (clockwise) { tap_code(KC_VOLD); } else { tap_code(KC_VOLU); } } return false; } #endif