diff options
author | InigoGutierrez <inigogf.95@gmail.com> | 2022-08-06 17:42:14 +0200 |
---|---|---|
committer | InigoGutierrez <inigogf.95@gmail.com> | 2022-08-06 17:42:14 +0200 |
commit | dbf3708f6d6a035759be73f8d64defff55b0c7c3 (patch) | |
tree | 5d2846b0757cfae5f1038071006ba6645708c662 /keyboards/splitkb | |
parent | fea48c479cffdbe814d48a3c187e6b6b4137d91a (diff) | |
download | qmk_firmware-dbf3708f6d6a035759be73f8d64defff55b0c7c3.tar.gz qmk_firmware-dbf3708f6d6a035759be73f8d64defff55b0c7c3.zip |
Working taamas2 layout.
Diffstat (limited to 'keyboards/splitkb')
-rw-r--r-- | keyboards/splitkb/kyria/keymaps/taamas/config.h | 7 | ||||
-rw-r--r-- | keyboards/splitkb/kyria/keymaps/taamas/rules.mk | 5 | ||||
-rw-r--r-- | keyboards/splitkb/kyria/keymaps/taamas2/config.h | 134 | ||||
-rw-r--r-- | keyboards/splitkb/kyria/keymaps/taamas2/keymap.c | 545 | ||||
-rw-r--r-- | keyboards/splitkb/kyria/keymaps/taamas2/rules.mk | 8 |
5 files changed, 696 insertions, 3 deletions
diff --git a/keyboards/splitkb/kyria/keymaps/taamas/config.h b/keyboards/splitkb/kyria/keymaps/taamas/config.h index f222b22aae..467131dd27 100644 --- a/keyboards/splitkb/kyria/keymaps/taamas/config.h +++ b/keyboards/splitkb/kyria/keymaps/taamas/config.h @@ -28,6 +28,11 @@ #define RGBLIGHT_LIMIT_VAL 150 #endif +// Lets you roll mod-tap keys +// Which is something I don't want: a +// quick Alt+a don't work if this is defined +//#define IGNORE_MOD_TAP_INTERRUPT + // If you are using an Elite C rev3 on the slave side, uncomment the lines below: // #define SPLIT_USB_DETECT // #define NO_USB_STARTUP_CHECK @@ -37,3 +42,5 @@ #define MOUSEKEY_INTERVAL 50 #define MOUSEKEY_MAX_SPEED 20 #define MOUSEKEY_TIME_TO_MAX 20 + +#define ENCODER_RESOLUTION 2 diff --git a/keyboards/splitkb/kyria/keymaps/taamas/rules.mk b/keyboards/splitkb/kyria/keymaps/taamas/rules.mk index 767dbcfbea..35f8ec90c6 100644 --- a/keyboards/splitkb/kyria/keymaps/taamas/rules.mk +++ b/keyboards/splitkb/kyria/keymaps/taamas/rules.mk @@ -1,5 +1,4 @@ -OLED_DRIVER_ENABLE = yes # Enables the use of OLED displays +OLED_ENABLE = yes +OLED_DRIVER = SSD1306 # Enables the use of OLED displays ENCODER_ENABLE = yes # Enables the use of one or more encoders RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow - -BOOTMAGIC_ENABLE = yes # To swap CapsLock and Escape diff --git a/keyboards/splitkb/kyria/keymaps/taamas2/config.h b/keyboards/splitkb/kyria/keymaps/taamas2/config.h new file mode 100644 index 0000000000..c8afcd859d --- /dev/null +++ b/keyboards/splitkb/kyria/keymaps/taamas2/config.h @@ -0,0 +1,134 @@ +/* +Copyright 2022 Thomas Baart <thomas@splitkb.com> + +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 <http://www.gnu.org/licenses/>. +*/ + +#pragma once + +/* USB Device descriptor parameter */ +#define VENDOR_ID 0x8D1D +#define PRODUCT_ID 0x9D9D +#define DEVICE_VER 0x0002 +#define MANUFACTURER splitkb +#define PRODUCT Kyria rev2 + +/* key matrix size */ +/* Rows are doubled up */ +#define MATRIX_ROWS 8 +#define MATRIX_COLS 8 + +// wiring +#define MATRIX_ROW_PINS \ + { F6, F7, B1, B3 } +#define MATRIX_COL_PINS \ + { B2, B6, B5, B4, E6, D7, C6, D4 } +#define MATRIX_ROW_PINS_RIGHT \ + { D4, C6, D7, E6 } +#define MATRIX_COL_PINS_RIGHT \ + { B4, B5, B6, B2, B3, B1, F7, F6 } +#define UNUSED_PINS + +#define ENCODERS_PAD_A \ + { F4 } +#define ENCODERS_PAD_B \ + { F5 } +#define ENCODERS_PAD_A_RIGHT \ + { F5 } +#define ENCODERS_PAD_B_RIGHT \ + { F4 } + +/* COL2ROW, ROW2COL*/ +#define DIODE_DIRECTION COL2ROW + +// Side detection +// col 4 row 3 on right-hand-side +#define SPLIT_HAND_MATRIX_GRID E6, B3 // row first because the board is col2row +#define SPLIT_HAND_MATRIX_GRID_LOW_IS_RIGHT +#define MATRIX_MASKED // actual mask is defined by `matrix_mask` in `rev2.c` + +/* define if matrix has ghost (lacks anti-ghosting diodes) */ +//#define MATRIX_HAS_GHOST + +/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ +#define DEBOUNCE 5 + +/* + * Split Keyboard specific options, make sure you have 'SPLIT_KEYBOARD = yes' in your rules.mk, and define SOFT_SERIAL_PIN. + */ + +#if defined(CONVERT_TO_PROTON_C) +# define SERIAL_USART_FULL_DUPLEX // Enable full duplex operation mode. +# define SERIAL_USART_PIN_SWAP // Swap TX and RX pins if keyboard is master halve. +# define SERIAL_USART_DRIVER SD1 // USART driver of TX pin. default: SD1 +# define SERIAL_USART_TX_PAL_MODE 7 // Pin "alternate function", see the respective datasheet for the appropriate values for your MCU. default: 7 +# define SERIAL_USART_TX_PIN D3 +# define SERIAL_USART_RX_PIN D2 + +# define RGB_DI_PIN PAL_LINE(GPIOA, 3) +# define WS2812_PWM_DRIVER PWMD2 // default: PWMD2 +# define WS2812_PWM_CHANNEL 4 // default: 2 +# define WS2812_PWM_PAL_MODE 1 // Pin "alternate function", see the respective datasheet for the appropriate values for your MCU. default: 2 +# define WS2812_DMA_STREAM STM32_DMA1_STREAM2 // DMA Stream for TIMx_UP, see the respective reference manual for the appropriate values for your MCU. +# define WS2812_DMA_CHANNEL 2 // DMA Channel for TIMx_UP, see the respective reference manual for the appropriate values for your MCU. +# define WS2812_DMAMUX_ID STM32_DMAMUX1_TIM2_UP // DMAMUX configuration for TIMx_UP -- only required if your MCU has a DMAMUX peripheral, see the respective reference manual for the appropriate values for your MCU. +#else +# define RGB_DI_PIN D3 +# define SOFT_SERIAL_PIN D2 +#endif + +#define RGBLED_SPLIT \ + { 10, 10 } +#define RGBLED_NUM 20 + +#ifdef OLED_ENABLE +# define OLED_DISPLAY_128X64 +# define SPLIT_OLED_ENABLE +#endif + +/* RGB matrix support */ +#ifdef RGB_MATRIX_ENABLE +# define SPLIT_TRANSPORT_MIRROR +# define DRIVER_LED_TOTAL RGBLED_NUM // Number of LEDs +# define RGB_MATRIX_SPLIT { 10, 10 } +# define RGB_MATRIX_MAXIMUM_BRIGHTNESS 170 +# define RGB_DISABLE_WHEN_USB_SUSPENDED +#endif + +// Old personal stuff from first keyboard here + +// Lets you roll mod-tap keys +// Which is something I don't want: a +// quick Alt+a don't work if this is defined +//#define IGNORE_MOD_TAP_INTERRUPT + +#ifdef RGBLIGHT_ENABLE + #define RGBLIGHT_ANIMATIONS + #define RGBLIGHT_HUE_STEP 8 + #define RGBLIGHT_SAT_STEP 8 + #define RGBLIGHT_VAL_STEP 8 + #define RGBLIGHT_LIMIT_VAL 150 +#endif + +// Mouse settings +#define MOUSEKEY_DELAY 100 +#define MOUSEKEY_INTERVAL 50 +#define MOUSEKEY_MAX_SPEED 20 +#define MOUSEKEY_TIME_TO_MAX 20 + +#define ENCODER_RESOLUTION 2 + +// If you are using an Elite C rev3 on the slave side, uncomment the lines below: +// #define SPLIT_USB_DETECT +// #define NO_USB_STARTUP_CHECK diff --git a/keyboards/splitkb/kyria/keymaps/taamas2/keymap.c b/keyboards/splitkb/kyria/keymaps/taamas2/keymap.c new file mode 100644 index 0000000000..807c6dbe0c --- /dev/null +++ b/keyboards/splitkb/kyria/keymaps/taamas2/keymap.c @@ -0,0 +1,545 @@ +/* Copyright 2019 Thomas Baart <thomas@splitkb.com> + * + * 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 <http://www.gnu.org/licenses/>. + */ +#include QMK_KEYBOARD_H +#include <keymap_spanish.h> + +enum layers { + _QWERTY = 0, + _LOWER, + _RAISE, + _ADJUST, + _GAMING, + _GAMING_NUMS +}; + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + +/* + * Base Layer: QWERTY + * + * ,-------------------------------------------. ,-------------------------------------------. + * | Tab | Q | W | E | R | T | | Y | U | I | O | P | ' ? | + * |--------+------+------+------+------+------| |------+------+------+------+------+--------| + * | ESC | A | S | D | F | G | | H | J | K | L | Ñ | ´ ¨ | + * |--------+------+------+------+------+------+-------------. ,-------------+------+------+------+------+------+--------| + * | < > | Z | X | C | V | B |CapsLk| | | | $ | N | M | , ; | . : | - _ | " | + * | LShift | | | | | |CtrAlt|Gaming| | RCtrl|SperSh| | | | | | | + * `----------------------+------+------+------+------+------| |------+------+------+------+------+----------------------' + * |Del | | Space| Enter| Esc | | Bksp | App | ` | Tab | AltGr| + * |LShift| Lower| | Ctrl | Alt | |LShift| Super| AltGr| Raise| | + * `----------------------------------' `----------------------------------' + */ + [_QWERTY] = LAYOUT( + KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, ES_QUOT, + KC_ESC, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, ES_NTIL, ES_ACUT, + MT(MOD_LSFT, ES_LABK), KC_Z, KC_X, KC_C, KC_V, KC_B, LCA_T(KC_CAPS), TO(_GAMING), KC_RCTL, SGUI_T(ES_DLR), KC_N, KC_M, ES_COMM, ES_DOT, ES_MINS, ES_DQUO, + MT(MOD_LSFT, KC_DEL), MO(_LOWER), KC_SPC, MT(MOD_LCTL, KC_ENT), MT(MOD_LALT, KC_ESC), + MT(MOD_LSFT, KC_BSPC), MT(MOD_LGUI, KC_APP), MT(MOD_RALT, ES_GRV), LT(_RAISE, KC_TAB), KC_RALT + ), + +/* + * Lower Layer: Symbols + * + * ,-------------------------------------------. ,-------------------------------------------. + * | | + | @ | ( | ) | $ | | & | 7 | 8 | 9 | ¡ | ! | + * |--------+------+------+------+------+------| |------+------+------+------+------+--------| + * | | * | / | { | } | # | | 0 | 4 | 5 | 6 | ¿ | ? | + * |--------+------+------+------+------+------+-------------. ,-------------+------+------+------+------+------+--------| + * | \ | ^ | % | [ | ] | ~ | | | | | | | | 1 | 2 | 3 | = | - _ | + * `----------------------+------+------+------+------+------| |------+------+------+------+------+----------------------' + * | | | | | | | | | | | | + * `----------------------------------' `----------------------------------' + */ + [_LOWER] = LAYOUT( + _______, ES_PLUS, ES_AT, ES_LPRN, ES_RPRN, ES_DLR, ES_AMPR, KC_7, KC_8, KC_9, ES_IEXL, ES_EXLM, + _______, ES_ASTR, ES_SLSH, ES_LCBR, ES_RCBR, ES_HASH, ES_0, KC_4, KC_5, KC_6, ES_IQUE, ES_QUES, + ES_BSLS, ES_CIRC, ES_PERC, ES_LBRC, ES_RBRC, ES_TILD, _______, _______, _______, _______, ES_PIPE, KC_1, KC_2, KC_3, ES_EQL, KC_MINS, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ + ), + +/* + * Raise Layer: Number keys, media, navigation + * + * ,-------------------------------------------. ,-------------------------------------------. + * | |WheelU|Mouse1|MouseU|Mouse2|Mouse3| | Prev | Stop | Play | Next | | | + * |--------+------+------+------+------+------| |------+------+------+------+------+--------| + * | |WheelD|MouseL|MouseD|MouseR| VolUp| | Left | Down | Up | Right| | | + * |--------+------+------+------+------+------+-------------. ,-------------+------+------+------+------+------+--------| + * | | Acc0 | Acc1 | Acc2 | Mute | VolDn| BriD | BriU | | | | MLeft| Mdown| MUp |MRight| | | + * `----------------------+------+------+------+------+------| |------+------+------+------+------+----------------------' + * | | | | | | | | | | | | + * `----------------------------------' `----------------------------------' + */ + [_RAISE] = LAYOUT( + _______, KC_WH_U, KC_BTN1, KC_MS_U, KC_BTN2, KC_BTN3, KC_MPRV, KC_MSTP, KC_MPLY, KC_MNXT, _______, _______, + _______, KC_WH_D, KC_MS_L, KC_MS_D, KC_MS_R, KC_VOLU, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT, _______, _______, + _______, KC_ACL0, KC_ACL1, KC_ACL2, KC_MUTE, KC_VOLD, KC_BRID, KC_BRIU, _______, _______, KC_MS_L, KC_MS_D, KC_MS_U, KC_MS_R, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ + ), + +/* + * Adjust Layer: Function keys, RGB + * + * ,-------------------------------------------. ,-------------------------------------------. + * | | F1 | F2 | F3 | F4 | F5 | | F6 | F7 | F8 | F9 | F10 | | + * |--------+------+------+------+------+------| |------+------+------+------+------+--------| + * | | TOG | SAI | HUI | VAI | MOD | | | | | F11 | F12 | | + * |--------+------+------+------+------+------+-------------. ,-------------+------+------+------+------+------+--------| + * | | | SAD | HUD | VAD | RMOD | | | | | | | | | | | | + * `----------------------+------+------+------+------+------| |------+------+------+------+------+----------------------' + * | | | | | | | | | | | | + * | | | | | | | | | | | | + * `----------------------------------' `----------------------------------' + */ + [_ADJUST] = LAYOUT( + _______, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, _______, + _______, RGB_TOG, RGB_SAI, RGB_HUI, RGB_VAI, RGB_MOD, _______, _______, _______, KC_F11, KC_F12, _______, + _______, _______, RGB_SAD, RGB_HUD, RGB_VAD, RGB_RMOD,_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ + ), + +/* + * Gaming Layer: For left hand on keyboard and right hand on mouse + * + * ,-------------------------------------------. ,-------------------------------------------. + * | | | Q | W | E | R | | | | | | | | + * |--------+------+------+------+------+------| |------+------+------+------+------+--------| + * | ESC | Ctrl | A | S | D | F | | | | | | | | + * |--------+------+------+------+------+------+-------------. ,-------------+------+------+------+------+------+--------| + * | | Shft | Z | X | C | V | |Qwerty| | | | | | | | | | + * `----------------------+------+------+------+------+------| |------+------+------+------+------+----------------------' + * | | | | | | | | | | | | + * | | GNums| | | | | | | | | | + * `----------------------------------' `----------------------------------' + */ + [_GAMING] = LAYOUT( + _______, _______, KC_Q, KC_W, KC_E, KC_R, _______, _______, _______, _______, _______, _______, + KC_ESC, KC_LCTRL, KC_A, KC_S, KC_D, KC_F, _______, _______, _______, _______, _______, _______, + _______, KC_LSFT, KC_Z, KC_X, KC_C, KC_V, _______, TO(_QWERTY), _______, _______, _______, _______, _______, _______, _______, _______, + _______, MO(_GAMING_NUMS), _______, _______, _______, + _______, _______, _______, _______, _______ + ), + +/* + * Gaming Layer Two: For numbers + * + * ,-------------------------------------------. ,-------------------------------------------. + * | | | 7 | 8 | 9 | | | | | | | | | + * |--------+------+------+------+------+------| |------+------+------+------+------+--------| + * | | 0 | 4 | S | 6 | . | | | | | | | | + * |--------+------+------+------+------+------+-------------. ,-------------+------+------+------+------+------+--------| + * | | | 1 | 2 | 3 | , | | | | | | | | | | | | + * `----------------------+------+------+------+------+------| |------+------+------+------+------+----------------------' + * | | | | | | | | | | | | + * | | | | | | | | | | | | + * `----------------------------------' `----------------------------------' + */ + [_GAMING_NUMS] = LAYOUT( + _______, _______, KC_7, KC_8, KC_9, _______, _______, _______, _______, _______, _______, _______, + _______, KC_0, KC_4, KC_5, KC_6, ES_DOT, _______, _______, _______, _______, _______, _______, + _______, _______, KC_1, KC_2, KC_3, ES_COMM, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ + ), + +// /* +// * 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_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 + led_t led_usb_state = host_keyboard_led_state(); + oled_write_P(led_usb_state.num_lock ? PSTR("NUMLCK ") : PSTR(" "), false); + oled_write_P(led_usb_state.caps_lock ? PSTR("CAPLCK ") : PSTR(" "), false); + oled_write_P(led_usb_state.scroll_lock ? PSTR("SCRLCK ") : PSTR(" "), false); +} + +bool oled_task_user(void) { + if (is_keyboard_master()) { + render_status(); // Renders the current keyboard state (layer, lock, caps, scroll, etc) + } else { + render_kyria_logo(); + } + return false; +} +#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_VOLU); + } else { + tap_code(KC_VOLD); + } + } + return false; +} +#endif diff --git a/keyboards/splitkb/kyria/keymaps/taamas2/rules.mk b/keyboards/splitkb/kyria/keymaps/taamas2/rules.mk new file mode 100644 index 0000000000..355c12024f --- /dev/null +++ b/keyboards/splitkb/kyria/keymaps/taamas2/rules.mk @@ -0,0 +1,8 @@ +OLED_ENABLE = yes +OLED_DRIVER = SSD1306 # Enables the use of OLED displays +ENCODER_ENABLE = yes # Enables the use of one or more encoders +RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow +RGB_MATRIX_ENABLE = no # Enable keyboard RGB matrix (do not use together with RGBLIGHT_ENABLE) +RGB_MATRIX_DRIVER = WS2812 # RGB matrix driver support + +RGB_MATRIX_SUPPORTED = yes |