summaryrefslogtreecommitdiff
path: root/keyboards/lily58
diff options
context:
space:
mode:
authorJoel Challis <git@zvecr.com>2024-02-15 08:23:23 +0000
committerGitHub <noreply@github.com>2024-02-15 08:23:23 +0000
commit4a128c6062582f9f7e344dccad570ef8c97911b9 (patch)
treea89c103bc67e574ddade7bf00bd57d7dd2d62dc5 /keyboards/lily58
parenta9f1105f98ecca299d401f81cd5cc1699683e2ce (diff)
[Keymap Removal] keyboard with most keymaps (#23081)
* splitkb/kyria * lily58 * gmmk/pro/rev1/ansi * lets_split
Diffstat (limited to 'keyboards/lily58')
-rw-r--r--keyboards/lily58/keymaps/barabas/config.h24
-rw-r--r--keyboards/lily58/keymaps/barabas/keymap.c193
-rw-r--r--keyboards/lily58/keymaps/barabas/readme.md6
-rw-r--r--keyboards/lily58/keymaps/barabas/rules.mk6
-rw-r--r--keyboards/lily58/keymaps/bongocat_wpm_responsive/config.h49
-rw-r--r--keyboards/lily58/keymaps/bongocat_wpm_responsive/keymap.c334
-rw-r--r--keyboards/lily58/keymaps/bongocat_wpm_responsive/readme.md23
-rw-r--r--keyboards/lily58/keymaps/bongocat_wpm_responsive/rules.mk11
-rw-r--r--keyboards/lily58/keymaps/chuan/config.h68
-rw-r--r--keyboards/lily58/keymaps/chuan/keymap.c225
-rw-r--r--keyboards/lily58/keymaps/chuan/rules.mk11
-rw-r--r--keyboards/lily58/keymaps/datadavd/config.h59
-rw-r--r--keyboards/lily58/keymaps/datadavd/keymap.c266
-rw-r--r--keyboards/lily58/keymaps/datadavd/rules.mk6
-rw-r--r--keyboards/lily58/keymaps/domnantas/config.h32
-rw-r--r--keyboards/lily58/keymaps/domnantas/keymap.c285
-rw-r--r--keyboards/lily58/keymaps/domnantas/readme.md21
-rw-r--r--keyboards/lily58/keymaps/domnantas/rules.mk2
-rw-r--r--keyboards/lily58/keymaps/druotoni/boot.c309
-rw-r--r--keyboards/lily58/keymaps/druotoni/boot.h9
-rw-r--r--keyboards/lily58/keymaps/druotoni/burst.c252
-rw-r--r--keyboards/lily58/keymaps/druotoni/burst.h24
-rw-r--r--keyboards/lily58/keymaps/druotoni/config.h55
-rw-r--r--keyboards/lily58/keymaps/druotoni/draw_helper.c768
-rw-r--r--keyboards/lily58/keymaps/druotoni/draw_helper.h47
-rw-r--r--keyboards/lily58/keymaps/druotoni/fast_random.c17
-rw-r--r--keyboards/lily58/keymaps/druotoni/fast_random.h7
-rw-r--r--keyboards/lily58/keymaps/druotoni/gui_state.c71
-rw-r--r--keyboards/lily58/keymaps/druotoni/gui_state.h18
-rw-r--r--keyboards/lily58/keymaps/druotoni/keymap.c253
-rw-r--r--keyboards/lily58/keymaps/druotoni/layer_frame.c105
-rw-r--r--keyboards/lily58/keymaps/druotoni/layer_frame.h15
-rw-r--r--keyboards/lily58/keymaps/druotoni/navi_font.c139
-rw-r--r--keyboards/lily58/keymaps/druotoni/navi_logo.c117
-rw-r--r--keyboards/lily58/keymaps/druotoni/navi_logo.h7
-rw-r--r--keyboards/lily58/keymaps/druotoni/readme.md133
-rw-r--r--keyboards/lily58/keymaps/druotoni/ring.c494
-rw-r--r--keyboards/lily58/keymaps/druotoni/ring.h11
-rw-r--r--keyboards/lily58/keymaps/druotoni/rules.mk27
-rw-r--r--keyboards/lily58/keymaps/gaston/config.h27
-rw-r--r--keyboards/lily58/keymaps/gaston/keymap.c70
-rw-r--r--keyboards/lily58/keymaps/gaston/readme.md68
-rw-r--r--keyboards/lily58/keymaps/gaston/rules.mk9
-rw-r--r--keyboards/lily58/keymaps/gshmu/config.h23
-rw-r--r--keyboards/lily58/keymaps/gshmu/keymap.c128
-rw-r--r--keyboards/lily58/keymaps/gshmu/rules.mk5
-rw-r--r--keyboards/lily58/keymaps/muuko/config.h36
-rw-r--r--keyboards/lily58/keymaps/muuko/keymap.c185
-rw-r--r--keyboards/lily58/keymaps/muuko/rules.mk4
-rw-r--r--keyboards/lily58/keymaps/niolang/config.h46
-rw-r--r--keyboards/lily58/keymaps/niolang/keymap.c359
-rw-r--r--keyboards/lily58/keymaps/niolang/rules.mk2
-rw-r--r--keyboards/lily58/keymaps/oldfieldtc/config.h23
-rw-r--r--keyboards/lily58/keymaps/oldfieldtc/keymap.c191
-rw-r--r--keyboards/lily58/keymaps/oldfieldtc/readme.md22
-rw-r--r--keyboards/lily58/keymaps/oldfieldtc/rules.mk11
-rw-r--r--keyboards/lily58/keymaps/paulomp90/config.h22
-rw-r--r--keyboards/lily58/keymaps/paulomp90/features/custom_shift_keys.c67
-rw-r--r--keyboards/lily58/keymaps/paulomp90/features/custom_shift_keys.h29
-rw-r--r--keyboards/lily58/keymaps/paulomp90/keymap.c264
-rw-r--r--keyboards/lily58/keymaps/paulomp90/readme.md10
-rw-r--r--keyboards/lily58/keymaps/paulomp90/rules.mk14
-rw-r--r--keyboards/lily58/keymaps/pomodoro/config.h56
-rw-r--r--keyboards/lily58/keymaps/pomodoro/keymap.c154
-rw-r--r--keyboards/lily58/keymaps/pomodoro/pomodoro.c249
-rw-r--r--keyboards/lily58/keymaps/pomodoro/rules.mk23
-rw-r--r--keyboards/lily58/keymaps/pttbx/config.h54
-rw-r--r--keyboards/lily58/keymaps/pttbx/keymap.c164
-rw-r--r--keyboards/lily58/keymaps/pttbx/rules.mk5
-rw-r--r--keyboards/lily58/keymaps/yuchi/config.h32
-rw-r--r--keyboards/lily58/keymaps/yuchi/keymap.c164
-rw-r--r--keyboards/lily58/keymaps/yuchi/rules.mk30
72 files changed, 0 insertions, 7045 deletions
diff --git a/keyboards/lily58/keymaps/barabas/config.h b/keyboards/lily58/keymaps/barabas/config.h
deleted file mode 100644
index 5c9d0a8ec7..0000000000
--- a/keyboards/lily58/keymaps/barabas/config.h
+++ /dev/null
@@ -1,24 +0,0 @@
-/*
-This is the c configuration file for the keymap
-
-Copyright 2012 Jun Wako <wakojun@gmail.com>
-Copyright 2015 Jack Humbert
-Copyright 2020 Barabas Raffai
-
-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
-
-#define MASTER_LEFT
diff --git a/keyboards/lily58/keymaps/barabas/keymap.c b/keyboards/lily58/keymaps/barabas/keymap.c
deleted file mode 100644
index cd095f3a73..0000000000
--- a/keyboards/lily58/keymaps/barabas/keymap.c
+++ /dev/null
@@ -1,193 +0,0 @@
-/*
-Copyright 2020 Barabas Raffai
-
-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
-
-extern uint8_t is_master;
-
-enum layer_number {
- _QWERTY = 0,
- _GAME,
- _LOWER,
- _RAISE,
- _ADJUST,
-};
-
-/* clang-format off */
-const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
-
-/* QWERTY
- * ,-----------------------------------------. ,-----------------------------------------.
- * | ESC | | | | | | | | | | | | ` |
- * |------+------+------+------+------+------| |------+------+------+------+------+------|
- * | Tab | Q | W | E | R | T | | Y | U | I | O | P | - |
- * |------+------+------+------+------+------| |------+------+------+------+------+------|
- * |LCTRL | A | S | D | F | G |-------. ,-------| H | J | K | L | ; | ' |
- * |------+------+------+------+------+------| [ | | ] |------+------+------+------+------+------|
- * |LShift| Z | X | C | V | B |-------| |-------| N | M | , | . | / |RShift|
- * `-----------------------------------------/ / \ \-----------------------------------------'
- * | LAlt | LGUI |LOWER | /Space / \Enter \ |RAISE |BackSP| RGUI |
- * | | | |/ / \ \ | | | |
- * `----------------------------' '------''--------------------'
- */
-
-[_QWERTY] = LAYOUT(
- KC_ESC, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, KC_GRV,
- KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_MINS,
- KC_LCTL, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT,
- KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_LBRC, KC_RBRC, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT,
- KC_LALT, KC_LGUI, MO(_LOWER), KC_SPC, KC_ENT, MO(_RAISE), KC_BSPC, KC_RGUI
-),
-
- /* game layer adds the number row back */
-
-[_GAME] = LAYOUT(
- _______, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, _______,
- _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
- _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
- _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
- _______, _______, _______, _______, _______, _______, _______, _______
-),
-/* LOWER
- * ,-----------------------------------------. ,-----------------------------------------.
- * | | | | | | | | | | | | | |
- * |------+------+------+------+------+------| |------+------+------+------+------+------|
- * | F1 | F2 | F3 | F4 | F5 | F6 | | F7 | F8 | F9 | F10 | F11 | F12 |
- * |------+------+------+------+------+------| |------+------+------+------+------+------|
- * | ` | ! | @ | # | $ | % |-------. ,-------| ^ | & | * | ( | ) | - |
- * |------+------+------+------+------+------| [ | | ] |------+------+------+------+------+------|
- * | | | | | | |-------| |-------| | _ | + | { | } | | |
- * `-----------------------------------------/ / \ \-----------------------------------------'
- * | LAlt | LGUI |LOWER | /Space / \Enter \ |RAISE |BackSP| RGUI |
- * | | | |/ / \ \ | | | |
- * `----------------------------' '------''--------------------'
- */
-[_LOWER] = LAYOUT(
- _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
- KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12,
- KC_GRV, KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, KC_CIRC, KC_AMPR, KC_ASTR, KC_LPRN, KC_RPRN, KC_TILD,
- _______, _______, _______, _______, _______, _______, _______, _______, XXXXXXX, KC_UNDS, KC_PLUS, KC_LCBR, KC_RCBR, KC_PIPE,
- _______, _______, _______, _______, _______, _______, _______, _______
-),
-/* RAISE
- * ,-----------------------------------------. ,-----------------------------------------.
- * | | | | | | | | | | | | | GAME |
- * |------+------+------+------+------+------| |------+------+------+------+------+------|
- * | ` | 1 | 2 | 3 | 4 | 5 | | 6 | 7 | 8 | 9 | 0 | |
- * |------+------+------+------+------+------| |------+------+------+------+------+------|
- * | | | | | | |-------. ,-------| Left | Down | Up |Right | | |
- * |------+------+------+------+------+------| [ | | ] |------+------+------+------+------+------|
- * | | | | | | |-------| |-------| + | - | = | [ | ] | \ |
- * `-----------------------------------------/ / \ \-----------------------------------------'
- * | LAlt | LGUI |LOWER | /Space / \Enter \ |RAISE |BackSP| RGUI |
- * | | | |/ / \ \ | | | |
- * `----------------------------' '------''--------------------'
- */
-
-[_RAISE] = LAYOUT(
- _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, TG(_GAME),
- KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, _______,
- XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT, XXXXXXX, XXXXXXX,
- XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, _______, _______, KC_PLUS, KC_MINS, KC_EQL, KC_LBRC, KC_RBRC, KC_BSLS,
- _______, _______, _______, _______, _______, _______, _______, _______
-),
-
-[_ADJUST] = LAYOUT(
- XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX,
- XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX,
- XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX,
- XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX,
- _______, _______, _______, _______, _______, _______, _______, _______
-)
-};
-/* clang-format on */
-
-// Setting ADJUST layer RGB back to default
-void update_tri_layer_RGB(uint8_t layer1, uint8_t layer2, uint8_t layer3) {
- if (IS_LAYER_ON(layer1) && IS_LAYER_ON(layer2)) {
- layer_on(layer3);
- } else {
- layer_off(layer3);
- }
-}
-
-// SSD1306 OLED update loop, make sure to enable OLED_ENABLE=yes in rules.mk
-#ifdef OLED_ENABLE
-
-oled_rotation_t oled_init_user(oled_rotation_t rotation) {
- if (!is_keyboard_master()) return OLED_ROTATION_180; // flips the display 180 degrees if offhand
- return rotation;
-}
-
-const char *read_logo(void);
-void set_keylog(uint16_t keycode, keyrecord_t *record);
-const char *read_keylog(void);
-const char *read_keylogs(void);
-
-# define RAISE_MASK (1 << _RAISE)
-# define LOWER_MASK (1 << _LOWER)
-# define GAME_MASK (1 << _GAME)
-void write_layer_state(void) {
- switch (layer_state & (~GAME_MASK)) {
- case (RAISE_MASK | LOWER_MASK):
- oled_write_P(PSTR("Adjust"), false);
- break;
- case RAISE_MASK:
- oled_write_P(PSTR("Raise"), false);
- break;
- case LOWER_MASK:
- oled_write_P(PSTR("Lower"), false);
- break;
- case 0:
- oled_write_P(PSTR("Default"), false);
- break;
- default:
- oled_write_P(PSTR("Undef-"), false);
- {
- char s[3];
- itoa(layer_state, s, 16);
- oled_write(s, false);
- }
- break;
- }
-
- if (layer_state & GAME_MASK) {
- oled_write_P(PSTR(" + Game"), false);
- }
-
- oled_advance_page(true);
-}
-
-bool oled_task_user(void) {
- if (is_keyboard_master()) {
- write_layer_state();
- oled_write_ln(read_keylog(), false);
- oled_write_ln(read_keylogs(), false);
- } else {
- oled_write(read_logo(), false);
- }
- return false;
-}
-#endif // OLED_ENABLE
-
-bool process_record_user(uint16_t keycode, keyrecord_t *record) {
- if (record->event.pressed) {
-#ifdef OLED_ENABLE
- set_keylog(keycode, record);
-#endif
- }
- return true;
-}
diff --git a/keyboards/lily58/keymaps/barabas/readme.md b/keyboards/lily58/keymaps/barabas/readme.md
deleted file mode 100644
index db87722c0e..0000000000
--- a/keyboards/lily58/keymaps/barabas/readme.md
+++ /dev/null
@@ -1,6 +0,0 @@
-# Barabas' Lily58 Layout
-
-Changes from the default layout:
-- Add a layer to toggle number row. I keep missing when stretching up here,
- trying to get used to the Raise layer instead.
-- [Vim](https://www.vim.org/) style arrow keys.
diff --git a/keyboards/lily58/keymaps/barabas/rules.mk b/keyboards/lily58/keymaps/barabas/rules.mk
deleted file mode 100644
index 8b1d516b71..0000000000
--- a/keyboards/lily58/keymaps/barabas/rules.mk
+++ /dev/null
@@ -1,6 +0,0 @@
-NKRO_ENABLE = yes
-COMMAND_ENABLE = yes
-
-SRC += ./lib/rgb_state_reader.c \
- ./lib/logo_reader.c \
- ./lib/keylogger.c \
diff --git a/keyboards/lily58/keymaps/bongocat_wpm_responsive/config.h b/keyboards/lily58/keymaps/bongocat_wpm_responsive/config.h
deleted file mode 100644
index e5d0aa6699..0000000000
--- a/keyboards/lily58/keymaps/bongocat_wpm_responsive/config.h
+++ /dev/null
@@ -1,49 +0,0 @@
-/*
- This is the c configuration file for the keymap
-
- Copyright 2012 Jun Wako <wakojun@gmail.com>
- Copyright 2015 Jack Humbert
-
- 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
-
- //#define USE_MATRIX_I2C
-
- /* Select hand configuration */
-
- // #define MASTER_LEFT
- #define MASTER_LEFT
- // #define EE_HANDS
-
- #define QUICK_TAP_TERM 0
- #define TAPPING_TERM 200
-
- #undef RGBLED_NUM
-#define RGBLIGHT_EFFECT_BREATHING
-#define RGBLIGHT_EFFECT_RAINBOW_MOOD
-#define RGBLIGHT_EFFECT_RAINBOW_SWIRL
-#define RGBLIGHT_EFFECT_SNAKE
-#define RGBLIGHT_EFFECT_KNIGHT
-#define RGBLIGHT_EFFECT_CHRISTMAS
-#define RGBLIGHT_EFFECT_STATIC_GRADIENT
-#define RGBLIGHT_EFFECT_RGB_TEST
-#define RGBLIGHT_EFFECT_ALTERNATING
-#define RGBLIGHT_EFFECT_TWINKLE
- #define RGBLED_NUM 27
- #define RGBLIGHT_LIMIT_VAL 120
- #define RGBLIGHT_HUE_STEP 10
- #define RGBLIGHT_SAT_STEP 17
- #define RGBLIGHT_VAL_STEP 17
diff --git a/keyboards/lily58/keymaps/bongocat_wpm_responsive/keymap.c b/keyboards/lily58/keymaps/bongocat_wpm_responsive/keymap.c
deleted file mode 100644
index e4b9ad269d..0000000000
--- a/keyboards/lily58/keymaps/bongocat_wpm_responsive/keymap.c
+++ /dev/null
@@ -1,334 +0,0 @@
-/* Copyright 2021 (@dbrglc)
-*
-* 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
-
-
-enum custom_layers {
- _QWERTY,
- _LOWER,
- _RAISE,
- _ADJUST,
-};
-
-enum custom_keycodes {
- QWERTY = SAFE_RANGE,
- LOWER,
- RAISE,
- ADJUST,
-};
-
-
-const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
-
-/* QWERTY
- * ,-----------------------------------------. ,-----------------------------------------.
- * | ESC | 1 | 2 | 3 | 4 | 5 | | 6 | 7 | 8 | 9 | 0 | = |
- * |------+------+------+------+------+------| |------+------+------+------+------+------|
- * | Tab | Q | W | E | R | T | | Y | U | I | O | P | - |
- * |------+------+------+------+------+------| |------+------+------+------+------+------|
- * |CANC | A | S | D | F | G |-------. ,-------| H | J | K | L | ; | ' |
- * |------+------+------+------+------+------| [ | | ] |------+------+------+------+------+------|
- * |LShift| Z | X | C | V | B |-------| |-------| N | M | , | . | / |RShift|
- * `-----------------------------------------/ / \ \-----------------------------------------'
- * | LCTRL| LAlt | LGUI | /Space / \Enter \ |BackSP| RAISE |LOWER |
- * | | | |/ / \ \ | | | |
- * `----------------------------' '------''--------------------'
- */
-
- [_QWERTY] = LAYOUT(
- KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_EQL,
- KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_MINS,
- KC_DEL, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT,
- KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_LBRC, KC_RBRC, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT,
- KC_LCTL, KC_LALT, KC_LGUI, KC_SPC, KC_ENT, KC_BSPC, RAISE, LOWER
-),
-/* LOWER
- * ,-----------------------------------------. ,-----------------------------------------.
- * | | | | | | | | | | | | | |
- * |------+------+------+------+------+------| |------+------+------+------+------+------|
- * | F1 | F2 | F3 | F4 | F5 | F6 | | F7 | F8 | F9 | F10 | F11 | F12 |
- * |------+------+------+------+------+------| |------+------+------+------+------+------|
- * | ` | ! | @ | # | $ | % |-------. ,-------| ^ | & | * | ( | ) | - |
- * |------+------+------+------+------+------| [ | | ] |------+------+------+------+------+------|
- * | | | | | | |-------| |-------| | _ | + | { | } | | |
- * `-----------------------------------------/ / \ \-----------------------------------------'
- * | LCTRL| LAlt | LGUI | /Space / \Enter \ |BackSP| RAISE |LOWER |
- * | | | |/ / \ \ | | | |
- * `----------------------------' '------''--------------------'
- */
-
-[_LOWER] = LAYOUT(
- _______, _______, _______, _______, _______, _______, _______, _______, _______,_______, _______, _______,
- KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12,
- KC_GRV, KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, KC_CIRC, KC_AMPR, KC_ASTR, KC_LPRN, KC_RPRN, KC_TILD,
- _______, _______, _______, _______, _______, _______, _______, _______, XXXXXXX, KC_UNDS, KC_PLUS, KC_LCBR, KC_RCBR, KC_PIPE,
- _______, _______, _______, _______, _______, _______, _______, _______
-),
-/* RAISE
- * ,-----------------------------------------. ,-----------------------------------------.
- * | | | | | | | | | | | | | |
- * |------+------+------+------+------+------| |------+------+------+------+------+------|
- * | ` | 1 | 2 | 3 | 4 | 5 | | 6 | 7 | 8 | 9 | 0 | |
- * |------+------+------+------+------+------| |------+------+------+------+------+------|
- * | F1 | F2 | F3 | F4 | F5 | F6 |-------. ,-------| | Left | Down | Up |Right | |
- * |------+------+------+------+------+------| [ | | ] |------+------+------+------+------+------|
- * | F7 | F8 | F9 | F10 | F11 | F12 |-------| |-------| + | - | = | [ | ] | \ |
- * `-----------------------------------------/ / \ \-----------------------------------------'
- * | LCTRL| LAlt | LGUI | /Space / \Enter \ |BackSP| RAISE |LOWER |
- * | | | |/ / \ \ | | | |
- * `----------------------------' '------''--------------------'
- */
-
-[_RAISE] = LAYOUT(
- _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
- KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, _______,
- KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, XXXXXXX, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT, XXXXXXX,
- KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, _______, _______, KC_PLUS, KC_MINS, KC_EQL, KC_LBRC, KC_RBRC, KC_BSLS,
- _______, _______, _______, _______, _______, _______, _______, _______
-),
-/* ADJUST
- * ,-----------------------------------------. ,-----------------------------------------.
- * | | | | | | | | | | | | | |
- * |------+------+------+------+------+------| |------+------+------+------+------+------|
- * | | | | | | | | | | | | | |
- * |------+------+------+------+------+------| |------+------+------+------+------+------|
- * | | | | | | |-------. ,-------| | |RGB ON| HUE+ | SAT+ | VAL+ |
- * |------+------+------+------+------+------| | | |------+------+------+------+------+------|
- * | | | | | | |-------| |-------| | | MODE | HUE- | SAT- | VAL- |
- * `-----------------------------------------/ / \ \-----------------------------------------'
- * | LCTRL| LAlt | LGUI | /Space / \Enter \ |BackSP| RAISE |LOWER |
- * | | | |/ / \ \ | | | |
- * `----------------------------' '------''--------------------'
- */
-
- [_ADJUST] = LAYOUT(
- XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX,
- XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX,
- XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, RGB_TOG, RGB_HUI, RGB_SAI, RGB_VAI,
- XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, RGB_MOD, RGB_HUD, RGB_SAD, RGB_VAD,
- _______, _______, _______, _______, _______, _______, _______, _______
- )
-};
-
-//SSD1306 OLED update loop, make sure to enable OLED_ENABLE=yes in rules.mk
-#ifdef OLED_ENABLE
-
-oled_rotation_t oled_init_user(oled_rotation_t rotation) {
- if (!is_keyboard_master())
- return OLED_ROTATION_180; // flips the display 180 degrees if offhand
- return rotation;
-}
-
-// When you add source files to SRC in rules.mk, you can use functions.
-const char *read_layer_state(void);
-const char *read_logo(void);
-void set_keylog(uint16_t keycode, keyrecord_t *record);
-const char *read_keylog(void);
-const char *read_keylogs(void);
-
-// const char *read_mode_icon(bool swap);
-// const char *read_host_led_state(void);
-// void set_timelog(void);
-// const char *read_timelog(void);
-
-char wpm_str[16];
-
-// WPM-responsive animation stuff here
-#define IDLE_FRAMES 5
-#define IDLE_SPEED 40 // below this wpm value your animation will idle
-
-// #define PREP_FRAMES 1 // uncomment if >1
-
-#define TAP_FRAMES 2
-#define TAP_SPEED 60 // above this wpm value typing animation to triggere
-
-#define ANIM_FRAME_DURATION 200 // how long each frame lasts in ms
-#define SLEEP_TIMER 60000 // should sleep after this period of 0 wpm, may need fixing
-#define ANIM_SIZE 640 // number of bytes in array, minimize for adequate firmware size, max is 1024
-
-uint16_t anim_timer = 0;
-uint16_t anim_sleep = 0;
-uint8_t current_idle_frame = 0;
-uint8_t current_tap_frame = 0;
-
-//
-// Render right OLED display animation
-//
-static void render_anim(void) {
-
- // Idle animation
- static const char PROGMEM idle[IDLE_FRAMES][ANIM_SIZE] = {
- {
- 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,128,64,64,32,32,32,32,16,16,16,16,16,8,8,4,4,4,8,48,64,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,128,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,24,100,130,2,2,2,2,2,1,0,0,0,0,128,128,0,0,0,0,0,0,0,0,0,128,0,48,48,0,192,193,193,194,4,8,16,32,64,128,0,0,0,128,128,128,128,64,64,
- 64,64,32,32,32,32,16,16,16,16,8,8,8,8,8,4,4,4,4,4,2,2,2,2,1,1,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,192,56,4,3,0,0,0,0,0,0,0,12,12,12,13,1,0,64,160,33,34,18,17,17,17,9,8,8,8,8,4,4,8,8,16,16,16,16,16,17,15,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,128,128,128,128,128,64,64,64,64,64,32,32,32,32,32,16,16,16,16,16,8,8,8,8,8,4,4,4,4,4,2,3,2,2,1,1,1,1,1,1,2,2,4,4,8,8,8,8,8,7,
- 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
- },
-
- {
- 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,128,64,64,32,32,32,32,16,16,16,16,16,8,8,4,4,4,8,48,64,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,128,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,24,100,130,2,2,2,2,2,1,0,0,0,0,128,128,0,0,0,0,0,0,0,0,0,128,0,48,48,0,192,193,193,194,4,8,16,32,64,128,0,0,0,128,128,128,128,64,64,
- 64,64,32,32,32,32,16,16,16,16,8,8,8,8,8,4,4,4,4,4,2,2,2,2,1,1,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,192,56,4,3,0,0,0,0,0,0,0,12,12,12,13,1,0,64,160,33,34,18,17,17,17,9,8,8,8,8,4,4,8,8,16,16,16,16,16,17,15,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,128,128,128,128,128,64,64,64,64,64,32,32,32,32,32,16,16,16,16,16,8,8,8,8,8,4,4,4,4,4,2,3,2,2,1,1,1,1,1,1,2,2,4,4,8,8,8,8,8,
- 7,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
- },
-
- {
- 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,128,128,64,64,64,64,32,32,32,32,16,8,4,2,2,4,24,96,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,128,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,60,194,1,1,2,2,4,4,2,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,96,96,0,129,130,130,132,8,16,32,64,128,0,0,0,0,128,128,128,128,64,64,64,64,32,
- 32,32,32,16,16,16,16,8,8,8,8,8,4,4,4,4,4,2,2,2,2,1,1,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,128,112,25,6,0,0,0,0,0,0,0,24,24,24,27,3,0,64,160,34,36,20,18,18,18,11,8,8,8,8,5,5,9,9,16,16,16,16,16,17,15,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,128,128,128,128,128,64,64,64,64,64,32,32,32,32,32,16,16,16,16,16,8,8,8,8,8,4,4,4,4,4,2,3,2,2,1,1,1,1,1,1,2,2,4,4,8,8,8,8,8,7,0,0,0,
- 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
- },
-
- {
- 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,128,128,0,0,0,0,0,128,64,64,32,32,32,32,16,16,16,16,8,4,2,1,1,2,12,48,64,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,128,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,30,225,0,0,1,1,2,2,1,0,0,0,0,128,128,0,0,0,0,0,0,0,0,0,128,0,48,48,0,192,193,193,194,4,8,16,32,64,128,0,0,0,128,128,128,128,64,64,
- 64,64,32,32,32,32,16,16,16,16,8,8,8,8,8,4,4,4,4,4,2,2,2,2,1,1,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,128,112,12,3,0,0,0,0,0,0,0,12,12,12,13,1,0,64,160,33,34,18,17,17,17,9,8,8,8,8,4,4,8,8,16,16,16,16,16,17,15,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,128,128,128,128,128,64,64,64,64,64,32,32,32,32,32,16,16,16,16,16,8,8,8,8,8,4,4,4,4,4,2,3,2,2,1,1,1,1,1,1,2,2,4,4,8,8,8,8,8,
- 7,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
- },
-
- {
- 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,128,64,64,32,32,32,32,16,16,16,16,8,8,4,2,2,2,4,56,64,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,128,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,28,226,1,1,2,2,2,2,1,0,0,0,0,128,128,0,0,0,0,0,0,0,0,0,128,0,48,48,0,192,193,193,194,4,8,16,32,64,128,0,0,0,128,128,128,128,64,64,64,64,
- 32,32,32,32,16,16,16,16,8,8,8,8,8,4,4,4,4,4,2,2,2,2,1,1,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,128,112,12,3,0,0,0,0,0,0,0,12,12,12,13,1,0,64,160,33,34,18,17,17,17,9,8,8,8,8,4,4,8,8,16,16,16,16,16,17,15,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,128,128,128,128,128,64,64,64,64,64,32,32,32,32,32,16,16,16,16,16,8,8,8,8,8,4,4,4,4,4,2,3,2,2,1,1,1,1,1,1,2,2,4,4,8,8,8,8,8,7,0,0,
- 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
- }
- };
-
- // Prep animation
- static const char PROGMEM prep[][ANIM_SIZE] = {
-
- {
- 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,128,128,0,0,0,0,0,128,64,64,32,32,32,32,16,16,16,16,8,4,2,1,1,2,12,48,64,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,128,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,30,225,0,0,1,1,2,2,129,128,128,0,0,128,128,0,0,0,0,0,0,0,0,0,128,0,48,48,0,0,1,225,26,6,9,49,53,1,138,124,0,0,128,128,128,128,64,64,
- 64,64,32,32,32,32,16,16,16,16,8,8,8,8,8,4,4,4,4,4,2,2,2,2,1,1,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,128,112,12,3,0,0,24,6,5,152,153,132,195,124,65,65,64,64,32,33,34,18,17,17,17,9,8,8,8,8,4,4,4,4,4,4,2,2,2,1,1,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,128,128,128,128,128,64,64,64,64,64,32,32,32,32,32,16,16,16,16,16,8,8,8,8,8,4,4,4,4,4,2,3,2,2,1,1,1,1,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
- }
-
- };
-
- // Typing animation
- static const char PROGMEM tap[TAP_FRAMES][ANIM_SIZE] = {
-
- {
- 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,128,128,0,0,0,0,0,128,64,64,32,32,32,32,16,16,16,16,8,4,2,1,1,2,12,48,64,128,0,0,0,0,0,0,0,248,248,248,248,0,0,0,0,0,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,128,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,30,225,0,0,1,1,2,2,129,128,128,0,0,128,128,0,0,0,0,0,0,0,0,0,128,0,48,48,0,0,1,1,2,4,8,16,32,67,135,7,1,0,184,188,190,159,
- 95,95,79,76,32,32,32,32,16,16,16,16,8,8,8,8,8,4,4,4,4,4,2,2,2,2,1,1,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,128,112,12,3,0,0,24,6,5,152,153,132,67,124,65,65,64,64,32,33,34,18,17,17,17,9,8,8,8,8,4,4,8,8,16,16,16,16,16,17,15,1,61,124,252,252,252,252,252,60,12,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,128,128,128,128,128,64,64,64,64,64,32,32,32,32,32,16,16,16,16,16,8,8,8,8,8,4,4,4,4,4,2,3,2,2,1,1,1,
- 1,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,1,3,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,0,0,0,0,0,128,128,0,0,0,0,0,128,64,64,32,32,32,32,16,16,16,16,8,4,2,1,1,2,12,48,64,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,128,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,30,225,0,0,1,1,2,2,1,0,0,0,0,128,128,0,0,0,0,0,0,0,0,0,128,0,48,48,0,0,1,225,26,6,9,49,53,1,138,124,0,0,128,128,128,128,64,64,64,64,32,
- 32,32,32,16,16,16,16,8,8,8,8,8,4,4,4,4,4,2,2,2,2,1,1,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,128,112,12,3,0,0,0,0,0,0,0,0,0,0,1,1,0,64,160,33,34,18,17,17,17,9,8,8,8,8,4,4,4,4,4,4,2,2,2,1,1,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,128,128,128,128,128,64,64,64,64,64,32,32,32,32,32,16,16,16,16,16,8,8,8,8,8,4,4,4,4,4,2,3,122,122,121,121,121,121,57,49,2,2,4,4,8,8,8,136,136,135,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
- }
-
- };
-
- //assumes 1 frame prep stage
- void animation_phase(void) {
- if(get_current_wpm() <=IDLE_SPEED){
- current_idle_frame = (current_idle_frame + 1) % IDLE_FRAMES;
- oled_clear();
- oled_write_raw_P(idle[abs((IDLE_FRAMES-1)-current_idle_frame)], ANIM_SIZE);
- }
- if(get_current_wpm() >IDLE_SPEED && get_current_wpm() <TAP_SPEED){
- oled_clear();
- // oled_write_raw_P(prep[abs((PREP_FRAMES-1)-current_prep_frame)], ANIM_SIZE); // uncomment if IDLE_FRAMES >1
- oled_write_raw_P(prep[0], ANIM_SIZE); // remove if IDLE_FRAMES >1
- }
- if(get_current_wpm() >=TAP_SPEED){
- current_tap_frame = (current_tap_frame + 1) % TAP_FRAMES;
- oled_clear();
- oled_write_raw_P(tap[abs((TAP_FRAMES-1)-current_tap_frame)], ANIM_SIZE);
- }
- }
- if(get_current_wpm() != 0) {
- if(timer_elapsed(anim_timer) > ANIM_FRAME_DURATION) {
- anim_timer = timer_read();
- animation_phase();
- }
- anim_sleep = timer_read();
- } else {
- if(timer_elapsed(anim_timer) > ANIM_FRAME_DURATION) {
- anim_timer = timer_read();
- animation_phase();
- }
- if(timer_elapsed(anim_sleep) > SLEEP_TIMER) {
-// oled_off();
- }
- }
-}
-
-void oled_task_user(void) {
- if (is_keyboard_master()) {
- oled_set_cursor(0,1);
- uint8_t n = get_current_wpm();
- char wpm_counter[4];
- wpm_counter[3] = '\0';
- wpm_counter[2] = '0' + n % 10;
- wpm_counter[1] = (n /= 10) % 10 ? '0' + (n) % 10 : (n / 10) % 10 ? '0' : ' ';
- wpm_counter[0] = n / 10 ? '0' + n / 10 : ' ';
- oled_write_P(PSTR("WPM: "), false);
- oled_write(wpm_counter, false);
- oled_set_cursor(0,3); {
- oled_write_ln(read_layer_state(), false);
- }
- } else {
- render_anim();
- }
-}
-#endif // OLED_DRIVER_ENABLE
-
-bool process_record_user(uint16_t keycode, keyrecord_t *record) {
- if (record->event.pressed) {
-#ifdef OLED_ENABLE
- set_keylog(keycode, record);
-#endif
- // set_timelog();
- }
-
- switch (keycode) {
- case QWERTY:
- if (record->event.pressed) {
- set_single_persistent_default_layer(_QWERTY);
- }
- return false;
- break;
- case LOWER:
- if (record->event.pressed) {
- layer_on(_LOWER);
- update_tri_layer(_LOWER, _RAISE, _ADJUST);
- } else {
- layer_off(_LOWER);
- update_tri_layer(_LOWER, _RAISE, _ADJUST);
- }
- return false;
- break;
- case RAISE:
- if (record->event.pressed) {
- layer_on(_RAISE);
- update_tri_layer(_LOWER, _RAISE, _ADJUST);
- } else {
- layer_off(_RAISE);
- update_tri_layer(_LOWER, _RAISE, _ADJUST);
- }
- return false;
- break;
- case ADJUST:
- if (record->event.pressed) {
- layer_on(_ADJUST);
- } else {
- layer_off(_ADJUST);
- }
- return false;
- break;
- }
- return true;
-}
diff --git a/keyboards/lily58/keymaps/bongocat_wpm_responsive/readme.md b/keyboards/lily58/keymaps/bongocat_wpm_responsive/readme.md
deleted file mode 100644
index 2bcd7e87f8..0000000000
--- a/keyboards/lily58/keymaps/bongocat_wpm_responsive/readme.md
+++ /dev/null
@@ -1,23 +0,0 @@
-# Responsive Bongo Cat layout for Lily58 :drum: :smile_cat:
-
-This split ergo layout follows the layout of another ergo split keyboard with the following changes:
-
-* I put the space on the Left thumb and the Enter on the right thumb :thumbsup:
-
-* Near the thumbs there are all my most used keys as a Mac User :computer:
-
-* I edit the Bongo Cat to be responsive to the Word Per Minutes that you are writing :scream_cat:
-
-## Layers
-
-### Default layer
-
-![Default layer layout](https://i.imgur.com/padJXr2.png)
-
-### Raise layer
-
-![Raise layer layout](https://i.imgur.com/iqQDUXD.png)
-
-### Lower layer
-
-![Lower layer layout](https://i.imgur.com/EzNU2hq.png) \ No newline at end of file
diff --git a/keyboards/lily58/keymaps/bongocat_wpm_responsive/rules.mk b/keyboards/lily58/keymaps/bongocat_wpm_responsive/rules.mk
deleted file mode 100644
index 787d72e3f1..0000000000
--- a/keyboards/lily58/keymaps/bongocat_wpm_responsive/rules.mk
+++ /dev/null
@@ -1,11 +0,0 @@
-WPM_ENABLE = yes
-LTO_ENABLE = yes
-
- # If you want to change the display of OLED, you need to change here
- SRC += ./lib/rgb_state_reader.c \
- ./lib/layer_state_reader.c \
- ./lib/logo_reader.c \
- ./lib/keylogger.c \
- # ./lib/mode_icon_reader.c \
- # ./lib/host_led_state_reader.c \
- # ./lib/timelogger.c \ \ No newline at end of file
diff --git a/keyboards/lily58/keymaps/chuan/config.h b/keyboards/lily58/keymaps/chuan/config.h
deleted file mode 100644
index b3a47769bf..0000000000
--- a/keyboards/lily58/keymaps/chuan/config.h
+++ /dev/null
@@ -1,68 +0,0 @@
-/*
-This is the c configuration file for the keymap
-
-Copyright 2012 Jun Wako <wakojun@gmail.com>
-Copyright 2015 Jack Humbert
-
-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
-
-// #define USE_MATRIX_I2C
-
-// #define USE_I2C
-
-/* Select hand configuration */
-
-#define MASTER_LEFT
-// #define MASTER_RIGHT
-// #define EE_HANDS
-
-#define QUICK_TAP_TERM 0
-
-/* define tapping term */
-#define TAPPING_TERM 200
-
-
-#undef RGBLED_NUM
-#define RGBLIGHT_EFFECT_BREATHING
-#define RGBLIGHT_EFFECT_RAINBOW_MOOD
-#define RGBLIGHT_EFFECT_RAINBOW_SWIRL
-#define RGBLIGHT_EFFECT_SNAKE
-#define RGBLIGHT_EFFECT_KNIGHT
-#define RGBLIGHT_EFFECT_CHRISTMAS
-#define RGBLIGHT_EFFECT_STATIC_GRADIENT
-#define RGBLIGHT_EFFECT_RGB_TEST
-#define RGBLIGHT_EFFECT_ALTERNATING
-#define RGBLIGHT_EFFECT_TWINKLE
-#define RGBLED_NUM 27
-#define RGBLIGHT_LIMIT_VAL 120
-#define RGBLIGHT_HUE_STEP 10
-#define RGBLIGHT_SAT_STEP 17
-#define RGBLIGHT_VAL_STEP 17
-
-#define ENCODERS_PAD_A { F4 }
-#define ENCODERS_PAD_B { F5 }
-
-
- /* Set 0 if debouncing isn't needed */
-#define DEBOUNCE 5
-
-// Underglow
-/*
-#undef RGBLED_NUM
-#define RGBLED_NUM 14 // Number of LEDs
-#define RGBLIGHT_SLEEP
-*/
diff --git a/keyboards/lily58/keymaps/chuan/keymap.c b/keyboards/lily58/keymaps/chuan/keymap.c
deleted file mode 100644
index 58a19ebd5f..0000000000
--- a/keyboards/lily58/keymaps/chuan/keymap.c
+++ /dev/null
@@ -1,225 +0,0 @@
-#include QMK_KEYBOARD_H
-
-#ifdef RGBLIGHT_ENABLE
-//Following line allows macro to read current RGB settings
-extern rgblight_config_t rgblight_config;
-#endif
-
-extern uint8_t is_master;
-
-#define _QWERTY 0
-#define _LOWER 1
-#define _RAISE 2
-#define _ADJUST 3
-
-enum custom_keycodes {
- QWERTY = SAFE_RANGE,
- LOWER,
- RAISE,
- ADJUST,
-};
-
-
-const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
-
-/* QWERTY
- * ,-----------------------------------------. ,-----------------------------------------.
- * | ESC | 1 | 2 | 3 | 4 | 5 | | 6 | 7 | 8 | 9 | 0 | ` |
- * |------+------+------+------+------+------| |------+------+------+------+------+------|
- * | Tab | Q | W | E | R | T | | Y | U | I | O | P | - |
- * |------+------+------+------+------+------| |------+------+------+------+------+------|
- * |HYPER | A | S | D | F | G |-------. ,-------| H | J | K | L | ; | ' |
- * |------+------+------+------+------+------| - | | + |------+------+------+------+------+------|
- * |LShift| Z | X | C | V | B |-------| |-------| N | M | , | . | / |RShift|
- * `-----------------------------------------/ / \ \-----------------------------------------'
- * | LCtl | LGUI |LALT | /Space / \Space \ |RAISE | [ | ] |
- * | | | |/ LOWER / \ \ | ' | | |
- * `----------------------------' '------''--------------------'
- */
-
- [_QWERTY] = LAYOUT(
- QK_GESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_BSPC,
- KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSLS,
- ALL_T(KC_GRV), KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_ENTER,
- KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_MINS, MEH_T(KC_EQL), KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT,
- KC_LCTL, KC_LGUI, KC_LALT,LT(_LOWER, KC_SPC), KC_SPC, LT(2,KC_QUOT), KC_LBRC, KC_RBRC
-),
-/* LOWER
- * ,-----------------------------------------. ,-----------------------------------------.
- * | | | | | | | | | | | | | |
- * |------+------+------+------+------+------| |------+------+------+------+------+------|
- * | F1 | F2 | F3 | F4 | F5 | F6 | | F7 | F8 | F9 | F10 | F11 | F12 |
- * |------+------+------+------+------+------| |------+------+------+------+------+------|
- * | ` | ! | @ | # | $ | % |-------. ,-------| ^ | & | * | ( | ) | - |
- * |------+------+------+------+------+------| cmd spc| | |------+------+------+------+------+------|
- * | | | |ctrl c| | |-------| |-------| | - | _ | [ | ] | | |
- * `-----------------------------------------/ / \ \-----------------------------------------'
- * | LAlt | LGUI |LOWER | /Space / \Enter \ |RAISE | { | } |
- * | | | |/ / \ \ | | | |
- * `----------------------------' '------''--------------------'
- */
-[_LOWER] = LAYOUT(
- KC_GRV, KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, KC_CIRC, KC_AMPR, KC_ASTR, KC_LPRN, KC_RPRN, KC_TILD,
- KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12,
- _______, _______, _______, _______, _______, _______, _______, _______, _______,_______, _______, _______,
- _______, _______, _______, C(KC_C), _______, _______, LGUI(KC_SPC), _______, _______, KC_MINS, KC_UNDS , KC_LBRC, KC_RBRC, KC_PIPE,
- _______, _______, _______, _______, _______, RAISE, KC_LCBR, KC_RCBR
-),
-/* RAISE
- * ,-----------------------------------------. ,-----------------------------------------.
- * | | | | | | | | | | | | | |
- * |------+------+------+------+------+------| |------+------+------+------+------+------|
- * | ` | 1 | 2 | 3 | 4 | 5 | | 6 | 7 | 8 | 9 | 0 | |
- * |------+------+------+------+------+------| |------+------+------+------+------+------|
- * | F1 | F2 | F3 | F4 | F5 | F6 |-------. ,-------| | Left | Down | Up |Right | |
- * |------+------+------+------+------+------| [ | | ] |------+------+------+------+------+------|
- * | F7 | F8 | F9 | F10 | F11 | F12 |-------| |-------| + | - | = | [ | ] | \ |
- * `-----------------------------------------/ / \ \-----------------------------------------'
- * | LAlt | LGUI |LOWER | /Space / \Enter \ |RAISE |BackSP| RGUI |
- * | | | |/ / \ \ | | | |
- * `----------------------------' '------''--------------------'
- */
-
-[_RAISE] = LAYOUT(
- KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, _______, KC_MRWD, KC_MPLY, KC_MFFD, KC_DEL, _______,
- KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_6, LCTL(LSFT(KC_TAB)),KC_UP,LCTL(KC_TAB), KC_0, _______,
- _______, _______, _______, _______, _______, _______, XXXXXXX, KC_LEFT, KC_DOWN, KC_RIGHT, KC_RGHT, XXXXXXX,
- _______, _______, _______, _______, _______, _______, _______, TG(_ADJUST),KC_PLUS, KC_MUTE ,KC_VOLD ,KC_VOLU, _______, _______,
- _______, _______, _______, _______, _______, _______, _______, _______
-),
-/* ADJUST
- * ,-----------------------------------------. ,-----------------------------------------.
- * | | | | | | | | | 7 | 8 | 9 |RGB ON| HUE+ |
- * |------+------+------+------+------+------| |------+------+------+------+------+------|
- * | | | | | | | | | 4 | 5 | 6 | MODE | HUE- |
- * |------+------+------+------+------+------| |------+------+------+------+------+------|
- * | | | | | | |-------. ,-------| | 1 | 2 | 3 | SAT+ | VAL+ |
- * |------+------+------+------+------+------| | |DEFAULT|------+------+------+------+------+------|
- * | | | | | | |-------| |-------| | 0 | 0 | . | SAT- | VAL- |
- * `-----------------------------------------/ / \ \-----------------------------------------'
- * | LAlt | LGUI |LOWER | /Space / \Enter \ |RAISE |BackSP| RGUI |
- * | | | |/ / \ \ | | | |
- * `----------------------------' '------''--------------------'
- */
- [_ADJUST] = LAYOUT(
- XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, KC_7 , KC_8 , KC_9 , RGB_TOG, RGB_HUI,
- XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, KC_4 , KC_5 , KC_6 , RGB_MOD, RGB_HUD,
- XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, KC_1 , KC_2 , KC_3 , RGB_SAI, RGB_VAI,
- XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, TG(_ADJUST), XXXXXXX, KC_0 , KC_0 , KC_DOT, RGB_SAD, RGB_VAD,
- _______, _______, _______, _______, _______, _______,KC_BSPC, _______
- )
-};
-
-int RGB_current_mode;
-
-int counter = 0;
-int lastIndex = 9;
-
-// Setting ADJUST layer RGB back to default
-void update_tri_layer_RGB(uint8_t layer1, uint8_t layer2, uint8_t layer3) {
- if (IS_LAYER_ON(layer1) && IS_LAYER_ON(layer2)) {
- layer_on(layer3);
- } else {
- layer_off(layer3);
- }
-}
-
-void matrix_init_user(void) {
- #ifdef RGBLIGHT_ENABLE
- RGB_current_mode = rgblight_config.mode;
- #endif
-}
-
-#ifdef OLED_ENABLE
-
-oled_rotation_t oled_init_user(oled_rotation_t rotation) {
- if (!is_keyboard_master())
- return OLED_ROTATION_180; // flips the display 180 degrees if offhand
- return rotation;
-}
-
-// When add source files to SRC in rules.mk, you can use functions.
-const char *read_layer_state(void);
-const char *read_logo(void);
-void set_keylog(uint16_t keycode, keyrecord_t *record);
-const char *read_keylog(void);
-const char *read_keylogs(void);
-
-const char *read_mode_icon(bool swap);
-const char *read_host_led_state(void);
-void set_timelog(void);
-const char *read_timelog(void);
-
-char encoder_debug[24];
-
-bool oled_task_user(void) {
- // Host Keyboard Layer Status
- snprintf(encoder_debug, sizeof(encoder_debug), "%i %i", counter, lastIndex );
- if (is_keyboard_master()) {
- // If you want to change the display of OLED, you need to change here
- oled_write_ln(read_layer_state(), false);
- // oled_write_ln(read_keylog(), false);
- // oled_write_ln(read_keylogs(), false);
- // oled_write_ln(read_mode_icon(keymap_config.swap_lalt_lgui), false);
- oled_write_ln(read_host_led_state(), false);
- oled_write_ln(encoder_debug, false);
- // oled_write_ln(read_timelog(), false);
- } else {
- oled_write(read_logo(), false);
- // oled_write_ln(encoder_debug, false);
- }
- return false;
-}
-#endif //OLED_ENABLE
-
-bool process_record_user(uint16_t keycode, keyrecord_t *record) {
- switch (keycode) {
- case QWERTY:
- if (record->event.pressed) {
- set_single_persistent_default_layer(_QWERTY);
- }
- return false;
- break;
- case LOWER:
- if (record->event.pressed) {
- layer_on(_LOWER);
- update_tri_layer_RGB(_LOWER, _RAISE, _ADJUST);
- } else {
- layer_off(_LOWER);
- update_tri_layer_RGB(_LOWER, _RAISE, _ADJUST);
- }
- return false;
- break;
- case RAISE:
- if (record->event.pressed) {
- layer_on(_RAISE);
- update_tri_layer_RGB(_LOWER, _RAISE, _ADJUST);
- } else {
- layer_off(_RAISE);
- update_tri_layer_RGB(_LOWER, _RAISE, _ADJUST);
- }
- return false;
- break;
- case ADJUST:
- if (record->event.pressed) {
- layer_on(_ADJUST);
- } else {
- layer_off(_ADJUST);
- }
- return false;
- break;
- }
- return true;
-}
-
-bool encoder_update_user(uint8_t index, bool clockwise) {
- lastIndex = index;
- if (clockwise) {
- counter++;
- tap_code(KC_PGDN);
- } else {
- counter--;
- tap_code(KC_PGUP);
- }
- return true;
-}
diff --git a/keyboards/lily58/keymaps/chuan/rules.mk b/keyboards/lily58/keymaps/chuan/rules.mk
deleted file mode 100644
index 3e05cb7d92..0000000000
--- a/keyboards/lily58/keymaps/chuan/rules.mk
+++ /dev/null
@@ -1,11 +0,0 @@
-EXTRAKEY_ENABLE = yes
-NKRO_ENABLE = yes
-ENCODER_ENABLE = yes
-# If you want to change the display of OLED, you need to change here
-SRC += ./lib/rgb_state_reader.c \
- ./lib/layer_state_reader.c \
- ./lib/logo_reader.c \
- ./lib/mode_icon_reader.c \
- ./lib/host_led_state_reader.c \
- ./lib/timelogger.c \
- ./lib/keylogger.c \
diff --git a/keyboards/lily58/keymaps/datadavd/config.h b/keyboards/lily58/keymaps/datadavd/config.h
deleted file mode 100644
index c851d7ad0e..0000000000
--- a/keyboards/lily58/keymaps/datadavd/config.h
+++ /dev/null
@@ -1,59 +0,0 @@
-/*
-This is the c configuration file for the keymap
-
-Copyright 2012 Jun Wako <wakojun@gmail.com>
-Copyright 2015 Jack Humbert
-
-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
-
-//#define USE_MATRIX_I2C
-
-/* Select hand configuration */
-
-#define MASTER_LEFT
-// #define MASTER_RIGHT
-// #define EE_HANDS
-
-#define QUICK_TAP_TERM 0
-#define TAPPING_TERM 50
-
-#undef RGBLED_NUM
-#define RGBLIGHT_EFFECT_BREATHING
-#define RGBLIGHT_EFFECT_RAINBOW_MOOD
-#define RGBLIGHT_EFFECT_RAINBOW_SWIRL
-#define RGBLIGHT_EFFECT_SNAKE
-#define RGBLIGHT_EFFECT_KNIGHT
-#define RGBLIGHT_EFFECT_CHRISTMAS
-#define RGBLIGHT_EFFECT_STATIC_GRADIENT
-#define RGBLIGHT_EFFECT_RGB_TEST
-#define RGBLIGHT_EFFECT_ALTERNATING
-#define RGBLIGHT_EFFECT_TWINKLE
-#define RGBLED_NUM 27
-#define RGBLIGHT_LIMIT_VAL 120
-#define RGBLIGHT_HUE_STEP 10
-#define RGBLIGHT_SAT_STEP 17
-#define RGBLIGHT_VAL_STEP 17
-
-// Mouse configs
-#define MOUSEKEY_DELAY 150
-
-// Underglow
-/*
-#undef RGBLED_NUM
-#define RGBLED_NUM 14 // Number of LEDs
-#define RGBLIGHT_SLEEP
-*/
diff --git a/keyboards/lily58/keymaps/datadavd/keymap.c b/keyboards/lily58/keymaps/datadavd/keymap.c
deleted file mode 100644
index d0c34ef21e..0000000000
--- a/keyboards/lily58/keymaps/datadavd/keymap.c
+++ /dev/null
@@ -1,266 +0,0 @@
-/* Copyright 2021 David Dansby
- *
- * 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
-
-enum layer_number {
- _QWERTY = 0,
- _SUPER,
- _RAISE,
- _MOUSE,
-};
-
-const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
-
-/* QWERTY
- * ,-----------------------------------------. ,-----------------------------------------.
- * | ESC | 1 | 2 | 3 | 4 | 5 | | 6 | 7 | 8 | 9 | 0 |BackSP|
- * |------+------+------+------+------+------| |------+------+------+------+------+----- |
- * | Tab | Q | W | E | R | T | | Y | U | I | O | P | \| |
- * |------+------+------+------+------+------| |------+------+------+------+------+----- |
- * |LShift| A | S | D | F | G |-------. ,-------| H | J | K | L | ;: | '" |
- * |------+------+------+------+------+------| `~ | | Enter |------+------+------+------+------+------|
- * |LCTRL | Z | X | C | V | B |-------| |-------| N | M | ,< | .> | ?/ |RShift|
- * `-----------------------------------------/ / \ \-----------------------------------------'
- * | [ | LAlt | LGUI | /SUPER / \Space \ |RAISE | RGUI | ] |
- * | | | |/ / \ \ | | | |
- * `----------------------------' '------''--------------------'
- */
-
- [_QWERTY] = LAYOUT(
- KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_BSPC,
- KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSLS,
- KC_LSFT, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT,
- KC_LCTL, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_GRV, KC_ENT, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT,
- KC_LBRC, KC_LALT, KC_LGUI, MO(_SUPER), KC_SPC, MO(_RAISE), KC_RGUI, KC_RBRC
-),
-/* SUPER
- * ,-----------------------------------------. ,-----------------------------------------.
- * | Pwr |Pwr Dn| Sleep| Wake | XXXX | XXXX | | \| | `~ | } | -_ | =+ |BackSP|
- * |------+------+------+------+------+------| |------+------+------+------+------+------|
- * | Tab | Tab | ESC |Enter |LCTRL | { | | ) | Tab | Up | {[ | ]} | \| |
- * |------+------+------+------+------+------| |------+------+------+------+------+------|
- * |LShift|LShift| LGUI | LAlt | _ | ( |-------. ,-------|BackSP| Left | Down |Right | = |Enter |
- * |------+------+------+------+------+------| CAPS | | `~ |------+------+------+------+------+------|
- * |LCTRL |LCTRL | Home |Pg Up |Pg Dwn| End |-------| |-------| B | V | C | X | Z |RShift|
- * `-----------------------------------------/ / \ \-----------------------------------------'
- * |Trans | LAlt |LGUI | /Trans / \Space \ |Del | TGUI |Trans |
- * | | | |/ / \ \ | | | |
- * `----------------------------' '------''--------------------'
- */
-[_SUPER] = LAYOUT(
- KC_PWR, KC_PWR, KC_SLEP, KC_WAKE, KC_NO, KC_NO, KC_BSLS, KC_GRV, KC_RCBR, KC_MINS, KC_EQL, KC_BSPC,
- KC_TAB, KC_TAB, KC_ESC, KC_ENT, KC_LCTL, KC_LCBR, KC_RPRN, KC_TAB, KC_UP, KC_LBRC, KC_RBRC, KC_TRNS,
- KC_LSFT, KC_LSFT, KC_LGUI, KC_LALT, KC_UNDS, KC_LPRN, KC_BSPC, KC_LEFT, KC_DOWN, KC_RGHT, KC_EQL, KC_ENT,
- KC_LCTL, KC_LCTL, KC_HOME, KC_PGUP, KC_PGDN, KC_END, KC_CAPS, KC_GRV, KC_B, KC_V, KC_C, KC_X, KC_Z, KC_RSFT,
- KC_TRNS, KC_LALT, KC_LGUI, KC_TRNS, KC_SPC, KC_DEL, KC_RGUI, KC_TRNS
-),
-/* RAISE
- * ,-----------------------------------------. ,-----------------------------------------.
- * | F1 | F2 | F3 | F4 | F5 | F6 | | F7 | F8 | F9 | F10 | F11 | F12 |
- * |------+------+------+------+------+------| |------+------+------+------+------+------|
- * | TAB | TAB | XXXX | ( | ) | TAB | | MUTE | VOLU | Up |_MOUSE|ENTER | CAPS |
- * |------+------+------+------+------+------| |------+------+------+------+------+------|
- * |LShift|LShift| DEL | [ | ] | `~ |-------. ,-------| VOLD | Left | Down |Right |RShift|_MOUSE|
- * |------+------+------+------+------+------| BRID | | BRIU |------+------+------+------+------+------|
- * |LCTRL |LCTRL | MRWD | MPLY | MFFD | MSTP |-------| |-------| End |Pg Dwn|Pg Up | Home |RShift|RShift|
- * `-----------------------------------------/ / \ \-----------------------------------------'
- * |MS_BT2| LAlt | LGUI | /BackSP / \Trans \ |Trans |Trans | XXXX |
- * | | | |/ / \ \ | | | |
- * `----------------------------' '------''--------------------'
- */
-
-[_RAISE] = LAYOUT(
- KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12,
- KC_TAB, KC_TAB, KC_NO, KC_LPRN, KC_RPRN, KC_TAB, KC_MUTE, KC_VOLU, KC_UP, MO(_MOUSE), KC_ENT, KC_CAPS,
- KC_LSFT, KC_LSFT, KC_DEL, KC_LBRC, KC_RBRC, KC_GRV, KC_VOLD, KC_LEFT, KC_DOWN, KC_RGHT, KC_RSFT, MO(_MOUSE),
- KC_LCTL, KC_LCTL, KC_MRWD, KC_MPLY, KC_MFFD, KC_MSTP, KC_BRID, KC_BRIU, KC_END, KC_PGDN, KC_PGUP, KC_HOME, KC_RSFT, KC_RSFT,
- KC_NO, KC_LALT, KC_LGUI, KC_BSPC, KC_TRNS, KC_TRNS, KC_TRNS, KC_NO
-),
-/* MOUSE
- * ,-----------------------------------------. ,-----------------------------------------.
- * | XXXX | XXXX | XXXX | XXXX | XXXX | XXXX | | XXXX | XXXX | XXXX | XXXX | XXXX | XXXX |
- * |------+------+------+------+------+------| |------+------+------+------+------+------|
- * | XXXX | XXXX |MS_W_D| MS_U |MS_W_U| XXXX | | XXXX | XXXX |LShift|Trans | LGUI | XXXX |
- * |------+------+------+------+------+------| |------+------+------+------+------+------|
- * | XXXX |MS_BT2| MS_L | MS_D | MS_R | XXXX |-------. ,-------| XXXX | XXXX | XXXX | XXXX | XXXX |Trans |
- * |------+------+------+------+------+------| XXXX | | XXXX |------+------+------+------+------+------|
- * | XXXX | XXXX |MS_W_R|MS_BT3|MS_W_L| XXXX |-------| |-------| XXXX | XXXX | XXXX | XXXX | XXXX | XXXX |
- * `-----------------------------------------/ / \ \-----------------------------------------'
- * | XXXX | XXXX | XXXX | / MS_BT1/ \ XXXX \ |Trans | XXXX | XXXX |
- * | | | |/ / \ \ | | | |
- * `----------------------------' '------''--------------------'
- */
-
-[_MOUSE] = LAYOUT(
- KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO,
- KC_NO, KC_NO, KC_WH_D, KC_MS_U, KC_WH_U, KC_NO, KC_NO, KC_NO, KC_LSFT, KC_TRNS, KC_LGUI, KC_NO,
- KC_NO, KC_BTN2, KC_MS_L, KC_MS_D, KC_MS_R, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_TRNS,
- KC_NO, KC_NO, KC_WH_R, KC_BTN3, KC_WH_L, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO,
- KC_NO, KC_NO, KC_NO, KC_BTN1, KC_NO, KC_TRNS, KC_NO, KC_NO
-)
-};
-
-//SSD1306 OLED update loop, make sure to enable OLED_ENABLE=yes in rules.mk
-#ifdef OLED_ENABLE
-
-oled_rotation_t oled_init_user(oled_rotation_t rotation) {
- if (!is_keyboard_master())
- return OLED_ROTATION_180; // flips the display 180 degrees if offhand
- return rotation;
-}
-
-// When you add source files to SRC in rules.mk, you can use functions.
-const char *read_layer_state(void);
-const char *read_logo(void);
-void set_keylog(uint16_t keycode, keyrecord_t *record);
-//const char *read_keylog(void);
-//const char *read_keylogs(void);
-
-// const char *read_mode_icon(bool swap);
-// const char *read_host_led_state(void);
-// void set_timelog(void);
-// const char *read_timelog(void);
-
-static void render_logo(void) {
- static const char PROGMEM my_logo[] = {
- // Paste the code from the previous step below this line!
- // 'DataDavD Logo', 128x32px
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 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, 0xf9, 0xf9, 0xf9, 0xf9, 0xf9, 0x19, 0xf9, 0xf9, 0xf9, 0xe1, 0xe7, 0x07, 0xff, 0xff,
- 0xff, 0x01, 0x99, 0x99, 0x99, 0x99, 0x99, 0x99, 0xf9, 0xf9, 0xf9, 0xf9, 0xf9, 0x01, 0xff, 0xff,
- 0xff, 0x01, 0xf9, 0xf9, 0xf9, 0xf9, 0xf9, 0x61, 0x61, 0x67, 0x67, 0x67, 0x67, 0x07, 0x07, 0xff,
- 0xff, 0x01, 0x01, 0x99, 0x99, 0x99, 0x99, 0x99, 0x99, 0xf9, 0xf9, 0xf9, 0xf9, 0x01, 0x01, 0xff,
- 0xff, 0x01, 0x01, 0xf9, 0xf9, 0xf9, 0xf9, 0xf9, 0x19, 0xf9, 0xf9, 0xf9, 0xe1, 0xe7, 0x07, 0xff,
- 0xff, 0xff, 0x01, 0x99, 0x99, 0x99, 0x99, 0x99, 0x99, 0xf9, 0xf9, 0xf9, 0xf9, 0xf9, 0x01, 0xff,
- 0xff, 0xff, 0x01, 0xf9, 0xf9, 0xf9, 0xf9, 0xf9, 0x01, 0x01, 0xf9, 0xf9, 0xf9, 0xf9, 0x01, 0x01,
- 0xff, 0xff, 0x01, 0x01, 0xf9, 0xf9, 0xf9, 0xf9, 0x19, 0x19, 0xf9, 0xf9, 0xe1, 0xe1, 0x07, 0x07,
- 0x80, 0x80, 0x9f, 0x9f, 0x9f, 0x9f, 0x9f, 0x98, 0x9f, 0x9f, 0x9f, 0x87, 0xe7, 0xe0, 0xff, 0xff,
- 0xff, 0x80, 0x9f, 0x9f, 0x9f, 0x9f, 0x9f, 0x99, 0x9f, 0x9f, 0x9f, 0x9f, 0x9f, 0x80, 0xff, 0xff,
- 0xff, 0x80, 0x9f, 0x9f, 0x9f, 0x9f, 0x9f, 0x98, 0x98, 0x9e, 0x9e, 0x9e, 0x9e, 0x80, 0x80, 0xff,
- 0xff, 0x80, 0x80, 0x9f, 0x9f, 0x9f, 0x9f, 0x99, 0x99, 0x9f, 0x9f, 0x9f, 0x9f, 0x80, 0x80, 0xff,
- 0xff, 0x80, 0x80, 0x9f, 0x9f, 0x9f, 0x9f, 0x9f, 0x98, 0x9f, 0x9f, 0x9f, 0x87, 0xe7, 0xe0, 0xff,
- 0xff, 0xff, 0x80, 0x9f, 0x9f, 0x9f, 0x9f, 0x9f, 0x99, 0x9f, 0x9f, 0x9f, 0x9f, 0x9f, 0x80, 0xff,
- 0xff, 0xff, 0xe0, 0xe7, 0x87, 0x9f, 0x9f, 0x9f, 0x98, 0x98, 0x9f, 0x9f, 0x87, 0x87, 0xe0, 0xe0,
- 0xff, 0xff, 0x80, 0x80, 0x9f, 0x9f, 0x9f, 0x9f, 0x98, 0x98, 0x9f, 0x9f, 0x87, 0x87, 0xe0, 0xe0,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff
-
- };
-
- oled_write_raw_P(my_logo, sizeof(my_logo));
-}
-
-static void render_lfc_logo(void) {
- static const char PROGMEM my_lfc_logo[] = {
- // Paste the code from the previous step below this line!
- // 'YNWA', 128x32px
- 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, 0x7f, 0x7f, 0x7f, 0xff, 0xff, 0xff,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x7f, 0x7f, 0x7f, 0xff, 0xff, 0x7f, 0x7f, 0x7f, 0xff, 0xff,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x7f, 0x7f, 0x7f, 0xff, 0xff, 0xff, 0xff,
- 0x7f, 0x7f, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
- 0xff, 0xff, 0xff, 0xff, 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, 0x00, 0x00,
- 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 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, 0xff, 0xfe, 0xf8, 0xf0, 0xc3, 0x87,
- 0x1f, 0x3f, 0x1f, 0x8f, 0xc3, 0xf0, 0xf8, 0xfe, 0xff, 0xff, 0xff, 0xff, 0x00, 0x00, 0xf0, 0xe1,
- 0xc3, 0x87, 0x1f, 0x3f, 0x7f, 0xff, 0xff, 0xff, 0xff, 0xfe, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff,
- 0xfc, 0xf0, 0x00, 0x0f, 0x7f, 0xff, 0xff, 0xff, 0xff, 0x1f, 0x03, 0x81, 0x03, 0x1f, 0xff, 0xff,
- 0xff, 0xff, 0x1f, 0x00, 0xe0, 0xfc, 0xff, 0xff, 0xff, 0xff, 0x7f, 0x1f, 0x87, 0xe1, 0xf0, 0xc0,
- 0x07, 0x1f, 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, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
- 0x00, 0x00, 0xfe, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x00, 0x00, 0xff, 0xff,
- 0xff, 0xff, 0xff, 0xfc, 0xf8, 0xf1, 0xc3, 0x87, 0x1f, 0x1f, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff,
- 0xff, 0xff, 0xff, 0xf8, 0x80, 0x03, 0x1f, 0x07, 0xc0, 0xf8, 0xff, 0xff, 0xfe, 0xf0, 0x81, 0x0f,
- 0x07, 0x80, 0xf0, 0xff, 0xff, 0xff, 0x7f, 0x1f, 0x87, 0xe1, 0xf8, 0xf8, 0xf9, 0xf9, 0xf9, 0xf9,
- 0xf9, 0xf8, 0xe0, 0x03, 0x0f, 0x7f, 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, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
- 0xfc, 0xfc, 0xfc, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xfc, 0xfc, 0xff, 0xff,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xfc, 0xfc, 0xfc, 0xff, 0xff, 0xff, 0xff,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xfc, 0xfc, 0xfe, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xfc,
- 0xfc, 0xff, 0xff, 0xff, 0xff, 0xfc, 0xfc, 0xfc, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
- 0xff, 0xff, 0xff, 0xfe, 0xfc, 0xfc, 0xfc, 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
-
- };
-
- oled_write_raw_P(my_lfc_logo, sizeof(my_lfc_logo));
-}
-
-bool oled_task_user(void) {
- if (is_keyboard_master()) {
- render_logo();
- } else {
- render_lfc_logo();
- }
- return false;
-}
-#endif // OLED_ENABLE
-
-bool process_record_user(uint16_t keycode, keyrecord_t *record) {
- if (record->event.pressed) {
-#ifdef OLED_ENABLE
-#endif
- }
- return true;
-}
-
-#include <stdio.h>
-#include "lily58.h"
-
-#define L_BASE 0
-#define L_SUPER (1 << 1)
-#define L_RAISE (1 << 2)
-
-char layer_state_str[24];
-
-const char *read_layer_state(void) {
- switch (layer_state)
- {
- case L_BASE:
- snprintf(layer_state_str, sizeof(layer_state_str), "Layer: Default");
- break;
- case L_RAISE:
- snprintf(layer_state_str, sizeof(layer_state_str), "Layer: Raise");
- break;
- case L_SUPER:
- snprintf(layer_state_str, sizeof(layer_state_str), "Layer: Super");
- break;
- default:
- snprintf(layer_state_str, sizeof(layer_state_str), "Layer: Undef-%ld", layer_state);
- }
-
- return layer_state_str;
-}
diff --git a/keyboards/lily58/keymaps/datadavd/rules.mk b/keyboards/lily58/keymaps/datadavd/rules.mk
deleted file mode 100644
index b53fed1a72..0000000000
--- a/keyboards/lily58/keymaps/datadavd/rules.mk
+++ /dev/null
@@ -1,6 +0,0 @@
-MOUSEKEY_ENABLE = yes
-EXTRAKEY_ENABLE = yes
-
-# If you want to change the display of OLED, you need to change here
-SRC += ./lib/rgb_state_reader.c \
- ./lib/logo_reader.c
diff --git a/keyboards/lily58/keymaps/domnantas/config.h b/keyboards/lily58/keymaps/domnantas/config.h
deleted file mode 100644
index 830139cc03..0000000000
--- a/keyboards/lily58/keymaps/domnantas/config.h
+++ /dev/null
@@ -1,32 +0,0 @@
-/*
-This is the c configuration file for the keymap
-
-Copyright 2012 Jun Wako <wakojun@gmail.com>
-Copyright 2015 Jack Humbert
-
-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
-
-//#define USE_MATRIX_I2C
-
-/* Select hand configuration */
-
-// #define MASTER_LEFT
-// #define MASTER_RIGHT
-#define EE_HANDS
-
-#define QUICK_TAP_TERM 0
-#define TAPPING_TERM 100
diff --git a/keyboards/lily58/keymaps/domnantas/keymap.c b/keyboards/lily58/keymaps/domnantas/keymap.c
deleted file mode 100644
index 56812e6901..0000000000
--- a/keyboards/lily58/keymaps/domnantas/keymap.c
+++ /dev/null
@@ -1,285 +0,0 @@
- /* Copyright 2020 Domantas Petrauskas
- *
- * 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 <stdio.h>
-
-#define LT_1 RALT(KC_1)
-#define LT_2 RALT(KC_2)
-#define LT_3 RALT(KC_3)
-#define LT_4 RALT(KC_4)
-#define LT_5 RALT(KC_5)
-#define LT_6 RALT(KC_6)
-#define LT_7 RALT(KC_7)
-#define LT_8 RALT(KC_8)
-#define LT_9 RALT(KC_9)
-#define LT_0 RALT(KC_0)
-
-// Naming according to Unicode specifications
-#define LT_A_OG KC_1
-#define LT_C_CA KC_2
-#define LT_E_OG KC_3
-#define LT_E_DO KC_4
-#define LT_I_OG KC_5
-#define LT_S_CA KC_6
-#define LT_U_OG KC_7
-#define LT_U_MA KC_8
-#define LT_Z_CA KC_EQL
-
-#define LT_EQL RALT(KC_EQL)
-
-// OLED setup
-#define IDLE_FRAMES 5
-#define IDLE_SPEED 30
-#define TAP_FRAMES 2
-#define TAP_SPEED 40
-#define ANIM_FRAME_DURATION 200
-#define ANIM_SIZE 512
-
-char wpm_str[10];
-uint32_t anim_timer = 0;
-uint32_t anim_sleep = 0;
-uint8_t current_idle_frame = 0;
-uint8_t current_tap_frame = 0;
-
-static long int oled_timeout = OLED_TIMEOUT; // 10 minutes
-
-enum layer_number {
- _QWERTY = 0,
- _LOWER,
- _RAISE,
- _ADJUST,
-};
-
-const bool *is_keyboard_left(void);
-
-const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
-
- /* QWERTY
- * ,-----------------------------------------. ,-----------------------------------------.
- * | ESC | Ą | Č | Ę | Ė | Į | | Š | Ų | Ū | ( | ) | Ž |
- * |------+------+------+------+------+------| |------+------+------+------+------+------|
- * | Tab | Q | W | E | R | T | | Y | U | I | O | P | - |
- * |------+------+------+------+------+------| |------+------+------+------+------+------|
- * |LShift| A | S | D | F | G |-------. ,-------| H | J | K | L | ; | ' |
- * |------+------+------+------+------+------| [ | | ] |------+------+------+------+------+------|
- * |LCTRL | Z | X | C | V | B |-------| |-------| N | M | , | . | / | RAlt |
- * `-----------------------------------------/ / \ \-----------------------------------------'
- * | LGUI | LAlt |LOWER | / Space / \Enter \ | Bksp |RAISE | Del |
- * | | | |/ / \ \ | | | |
- * `----------------------------' '------''--------------------'
- */
- [_QWERTY] = LAYOUT(
- KC_ESC, LT_A_OG, LT_C_CA, LT_E_OG, LT_E_DO, LT_I_OG, LT_S_CA, LT_U_OG, LT_U_MA, KC_9, KC_0, LT_Z_CA,
- KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_MINS,
- KC_LSFT, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT,
- KC_LCTL, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_LBRC, KC_RBRC, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RALT,
- KC_LGUI, KC_LALT, MO(_LOWER), KC_SPC, KC_ENT, KC_BSPC, MO(_RAISE), KC_DEL
- ),
-
- /* LOWER
- * ,-----------------------------------------. ,-----------------------------------------.
- * | ESC | 1 | 2 | 3 | 4 | 5 | | 6 | 7 | 8 | 9 | 0 | ` |
- * |------+------+------+------+------+------| |------+------+------+------+------+------|
- * | Tab | 4 | 5 | 6 | | | | | | | | | |
- * |------+------+------+------+------+------| |------+------+------+------+------+------|
- * |LShift| 7 | 8 | 9 | 0 | |-------. ,-------| | | | | | |
- * |------+------+------+------+------+------| [ | | ] |------+------+------+------+------+------|
- * |LCTRL | = | + | - | | | |-------| |-------| | | | | \ | |
- * `-----------------------------------------/ / \ \-----------------------------------------'
- * | LGUI | LAlt |LOWER | / Space / \ Enter\ | Bksp |RAISE | Del |
- * | | ||||||||/ / \ \ | | | |
- * `----------------------------' '------''--------------------'
- */
- [_LOWER] = LAYOUT(
- _______, LT_1, LT_2, LT_3, LT_4, LT_5, LT_6, LT_7, LT_8, LT_9, LT_0, KC_GRV,
- _______, LT_4, LT_5, LT_6, _______, _______, _______, _______, _______, _______, _______, _______,
- _______, LT_7, LT_8, LT_9, LT_0, _______, _______, _______, _______, _______, _______, _______,
- _______, LT_EQL, KC_PPLS, KC_PMNS, KC_PIPE, _______, _______, _______, _______, _______, _______, _______, KC_BSLS, _______,
- _______, _______, _______, _______, _______, _______, _______, _______
- ),
-
- /* RAISE
- * ,-----------------------------------------. ,-----------------------------------------.
- * | ESC | F1 | F2 | F3 | F4 | F5 | | F6 | F7 | F8 | F9 | F10 |PrScr |
- * |------+------+------+------+------+------| |------+------+------+------+------+------|
- * | Tab | F11 | F12 | | | | | | PgUp | Home | Up | End | Vol+ |
- * |------+------+------+------+------+------| |------+------+------+------+------+------|
- * |LShift| | | | | |-------. ,-------| | PgDn | Left | Down |Right | Vol- |
- * |------+------+------+------+------+------| [ | | ] |------+------+------+------+------+------|
- * |LCTRL | Undo | Cut | Copy |Paste | |-------| |-------| | |MPrev |MNext |MPlPa | |
- * `-----------------------------------------/ / \ \-----------------------------------------'
- * | LGUI | LAlt |LOWER | / Space / \ Enter\ | Bksp |RAISE | Del |
- * | | | |/ / \ \ | |||||||| |
- * `----------------------------' '------''--------------------'
- */
- [_RAISE] = LAYOUT(
- _______, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_PSCR,
- _______, KC_F11, KC_F12, _______, _______, _______, _______, KC_PGUP, KC_HOME, KC_UP, KC_END, KC_VOLU,
- _______, _______, _______, _______, _______, _______, _______, KC_PGDN, KC_LEFT, KC_DOWN, KC_RGHT, KC_VOLD,
- _______, C(KC_Z), C(KC_X), C(KC_C), C(KC_V), _______, _______, _______, _______, _______, KC_MPRV, KC_MNXT, KC_MPLY, _______,
- _______, _______, _______, _______, _______, _______, _______, _______
- ),
-
- /* ADJUST
- * ,-----------------------------------------. ,-----------------------------------------.
- * | | | | | | | | | | | | | |
- * |------+------+------+------+------+------| |------+------+------+------+------+------|
- * | | | | | | | | | | | | | |
- * |------+------+------+------+------+------| |------+------+------+------+------+------|
- * | CAPS | | | | | |-------. ,-------| | | | | | |
- * |------+------+------+------+------+------| | | |------+------+------+------+------+------|
- * | | | | | | |-------| |-------| | | | | | |
- * `-----------------------------------------/ / \ \-----------------------------------------'
- * | LGUI | LAlt |LOWER | /Space / \Enter \ | Bksp |RAISE | Del |
- * | | ||||||||/ / \ \ | |||||||| |
- * `----------------------------' '------''--------------------'
- */
- [_ADJUST] = LAYOUT(
- XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX,
- XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX,
- KC_CAPS, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX,
- XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX,
- _______, _______, _______, _______, _______, _______, _______, _______
- )
-};
-
-oled_rotation_t oled_init_user(oled_rotation_t rotation) {
- if (is_keyboard_left()) return OLED_ROTATION_270;
- return OLED_ROTATION_180;
-}
-
-layer_state_t layer_state_set_user(layer_state_t state) {
- return update_tri_layer_state(state, _LOWER, _RAISE, _ADJUST);
-}
-
-static void render_bongo_cat(void) {
-
- // Idle animation
- static const char PROGMEM idle[IDLE_FRAMES][ANIM_SIZE] = {
-
- {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 128, 64, 64, 32, 32, 32, 32, 16, 16, 16, 16, 16, 8, 8, 4, 4, 4, 8, 48, 64, 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, 128, 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, 24, 100, 130, 2, 2, 2, 2, 2, 1, 0, 0, 0, 0, 128, 128, 0, 0, 0, 0, 0, 0, 0, 0, 0, 128, 0, 48, 48, 0, 192, 193, 193, 194, 4, 8, 16, 32, 64, 128, 0, 0, 0, 128, 128, 128, 128, 64, 64, 64, 64, 32, 32, 32, 32, 16, 16, 16, 16, 8, 8, 8, 8, 8, 4, 4, 4, 4, 4, 2, 2, 2, 2, 1, 1, 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, 192, 56, 4, 3, 0, 0, 0, 0, 0, 0, 0, 12, 12, 12, 13, 1, 0, 64, 160, 33, 34, 18, 17, 17, 17, 9, 8, 8, 8, 8, 4, 4, 8, 8, 16, 16, 16, 16, 16, 17, 15, 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, 128, 128, 128, 128, 128, 64, 64, 64, 64, 64, 32, 32, 32, 32, 32, 16, 16, 16, 16, 16, 8, 8, 8, 8, 8, 4, 4, 4, 4, 4, 2, 3, 2, 2, 1, 1, 1, 1, 1, 1, 2, 2, 4, 4, 8, 8, 8, 8, 8, 7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
-
- {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 128, 64, 64, 32, 32, 32, 32, 16, 16, 16, 16, 16, 8, 8, 4, 4, 4, 8, 48, 64, 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, 128, 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, 24, 100, 130, 2, 2, 2, 2, 2, 1, 0, 0, 0, 0, 128, 128, 0, 0, 0, 0, 0, 0, 0, 0, 0, 128, 0, 48, 48, 0, 192, 193, 193, 194, 4, 8, 16, 32, 64, 128, 0, 0, 0, 128, 128, 128, 128, 64, 64, 64, 64, 32, 32, 32, 32, 16, 16, 16, 16, 8, 8, 8, 8, 8, 4, 4, 4, 4, 4, 2, 2, 2, 2, 1, 1, 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, 192, 56, 4, 3, 0, 0, 0, 0, 0, 0, 0, 12, 12, 12, 13, 1, 0, 64, 160, 33, 34, 18, 17, 17, 17, 9, 8, 8, 8, 8, 4, 4, 8, 8, 16, 16, 16, 16, 16, 17, 15, 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, 128, 128, 128, 128, 128, 64, 64, 64, 64, 64, 32, 32, 32, 32, 32, 16, 16, 16, 16, 16, 8, 8, 8, 8, 8, 4, 4, 4, 4, 4, 2, 3, 2, 2, 1, 1, 1, 1, 1, 1, 2, 2, 4, 4, 8, 8, 8, 8, 8, 7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
-
- {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 128, 128, 64, 64, 64, 64, 32, 32, 32, 32, 16, 8, 4, 2, 2, 4, 24, 96, 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, 128, 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, 60, 194, 1, 1, 2, 2, 4, 4, 2, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 96, 96, 0, 129, 130, 130, 132, 8, 16, 32, 64, 128, 0, 0, 0, 0, 128, 128, 128, 128, 64, 64, 64, 64, 32, 32, 32, 32, 16, 16, 16, 16, 8, 8, 8, 8, 8, 4, 4, 4, 4, 4, 2, 2, 2, 2, 1, 1, 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, 128, 112, 25, 6, 0, 0, 0, 0, 0, 0, 0, 24, 24, 24, 27, 3, 0, 64, 160, 34, 36, 20, 18, 18, 18, 11, 8, 8, 8, 8, 5, 5, 9, 9, 16, 16, 16, 16, 16, 17, 15, 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, 128, 128, 128, 128, 128, 64, 64, 64, 64, 64, 32, 32, 32, 32, 32, 16, 16, 16, 16, 16, 8, 8, 8, 8, 8, 4, 4, 4, 4, 4, 2, 3, 2, 2, 1, 1, 1, 1, 1, 1, 2, 2, 4, 4, 8, 8, 8, 8, 8, 7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
-
- {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 128, 128, 0, 0, 0, 0, 0, 128, 64, 64, 32, 32, 32, 32, 16, 16, 16, 16, 8, 4, 2, 1, 1, 2, 12, 48, 64, 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, 128, 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, 30, 225, 0, 0, 1, 1, 2, 2, 1, 0, 0, 0, 0, 128, 128, 0, 0, 0, 0, 0, 0, 0, 0, 0, 128, 0, 48, 48, 0, 192, 193, 193, 194, 4, 8, 16, 32, 64, 128, 0, 0, 0, 128, 128, 128, 128, 64, 64, 64, 64, 32, 32, 32, 32, 16, 16, 16, 16, 8, 8, 8, 8, 8, 4, 4, 4, 4, 4, 2, 2, 2, 2, 1, 1, 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, 128, 112, 12, 3, 0, 0, 0, 0, 0, 0, 0, 12, 12, 12, 13, 1, 0, 64, 160, 33, 34, 18, 17, 17, 17, 9, 8, 8, 8, 8, 4, 4, 8, 8, 16, 16, 16, 16, 16, 17, 15, 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, 128, 128, 128, 128, 128, 64, 64, 64, 64, 64, 32, 32, 32, 32, 32, 16, 16, 16, 16, 16, 8, 8, 8, 8, 8, 4, 4, 4, 4, 4, 2, 3, 2, 2, 1, 1, 1, 1, 1, 1, 2, 2, 4, 4, 8, 8, 8, 8, 8, 7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
-
- {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 128, 64, 64, 32, 32, 32, 32, 16, 16, 16, 16, 8, 8, 4, 2, 2, 2, 4, 56, 64, 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, 128, 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, 28, 226, 1, 1, 2, 2, 2, 2, 1, 0, 0, 0, 0, 128, 128, 0, 0, 0, 0, 0, 0, 0, 0, 0, 128, 0, 48, 48, 0, 192, 193, 193, 194, 4, 8, 16, 32, 64, 128, 0, 0, 0, 128, 128, 128, 128, 64, 64, 64, 64, 32, 32, 32, 32, 16, 16, 16, 16, 8, 8, 8, 8, 8, 4, 4, 4, 4, 4, 2, 2, 2, 2, 1, 1, 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, 128, 112, 12, 3, 0, 0, 0, 0, 0, 0, 0, 12, 12, 12, 13, 1, 0, 64, 160, 33, 34, 18, 17, 17, 17, 9, 8, 8, 8, 8, 4, 4, 8, 8, 16, 16, 16, 16, 16, 17, 15, 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, 128, 128, 128, 128, 128, 64, 64, 64, 64, 64, 32, 32, 32, 32, 32, 16, 16, 16, 16, 16, 8, 8, 8, 8, 8, 4, 4, 4, 4, 4, 2, 3, 2, 2, 1, 1, 1, 1, 1, 1, 2, 2, 4, 4, 8, 8, 8, 8, 8, 7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}
-
- };
-
- // Prep animation
- static const char PROGMEM prep[][ANIM_SIZE] = {
-
- {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 128, 128, 0, 0, 0, 0, 0, 128, 64, 64, 32, 32, 32, 32, 16, 16, 16, 16, 8, 4, 2, 1, 1, 2, 12, 48, 64, 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, 128, 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, 30, 225, 0, 0, 1, 1, 2, 2, 129, 128, 128, 0, 0, 128, 128, 0, 0, 0, 0, 0, 0, 0, 0, 0, 128, 0, 48, 48, 0, 0, 1, 225, 26, 6, 9, 49, 53, 1, 138, 124, 0, 0, 128, 128, 128, 128, 64, 64, 64, 64, 32, 32, 32, 32, 16, 16, 16, 16, 8, 8, 8, 8, 8, 4, 4, 4, 4, 4, 2, 2, 2, 2, 1, 1, 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, 128, 112, 12, 3, 0, 0, 24, 6, 5, 152, 153, 132, 195, 124, 65, 65, 64, 64, 32, 33, 34, 18, 17, 17, 17, 9, 8, 8, 8, 8, 4, 4, 4, 4, 4, 4, 2, 2, 2, 1, 1, 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, 128, 128, 128, 128, 128, 64, 64, 64, 64, 64, 32, 32, 32, 32, 32, 16, 16, 16, 16, 16, 8, 8, 8, 8, 8, 4, 4, 4, 4, 4, 2, 3, 2, 2, 1, 1, 1, 1, 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}
-
- };
-
- // Typing animation
- static const char PROGMEM tap[TAP_FRAMES][ANIM_SIZE] = {
-
- {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 128, 128, 0, 0, 0, 0, 0, 128, 64, 64, 32, 32, 32, 32, 16, 16, 16, 16, 8, 4, 2, 1, 1, 2, 12, 48, 64, 128, 0, 0, 0, 0, 0, 0, 0, 248, 248, 248, 248, 0, 0, 0, 0, 0, 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, 128, 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, 30, 225, 0, 0, 1, 1, 2, 2, 129, 128, 128, 0, 0, 128, 128, 0, 0, 0, 0, 0, 0, 0, 0, 0, 128, 0, 48, 48, 0, 0, 1, 1, 2, 4, 8, 16, 32, 67, 135, 7, 1, 0, 184, 188, 190, 159, 95, 95, 79, 76, 32, 32, 32, 32, 16, 16, 16, 16, 8, 8, 8, 8, 8, 4, 4, 4, 4, 4, 2, 2, 2, 2, 1, 1, 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, 128, 112, 12, 3, 0, 0, 24, 6, 5, 152, 153, 132, 67, 124, 65, 65, 64, 64, 32, 33, 34, 18, 17, 17, 17, 9, 8, 8, 8, 8, 4, 4, 8, 8, 16, 16, 16, 16, 16, 17, 15, 1, 61, 124, 252, 252, 252, 252, 252, 60, 12, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 128, 128, 128, 128, 128, 64, 64, 64, 64, 64, 32, 32, 32, 32, 32, 16, 16, 16, 16, 16, 8, 8, 8, 8, 8, 4, 4, 4, 4, 4, 2, 3, 2, 2, 1, 1, 1, 1, 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, 1, 3, 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, 0, 0, 0, 0, 0, 128, 128, 0, 0, 0, 0, 0, 128, 64, 64, 32, 32, 32, 32, 16, 16, 16, 16, 8, 4, 2, 1, 1, 2, 12, 48, 64, 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, 128, 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, 30, 225, 0, 0, 1, 1, 2, 2, 1, 0, 0, 0, 0, 128, 128, 0, 0, 0, 0, 0, 0, 0, 0, 0, 128, 0, 48, 48, 0, 0, 1, 225, 26, 6, 9, 49, 53, 1, 138, 124, 0, 0, 128, 128, 128, 128, 64, 64, 64, 64, 32, 32, 32, 32, 16, 16, 16, 16, 8, 8, 8, 8, 8, 4, 4, 4, 4, 4, 2, 2, 2, 2, 1, 1, 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, 128, 112, 12, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 64, 160, 33, 34, 18, 17, 17, 17, 9, 8, 8, 8, 8, 4, 4, 4, 4, 4, 4, 2, 2, 2, 1, 1, 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, 128, 128, 128, 128, 128, 64, 64, 64, 64, 64, 32, 32, 32, 32, 32, 16, 16, 16, 16, 16, 8, 8, 8, 8, 8, 4, 4, 4, 4, 4, 2, 3, 122, 122, 121, 121, 121, 121, 57, 49, 2, 2, 4, 4, 8, 8, 8, 136, 136, 135, 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}
-
- };
-
- void animation_phase(void) {
- if (get_current_wpm() <= IDLE_SPEED) {
- current_idle_frame = (current_idle_frame + 1) % IDLE_FRAMES;
- oled_write_raw_P(idle[abs((IDLE_FRAMES - 1) - current_idle_frame)], ANIM_SIZE);
- }
-
- if (get_current_wpm() > IDLE_SPEED && get_current_wpm() < TAP_SPEED) {
- oled_write_raw_P(prep[0], ANIM_SIZE);
- }
-
- if (get_current_wpm() >= TAP_SPEED) {
- current_tap_frame = (current_tap_frame + 1) % TAP_FRAMES;
- oled_write_raw_P(tap[abs((TAP_FRAMES - 1) - current_tap_frame)], ANIM_SIZE);
- }
- }
-
- if (get_current_wpm() != 000) {
- oled_on();
-
- if (timer_elapsed32(anim_timer) > ANIM_FRAME_DURATION) {
- anim_timer = timer_read32();
- animation_phase();
- }
-
- anim_sleep = timer_read32();
- } else {
- if (timer_elapsed32(anim_sleep) > oled_timeout) {
- oled_off();
- } else {
- if (timer_elapsed32(anim_timer) > ANIM_FRAME_DURATION) {
- anim_timer = timer_read32();
- animation_phase();
- }
- }
- }
-}
-
-static void render_status(void) {
- // WPM
- oled_write_ln_P(PSTR("wpm"), false);
- sprintf(wpm_str, "%03d", get_current_wpm());
- oled_write_ln(wpm_str, false);
- oled_write_ln_P(PSTR(""), false);
-
- // Layer display
- switch (get_highest_layer(layer_state)) {
- case _QWERTY:
- oled_write_ln_P(PSTR("deflt"), false);
- break;
- case _RAISE:
- oled_write_ln_P(PSTR("raise"), false);
- break;
- case _LOWER:
- oled_write_ln_P(PSTR("lower"), false);
- break;
- case _ADJUST:
- oled_write_ln_P(PSTR("adjst"), false);
- break;
- default:
- oled_write_ln_P(PSTR("error"), false);
- }
-
- led_t led_state = host_keyboard_led_state();
- oled_write_ln_P(PSTR(""), false);
- oled_write_ln_P(PSTR(""), false);
- oled_write_ln_P(PSTR("caps"), led_state.caps_lock);
-}
-
-bool oled_task_user(void) {
- if (is_keyboard_left()) {
- render_status();
- } else {
- render_bongo_cat();
- }
- return false;
-}
diff --git a/keyboards/lily58/keymaps/domnantas/readme.md b/keyboards/lily58/keymaps/domnantas/readme.md
deleted file mode 100644
index 262f7ffad6..0000000000
--- a/keyboards/lily58/keymaps/domnantas/readme.md
+++ /dev/null
@@ -1,21 +0,0 @@
-# Domnantas layout for Lily58 Pro
-
-## Features
-
-- Optimised for lithuanian layout, but works on English too
-- Backspace, Enter and Space are under thumbs, very little hand movement
-- LShift swapped with LCtrl
-- Numpad on Lower layer for left hand
-- Navigation, media keys on Raise layer for right hand
-- Status on the left OLED
-- BONGOCAT on the right
-
-## Instructions
-Since status is always on the left and Bongocat on the right, the keymap has to be flashed with different commands:
-
-```bash
-# Right hand
-qmk flash -kb lily58/rev1 -km domnantas -bl avrdude-split-left
-# Left hand
-qmk flash -kb lily58/rev1 -km domnantas -bl avrdude-split-right
-``` \ No newline at end of file
diff --git a/keyboards/lily58/keymaps/domnantas/rules.mk b/keyboards/lily58/keymaps/domnantas/rules.mk
deleted file mode 100644
index 2942e18ed3..0000000000
--- a/keyboards/lily58/keymaps/domnantas/rules.mk
+++ /dev/null
@@ -1,2 +0,0 @@
-EXTRAKEY_ENABLE = yes
-WPM_ENABLE = yes
diff --git a/keyboards/lily58/keymaps/druotoni/boot.c b/keyboards/lily58/keymaps/druotoni/boot.c
deleted file mode 100644
index ba46f8e361..0000000000
--- a/keyboards/lily58/keymaps/druotoni/boot.c
+++ /dev/null
@@ -1,309 +0,0 @@
-// Copyright 2021 Nicolas Druoton (druotoni)
-// SPDX-License-Identifier: GPL-2.0-or-later
-
-#include QMK_KEYBOARD_H
-
-#include "boot.h"
-#include "fast_random.h"
-#include "draw_helper.h"
-#include "gui_state.h"
-
-// boot
-#define ANIM_BOOT_FRAME_DURATION 8
-uint16_t anim_boot_timer = 0;
-uint8_t anim_boot_current_frame = 0;
-
-#define NAVI_DURATION 55
-
-// terminal stuff
-#define TERMINAL_DURATION 25
-#define TERMINAL_LINE_NUMBER 19
-#define TERMINAL_LINE_MAX 14
-
-#define LILY_DURATION 50
-
-// halt
-#define ANIM_HALT_FRAME_DURATION 55
-uint16_t anim_halt_timer = 0;
-
-void reset_boot(void) {
- // frame zero
- anim_boot_current_frame = 0;
-}
-
-static void draw_lily_key(uint8_t x, uint8_t y, uint8_t *key_number, unsigned long key_state, uint8_t color) {
- uint8_t v = *key_number;
- unsigned long mask = 1;
- mask = mask << v;
-
- // ligth the key according to the mask
- if (((key_state & mask) == mask)) {
- color = !color;
- }
-
- draw_rectangle_fill(x, y, 3, 3, color);
- *key_number = v + 1;
-}
-
-static void draw_lily_key_row(uint8_t x, uint8_t y, int w, uint8_t *key_number, unsigned long key_state, uint8_t color) {
- // row of rectangle
- for (uint8_t i = 0; i < w; i++) {
- draw_lily_key(x + (i * 4), y, key_number, key_state, color);
- }
-}
-
-static void draw_lily_render(unsigned long key_state) {
- // different orientation base on side
-#if IS_LEFT
-
- uint8_t x = 0;
- uint8_t y = 56;
- uint8_t x_ref = 10 + x;
- uint8_t y_ref = 2 + y;
- uint8_t i_key_number = 0;
-
- for (uint8_t i = 0; i < 4; i++) {
- draw_lily_key_row(x_ref, y_ref + (i * 4), 4, &i_key_number, key_state, true);
- draw_lily_key_row(x_ref - 8, y_ref + 2 + (i * 4), 2, &i_key_number, key_state, true);
- }
-
- draw_lily_key_row(x_ref + 2, y_ref + (4 * 4), 3, &i_key_number, key_state, true);
-
- uint8_t x_side = x_ref + (4 * 4);
-
- draw_lily_key(x_side, y_ref + (2 * 4) + 2, &i_key_number, key_state, true);
- draw_lily_key(x_side, y_ref + (4 * 4), &i_key_number, key_state, true);
-
- // screen
- draw_rectangle(x_side, y_ref, 4, 8, true);
-
- // frame
- drawline_hr(x + 1, y + 2, 8, true);
- oled_write_pixel(x + 8, y + 1, true);
- drawline_hr(x + 8, y, 23, true);
-
- drawline_hr(x + 1, y + 20, 10, true);
- oled_write_pixel(x + 10, y + 21, true);
- drawline_hr(x + 10, y + 22, 16, true);
-
- drawline_vb(x, y + 3, 17, true);
- drawline_vb(x + 31, y + 1, 20, true);
- oled_write_pixel(x + 30, y + 21, true);
- oled_write_pixel(x + 29, y + 22, true);
- oled_write_pixel(x + 28, y + 23, true);
- oled_write_pixel(x + 27, y + 24, true);
- oled_write_pixel(x + 26, y + 23, true);
-#endif
-
-#if IS_RIGHT
- uint8_t i_key_number = 0;
-
- for (uint8_t i = 0; i < 4; i++) {
- draw_lily_key_row(7, 58 + (i * 4), 4, &i_key_number, key_state, true);
- draw_lily_key_row(23, 60 + (i * 4), 2, &i_key_number, key_state, true);
- }
-
- draw_lily_key_row(9, 74, 3, &i_key_number, key_state, true);
-
- draw_lily_key(3, 68, &i_key_number, key_state, true);
- draw_lily_key(3, 74, &i_key_number, key_state, true);
-
- // screen
- draw_rectangle(2, 58, 4, 8, true);
-
- // frame
- drawline_hr(23, 58, 8, true);
- oled_write_pixel(23, 57, true);
- drawline_hr(1, 56, 23, true);
-
- drawline_hr(21, 76, 10, true);
- oled_write_pixel(21, 77, true);
- drawline_hr(6, 78, 16, true);
-
- drawline_vb(31, 59, 17, true);
- drawline_vb(0, 57, 20, true);
- oled_write_pixel(1, 77, true);
- oled_write_pixel(2, 78, true);
- oled_write_pixel(3, 79, true);
- oled_write_pixel(4, 80, true);
- oled_write_pixel(5, 79, true);
-#endif
-}
-
-static void draw_lily(uint8_t f) {
- // frame for the events
- uint8_t tres_stroke = 10;
- uint8_t tres_boom = 30;
- uint8_t y_start = 56;
-
- if (f == 0 || f == tres_stroke || f == tres_boom) {
- // clean screen
- oled_clear();
- }
-
- // simple lily58 with all the keys
- if (f < tres_stroke) {
- draw_lily_render(0);
- }
-
- // increase number of random keys pressed
- if (f >= tres_stroke && f < tres_boom) {
- int inter_f = interpo_pourcent(tres_stroke, tres_boom, f);
-
- unsigned long key_state = fastrand_long();
- for (int r = 100 - inter_f; r > 0; r = r - 10) {
- key_state &= fastrand_long();
- }
- draw_lily_render(key_state);
- }
-
- // statir explosion
- if (f >= tres_boom) {
- oled_clear();
- uint8_t density = (f - tres_boom);
- if (density > 4) density = 4;
- draw_static(0, y_start - 8, 32, 32, true, density);
- }
-}
-
-static void draw_startup_navi(uint8_t f) {
- // text
- oled_write_cursor(0, 5, "HELL0", false);
- oled_write_cursor(0, 7, "NAVI.", false);
-
- // prompt
- if ((f % 8) > 4) {
- oled_write_cursor(0, 12, "> ", false);
- } else {
- oled_write_cursor(0, 12, ">_", false);
- }
-
- // frame threshold
- uint8_t tres_shell = 15;
- uint8_t tres_load = 35;
-
- // rand text to init display
- if (f > tres_shell) {
- int inter_f = interpo_pourcent(tres_shell, tres_load, f);
-
- draw_random_char(1, 12, 'i', 60 + inter_f, 0);
- draw_random_char(2, 12, 'n', 20 + inter_f, 0);
- draw_random_char(3, 12, 'i', inter_f, 0);
- draw_random_char(4, 12, 't', 20 + inter_f, 0);
- }
-
- // loading propress bar
- if (f > tres_load) {
- int inter_f = interpo_pourcent(tres_load, 50, f);
-
- // ease
- float fv = inter_f / 100.00;
- fv = fv * fv * fv * fv;
- inter_f = fv * 100;
-
- draw_rectangle(0, (15 * 8), 32, 8, 1);
- draw_progress(0 + 3, (15 * 8) + 3, 26, 2, inter_f, 0, 1);
- }
-}
-
-// text dispayed on terminal
-static char *boot_ref[TERMINAL_LINE_NUMBER] = {"LT:", "RT:", "M :", " ", "cnx:", "A0:", "B0:", " ", "0x40", "0x60", "0x85", "0x0F", " ", "> run", "x ", "y ", " 100%", " ", "> key"};
-
-// prompt style for char in the font
-char scan_font[5] = {'>', 1, 1, 1, 1};
-
-static char *get_terminal_line(uint8_t i) {
- // display text
- if (i < TERMINAL_LINE_NUMBER) {
- return boot_ref[i];
- }
-
- // blank line every 3 lines
- if (i % 3 == 0) {
- return " ";
- }
-
- // display consecutive chars in the font
- i = (i - TERMINAL_LINE_NUMBER) * 4;
-
- scan_font[1] = i;
- scan_font[2] = i + 1;
- scan_font[3] = i + 2;
- scan_font[4] = i + 3;
-
- return scan_font;
-}
-
-static void draw_startup_terminal(uint8_t f) {
- // ease for printing on screen
- f = f * 2;
- f += (f / 5);
-
- // scroll text
- uint8_t i_start = 0;
- uint8_t i_nb_char = f;
-
- if (f > TERMINAL_LINE_MAX) {
- i_start = f - TERMINAL_LINE_MAX;
- i_nb_char = TERMINAL_LINE_MAX;
- }
-
- // display lines
- oled_clear();
- for (uint8_t i = 0; i < i_nb_char; i++) {
- char *s = get_terminal_line(i + i_start);
- oled_write_cursor(0, i, s, false);
- }
-}
-
-bool render_boot(void) {
- // end of the boot sequence
- if (anim_boot_current_frame >= NAVI_DURATION + TERMINAL_DURATION + LILY_DURATION) {
- anim_boot_current_frame = 0;
- oled_clear();
- return true;
- }
-
- if (timer_elapsed(anim_boot_timer) > ANIM_BOOT_FRAME_DURATION) {
- anim_boot_timer = timer_read();
- if (anim_boot_current_frame < NAVI_DURATION) {
- // 55 frames
- draw_startup_navi(anim_boot_current_frame);
- } else {
- if (anim_boot_current_frame >= NAVI_DURATION && anim_boot_current_frame < NAVI_DURATION + TERMINAL_DURATION) {
- // 25
- draw_startup_terminal(anim_boot_current_frame - NAVI_DURATION);
- } else {
- if (anim_boot_current_frame >= NAVI_DURATION + TERMINAL_DURATION) {
- // 25
- draw_lily(anim_boot_current_frame - NAVI_DURATION - TERMINAL_DURATION);
- }
- }
- }
-
- anim_boot_current_frame++;
- }
- return false;
-}
-
-void render_halt(void) {
- if (timer_elapsed(anim_halt_timer) > ANIM_HALT_FRAME_DURATION) {
- anim_halt_timer = timer_read();
-
- // comb glitch for all the screen
- draw_glitch_comb(0, 0, 32, 128, 3, true);
-
- // random moving blocks of pixels
- for (uint8_t i = 0; i < 6; i++) {
- int r = fastrand();
- int rr = fastrand();
- uint8_t x = 4 + r % 28;
- uint8_t y = rr % 128;
-
- uint8_t w = 7 + r % 20;
- uint8_t h = 3 + rr % 10;
- int s = (fastrand() % 20) - 10;
- move_block(x, y, w, h, s);
- }
- }
-}
diff --git a/keyboards/lily58/keymaps/druotoni/boot.h b/keyboards/lily58/keymaps/druotoni/boot.h
deleted file mode 100644
index 7897e17923..0000000000
--- a/keyboards/lily58/keymaps/druotoni/boot.h
+++ /dev/null
@@ -1,9 +0,0 @@
-// Copyright 2021 Nicolas Druoton (druotoni)
-// SPDX-License-Identifier: GPL-2.0-or-later
-
-#pragma once
-
-bool render_boot(void);
-void render_halt(void);
-
-void reset_boot(void); \ No newline at end of file
diff --git a/keyboards/lily58/keymaps/druotoni/burst.c b/keyboards/lily58/keymaps/druotoni/burst.c
deleted file mode 100644
index 6dd6579e73..0000000000
--- a/keyboards/lily58/keymaps/druotoni/burst.c
+++ /dev/null
@@ -1,252 +0,0 @@
-// Copyright 2021 Nicolas Druoton (druotoni)
-// Copyright 2020 Richard Sutherland (rich@brickbots.com)
-// SPDX-License-Identifier: GPL-2.0-or-later
-
-#include QMK_KEYBOARD_H
-
-#include "gui_state.h"
-#include "fast_random.h"
-#include "burst.h"
-#include "draw_helper.h"
-
-// burst stuff
-static int current_burst = 0;
-static uint16_t burst_timer = 0;
-
-// WPM stuff
-static int current_wpm = 0;
-static uint16_t wpm_timer = 0;
-
-// This smoothing is 40 keystrokes
-static const float wpm_smoothing = WPM_SMOOTHING;
-
-// store values
-uint8_t burst_scope[SIZE_SCOPE] = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0};
-uint8_t wpm_scope[SIZE_SCOPE] = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0};
-
-// current max wpm
-int max_wpm = MAX_WPM_INIT;
-
-// scope animation stuff
-#define ANIM_SCOPE_FRAME_DURATION 40
-#define ANIM_SLEEP_SCOPE_FRAME_NUMBER 10
-
-uint16_t anim_scope_timer = 0;
-uint16_t anim_scope_idle_timer = 0;
-uint16_t anim_sleep_scope_timer = 0;
-
-uint8_t anim_sleep_scope_duration[ANIM_SLEEP_SCOPE_FRAME_NUMBER] = {30, 30, 30, 30, 20, 20, 30, 30, 32, 35};
-uint8_t current_sleep_scope_frame = 0;
-uint8_t sleep_scope_frame_destination = ANIM_SLEEP_SCOPE_FRAME_NUMBER - 1;
-
-// glitch animation
-int current_glitch_scope_time = 150;
-uint32_t glitch_scope_timer = 0;
-uint8_t current_glitch_scope_index = 0;
-
-static void update_wpm(void) {
- if (wpm_timer > 0) {
- current_wpm += ((60000 / timer_elapsed(wpm_timer) / WPM_ESTIMATED_WORD_SIZE) - current_wpm) * wpm_smoothing;
- if (current_wpm > LIMIT_MAX_WPM) {
- current_wpm = LIMIT_MAX_WPM;
- }
- }
- wpm_timer = timer_read();
-}
-
-void update_scope(void) {
- update_wpm();
-
- uint16_t temps_ecoule = timer_elapsed(burst_timer);
-
- if (temps_ecoule > BURST_FENETRE) {
- // 1er frappe après longtemps
- current_burst = 40;
- } else {
- int time_pourcent = ((100 * (temps_ecoule)) / (BURST_FENETRE));
- current_burst = 100 - time_pourcent;
- }
- burst_timer = timer_read();
-}
-
-static void update_scope_array(void) {
- // shift array
- for (uint8_t i = 0; i < SIZE_SCOPE - 1; i++) {
- burst_scope[i] = burst_scope[i + 1];
- wpm_scope[i] = wpm_scope[i + 1];
- }
-
- int burst = current_burst;
- int wpm = current_wpm;
-
- // compute max wpm
- max_wpm = (wpm == 0) ? MAX_WPM_INIT : ((wpm > max_wpm) ? wpm : max_wpm);
-
- // current wpm ratio VS max
- wpm = (100 * wpm) / max_wpm;
- if (wpm > 100) wpm = 100;
-
- // update last slot of the arrays
- burst_scope[SIZE_SCOPE - 1] = burst;
- wpm_scope[SIZE_SCOPE - 1] = wpm;
-
- // apply decay to burst chart
- uint8_t pBaisse = 0;
- for (uint8_t i = 0; i < SIZE_SCOPE - (SIZE_SCOPE / 4); i++) {
- pBaisse = 2 + ((SIZE_SCOPE - 1 - i)) / 2;
- burst_scope[i] -= ((burst_scope[i] * pBaisse) / 100);
- }
-}
-
-static void RenderScopeBlack(void) {
- // clean central zone
- draw_rectangle_fill(3, 82, 28, 120, false);
-
- // redraw some parts of the frame
- drawline_hr(1, SCOPE_Y_BOTTOM, 32, 1);
- drawline_vt(0, SCOPE_Y_BOTTOM - 1, 42, 1);
- drawline_vt(31, SCOPE_Y_BOTTOM - 1, 47, 1);
-}
-
-static void render_scope_white(void) {
- static const char PROGMEM raw_logo[] = {
- 240, 8, 4, 226, 241, 248, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 0, 0, 255, 255, 0, 0, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 0, 0, 255, 255, 0, 0, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 0, 0, 255, 255, 0, 0, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 0, 0, 255, 255, 0, 0, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 0, 0, 255, 127, 128, 128, 159, 159, 159, 159, 159, 159, 159, 159, 159, 159, 159, 159, 159, 159, 159, 159, 159, 159, 159, 159, 159, 159, 159, 159, 159, 159, 128, 128, 127,
- };
- oled_write_raw_P_cursor(0, 10, raw_logo, sizeof(raw_logo));
-}
-
-static void render_scope_chart(void) {
- // clean the frame
- render_scope_white();
-
- uint8_t y_offset = SCOPE_Y_BOTTOM - 3;
-
- for (uint8_t i = 0; i < SIZE_SCOPE; i++) {
- // offset
- uint8_t x = 3 + i;
-
- // new black vertical line for burst
- uint8_t iCurrentBurst = burst_scope[i];
- drawline_vt(x, y_offset, (iCurrentBurst * 4) / 10, 0);
-
- // new black point for wpm, white if it's on the burst line
- uint8_t iCurrentWpm = wpm_scope[i];
- uint8_t yWpm = y_offset - ((iCurrentWpm * 4) / 10);
- oled_write_pixel(x, yWpm, !(iCurrentWpm > iCurrentBurst));
- }
-}
-
-void reset_scope(void) {
- // scope need wakeup
- anim_sleep_scope_timer = timer_read();
- current_sleep_scope_frame = ANIM_SLEEP_SCOPE_FRAME_NUMBER - 1;
-
- sleep_scope_frame_destination = 0;
-}
-
-static void render_glitch_square(void) {
- if (timer_elapsed(anim_scope_idle_timer) > 60) {
- anim_scope_idle_timer = timer_read();
- RenderScopeBlack();
-
- uint8_t color = 0;
- uint8_t size = 0;
- for (uint8_t i = 0; i < 4; i++) {
- size = 4 + (fastrand() % 6);
-
- draw_gradient(3 + (fastrand() % 19), 85 + (fastrand() % 20), size, size, 255, 255, 4);
-
- size = (fastrand() % 6);
- color = 100 + (fastrand() % 100);
- draw_gradient(3 + (fastrand() % 19), 100 + (fastrand() % 20), size, size, color, color, 4);
- }
- }
-}
-
-void render_scope_idle(void) {
- uint8_t glitch_prob = get_glitch_probability();
- get_glitch_index(&glitch_scope_timer, &current_glitch_scope_time, &current_glitch_scope_index, 150, 350, glitch_prob, 2);
-
- switch (current_glitch_scope_index) {
- case 0:
- RenderScopeBlack();
- return;
- case 1:
- render_glitch_square();
- return;
- }
-}
-
-static void RenderScopeSleep(void) {
- if (current_sleep_scope_frame == sleep_scope_frame_destination) {
- // animation finished
- render_scope_idle();
- return;
- }
-
- if (timer_elapsed(anim_sleep_scope_timer) > anim_sleep_scope_duration[current_sleep_scope_frame]) {
- anim_sleep_scope_timer = timer_read();
-
- // clean scope
- RenderScopeBlack();
-
- // render animation
- render_tv_animation(current_sleep_scope_frame, 3, 80, 25, 48);
-
- // update frame number
- if (sleep_scope_frame_destination > current_sleep_scope_frame) {
- current_sleep_scope_frame++;
- } else {
- current_sleep_scope_frame--;
- }
- }
-}
-
-void render_scope(gui_state_t t) {
- if (timer_elapsed(anim_scope_timer) > ANIM_SCOPE_FRAME_DURATION) {
- anim_scope_timer = timer_read();
-
- // shift arrays
- update_scope_array();
-
- // oled_set_cursor(0, 10);
-
- if (t == _WAKINGUP) {
- RenderScopeSleep();
- return;
- }
-
- if (t == _IDLE) {
- sleep_scope_frame_destination = ANIM_SLEEP_SCOPE_FRAME_NUMBER - 1;
- RenderScopeSleep();
- return;
- }
-
- render_scope_chart();
- }
-}
-
-static void decay_burst(void) {
- uint16_t temps_ecoule = timer_elapsed(burst_timer);
-
- int poucentageEcoule = 100;
-
- if (temps_ecoule <= BURST_FENETRE * 4) {
- poucentageEcoule = ((100 * (temps_ecoule)) / (BURST_FENETRE * 4));
- }
-
- current_burst = current_burst - poucentageEcoule;
- if (current_burst <= 0) current_burst = 0;
-}
-
-static void decay_wpm(void) {
- if (timer_elapsed(wpm_timer) > 1000) {
- wpm_timer = timer_read();
- current_wpm += (-current_wpm) * wpm_smoothing;
- }
-}
-
-void decay_scope(void) {
- decay_burst();
- decay_wpm();
-}
diff --git a/keyboards/lily58/keymaps/druotoni/burst.h b/keyboards/lily58/keymaps/druotoni/burst.h
deleted file mode 100644
index 8bc8153508..0000000000
--- a/keyboards/lily58/keymaps/druotoni/burst.h
+++ /dev/null
@@ -1,24 +0,0 @@
-// Copyright 2021 Nicolas Druoton (druotoni)
-// Copyright 2020 Richard Sutherland (rich@brickbots.com)
-// SPDX-License-Identifier: GPL-2.0-or-later
-
-#pragma once
-
-// burst
-#define MAX_WPM_INIT 40
-#define BURST_FENETRE 500
-
-// wpm
-#define LIMIT_MAX_WPM 150
-#define WPM_ESTIMATED_WORD_SIZE 5
-#define WPM_SMOOTHING 0.0487
-
-// scope
-#define SIZE_SCOPE 26
-#define SCOPE_Y_BOTTOM 127
-
-void update_scope(void);
-void render_scope(gui_state_t t);
-
-void reset_scope(void);
-void decay_scope(void);
diff --git a/keyboards/lily58/keymaps/druotoni/config.h b/keyboards/lily58/keymaps/druotoni/config.h
deleted file mode 100644
index 37124fcaaf..0000000000
--- a/keyboards/lily58/keymaps/druotoni/config.h
+++ /dev/null
@@ -1,55 +0,0 @@
-// Copyright 2021 Nicolas Druoton (druotoni)
-// Copyright 2012 Jun Wako <wakojun@gmail.com>
-// Copyright 2015 Jack Humbert
-// SPDX-License-Identifier: GPL-2.0-or-later
-
-#pragma once
-
-#define MASTER_LEFT
-#define OLED_DRIVER_ENABLE
-
-// tapping toggle for my layers
-#define TAPPING_TOGGLE 2
-
-// choose IS_LEFT or IS_RIGHT for compilation and flash firmware
-#define IS_LEFT 1
-//#define IS_RIGHT 1
-
-// logo glitch
-#define WITH_GLITCH
-// boot sequence
-#define WITH_BOOT
-
-// custom transport for displaying on both side
-#define SPLIT_TRANSACTION_IDS_USER USER_SYNC_A
-
-// custom font
-#ifdef OLED_FONT_H
-# undef OLED_FONT_H
-#endif
-#define OLED_FONT_H "navi_font.c"
-#undef OLED_FONT_END
-#define OLED_FONT_END 125
-
-// more space
-#define NO_ACTION_MACRO
-#define NO_ACTION_FUNCTION
-#define NO_ACTION_ONESHOT
-#define DISABLE_LEADER
-
-// ???
-#undef LOCKING_SUPPORT_ENABLE
-#undef LOCKING_RESYNC_ENABLE
-
-// small layer state
-#define LAYER_STATE_8BIT
-
-// no debug or trace
-#ifndef NO_DEBUG
-# define NO_DEBUG
-#endif
-#if !defined(NO_PRINT) && !defined(CONSOLE_ENABLE)
-# define NO_PRINT
-#endif
-
-
diff --git a/keyboards/lily58/keymaps/druotoni/draw_helper.c b/keyboards/lily58/keymaps/druotoni/draw_helper.c
deleted file mode 100644
index c6761d725f..0000000000
--- a/keyboards/lily58/keymaps/druotoni/draw_helper.c
+++ /dev/null
@@ -1,768 +0,0 @@
-// Copyright 2021 Nicolas Druoton (druotoni)
-// Copyright 2021 ugfx
-// SPDX-License-Identifier: GPL-2.0-or-later
-
-#include QMK_KEYBOARD_H
-
-#include "draw_helper.h"
-#include "fast_random.h"
-
-void drawline(uint8_t x, uint8_t y, uint8_t width, bool bHorizontal, bool bPositiveDirection, bool color) {
- if (width <= 0) return;
- uint8_t yPlus = 0;
- uint8_t yMois = 0;
- uint8_t nbtour = 0;
-
- if (!bPositiveDirection) {
- if (bHorizontal) {
- x -= width;
- } else {
- y -= width;
- }
- }
-
- yMois = (width / 2) - 1 + (width % 2);
-
- yPlus = (width / 2);
- nbtour = (width / 4) + 1;
-
- bool bWhite = color;
-
- if (bHorizontal) {
- for (uint8_t i = 0; i < nbtour; i++) {
- oled_write_pixel(x + yPlus + i, y, bWhite);
- oled_write_pixel(x + yMois - i, y, bWhite);
-
- oled_write_pixel(x + i, y, bWhite);
- oled_write_pixel(x + width - 1 - i, y, bWhite);
- }
- } else {
- for (uint8_t i = 0; i < nbtour; i++) {
- oled_write_pixel(x, y + yPlus + i, bWhite);
- oled_write_pixel(x, y + yMois - i, bWhite);
-
- oled_write_pixel(x, y + i, bWhite);
-
- oled_write_pixel(x, y + width - 1 - i, bWhite);
- }
- }
-}
-
-void drawline_vb(uint8_t x, uint8_t y, uint8_t width, bool color) { drawline(x, y, width, false, true, color); }
-
-void drawline_vt(uint8_t x, uint8_t y, uint8_t width, bool color) { drawline(x, y, width, false, false, color); }
-
-void drawline_hr(uint8_t x, uint8_t y, uint8_t width, bool color) { drawline(x, y, width, true, true, color); }
-
-void drawline_hl(uint8_t x, uint8_t y, uint8_t width, bool color) { drawline(x, y, width, true, false, color); }
-
-void draw_rectangle(uint8_t x, uint8_t y, uint8_t width, uint8_t heigth, bool color) {
- drawline_hr(x, y, width, color);
- drawline_hr(x, y + heigth - 1, width, color);
- drawline_vb(x, y, heigth, color);
- drawline_vb(x + width - 1, y, heigth, color);
-}
-
-void draw_rectangle_fill(uint8_t x, uint8_t y, uint8_t width, uint8_t heigth, bool color) {
- for (uint8_t i = 0; i < heigth; i++) {
- drawline_hr(x, y + i, width, color);
- }
-}
-
-void drawline_hr_heigth(uint8_t x, uint8_t y, uint8_t width, uint8_t heigth, bool color) {
- for (int i = 0; i < heigth; i++) {
- drawline_hr(x, y - i, width, color);
- drawline_hr(x, y + i, width, color);
- }
-}
-
-void drawline_point_hr(short x, short y, short x1, bool color) {
- if (y < 0 || y > 127) return;
-
- if (x1 < x) {
- short iTemp = x;
- x = x1;
- x1 = iTemp;
- }
-
- if (x1 > 31) x1 = 31;
- if (x < 0) x = 0;
- if (x > 31) x = 31;
-
- drawline(x, y, x1 - x, true, true, color);
-}
-
-void flip_flap_x(short px, short py, uint8_t val, bool color) {
- oled_write_pixel(px + val, py, color);
- oled_write_pixel(px - val, py, color);
-}
-
-void draw_circle(uint8_t x, uint8_t y, uint8_t radius, bool color) {
- short a, b, P;
-
- // Calculate intermediates
- a = 1;
- b = radius;
- P = 4 - radius;
-
- short py, px;
-
- // Away we go using Bresenham's circle algorithm
- // Optimized to prevent double drawing
- px = x;
- py = y + b;
- oled_write_pixel(px, py, color);
- px = x;
- py = y - b;
- oled_write_pixel(px, py, color);
-
- flip_flap_x(x, y, b, color);
-
- do {
- flip_flap_x(x, y + b, a, color);
- flip_flap_x(x, y - b, a, color);
- flip_flap_x(x, y + a, b, color);
- flip_flap_x(x, y - a, b, color);
-
- if (P < 0)
- P += 3 + 2 * a++;
- else
- P += 5 + 2 * (a++ - b--);
- } while (a < b);
-
- flip_flap_x(x, y + b, a, color);
- flip_flap_x(x, y - b, a, color);
-}
-
-void draw_ellipse(uint8_t x, uint8_t y, uint8_t a, uint8_t b, bool color) {
- int dx, dy;
- int a2, b2;
- int err, e2;
-
- // short py, px;
- // Calculate intermediates
- dx = 0;
- dy = b;
- a2 = a * a;
- b2 = b * b;
- err = b2 - (2 * b - 1) * a2;
-
- // Away we go using Bresenham's ellipse algorithm
- do {
- flip_flap_x(x, y + dy, dx, color);
- flip_flap_x(x, y - dy, dx, color);
-
- e2 = 2 * err;
- if (e2 < (2 * dx + 1) * b2) {
- dx++;
- err += (2 * dx + 1) * b2;
- }
- if (e2 > -(2 * dy - 1) * a2) {
- dy--;
- err -= (2 * dy - 1) * a2;
- }
- } while (dy >= 0);
-}
-
-void draw_ellipse_fill(uint8_t x, uint8_t y, uint8_t a, uint8_t b, bool color) { return; }
-// void draw_ellipse_fill(uint8_t x, uint8_t y, uint8_t a, uint8_t b, uint8_t color) {
-// int dx, dy;
-// int a2, b2;
-// int err, e2;
-
-// // Calculate intermediates
-// dx = 0;
-// dy = b;
-// a2 = a * a;
-// b2 = b * b;
-// err = b2 - (2 * b - 1) * a2;
-
-// short py, px, px1;
-
-// // Away we go using Bresenham's ellipse algorithm
-// // This is optimized to prevent overdrawing by drawing a line only when a y is about to change value
-// do {
-// e2 = 2 * err;
-// if (e2 < (2 * dx + 1) * b2) {
-// dx++;
-// err += (2 * dx + 1) * b2;
-// }
-// if (e2 > -(2 * dy - 1) * a2) {
-// py = y + dy;
-// px = x - dx;
-// px1 = x + dx;
-// drawline_point_hr(px, py, px1, color);
-// if (y) {
-// py = y - dy;
-// px = x - dx;
-// px1 = x + dx;
-// drawline_point_hr(px, py, px1, color);
-// }
-// dy--;
-// err -= (2 * dy - 1) * a2;
-// }
-// } while (dy >= 0);
-// }
-
-bool test_limit(short x, short y) { return !(y < 0 || y > 127 || x < 0 || x > 31); }
-
-void flip_flap_y_point(short px, short py, short px1, uint8_t val, bool color) {
- // firmware size optimisation : one fonction for 2 lines of code
- drawline_point_hr(px, py + val, px1, color);
- drawline_point_hr(px, py - val, px1, color);
-}
-
-void draw_fill_circle(short x, short y, uint8_t radius, bool color) {
- short a, b, P;
-
- // Calculate intermediates
- a = 1;
- b = radius;
- P = 4 - radius;
-
- // Away we go using Bresenham's circle algorithm
- // This is optimized to prevent overdrawing by drawing a line only when a variable is about to change value
- short py, px, px1;
-
- py = y;
- px = x - b;
- px1 = x + b;
- drawline_point_hr(px, py, px1, color);
-
- py = y + b;
- px = x;
- if (test_limit(px, py)) oled_write_pixel(px, py, color);
- py = y - b;
- px = x;
- if (test_limit(px, py)) oled_write_pixel(px, py, color);
- do {
- flip_flap_y_point(x - b, y, x + b, a, color);
-
- if (P < 0) {
- P += 3 + 2 * a++;
- } else {
- flip_flap_y_point(x - a, y, x + a, b, color);
-
- P += 5 + 2 * (a++ - b--);
- }
- } while (a < b);
-
- flip_flap_y_point(x - b, y, x + b, a, color);
-}
-
-bool apres_moitie(int a, int b) { return (a > b / 2); }
-bool arrive_moitie(int a, int b) { return (a > b / 2); }
-bool avant_moitie(int a, int b) { return (a <= b / 2 && !apres_moitie(a, b)); }
-
-void draw_arc_sector(uint8_t x, uint8_t y, uint8_t radius, unsigned char sectors, unsigned char half, bool color) {
- short a, b, P;
- short py, px;
- // Calculate intermediates
- a = 1; // x in many explanations
- b = radius; // y in many explanations
- P = 4 - radius;
-
- if (half != 2) {
- // Away we go using Bresenham's circle algorithm
- // Optimized to prevent double drawing
- if (sectors & 0x06) {
- px = x;
- py = y - b;
- oled_write_pixel(px, py, color);
- } // Upper upper
- if (sectors & 0x60) {
- px = x;
- py = y + b;
- oled_write_pixel(px, py, color);
- } // Lower lower
- if (sectors & 0x81) {
- px = x + b;
- py = y;
- oled_write_pixel(px, py, color);
- } // Right right
- if (sectors & 0x18) {
- px = x - b;
- py = y;
- oled_write_pixel(px, py, color);
- } // Left left
- }
-
- bool dessiner = false;
-
- do {
- if (half == 1 && arrive_moitie(a, b)) break;
-
- if (half == 2 && avant_moitie(a, b)) {
- dessiner = false;
- } else {
- dessiner = true;
- }
-
- if (dessiner) {
- if (sectors & 0x01) {
- px = x + b;
- py = y - a;
- oled_write_pixel(px, py, color);
- } // Upper right right
- if (sectors & 0x02) {
- px = x + a;
- py = y - b;
- oled_write_pixel(px, py, color);
- } // Upper upper right
- if (sectors & 0x04) {
- px = x - a;
- py = y - b;
- oled_write_pixel(px, py, color);
- } // Upper upper left
- if (sectors & 0x08) {
- px = x - b;
- py = y - a;
- oled_write_pixel(px, py, color);
- } // Upper left left
- if (sectors & 0x10) {
- px = x - b;
- py = y + a;
- oled_write_pixel(px, py, color);
- } // Lower left left
- if (sectors & 0x20) {
- px = x - a;
- py = y + b;
- oled_write_pixel(px, py, color);
- } // Lower lower left
- if (sectors & 0x40) {
- px = x + a;
- py = y + b;
- oled_write_pixel(px, py, color);
- } // Lower lower right
- if (sectors & 0x80) {
- px = x + b;
- py = y + a;
- oled_write_pixel(px, py, color);
- } // Lower right right
- }
-
- if (P < 0)
- P += 3 + 2 * a++;
- else
- P += 5 + 2 * (a++ - b--);
- } while (a < b);
-
- if (half != 1) {
- if (sectors & 0xC0) {
- px = x + a;
- py = y + b;
- oled_write_pixel(px, py, color);
- } // Lower right
- if (sectors & 0x03) {
- px = x + a;
- py = y - b;
- oled_write_pixel(px, py, color);
- } // Upper right
- if (sectors & 0x30) {
- px = x - a;
- py = y + b;
- oled_write_pixel(px, py, color);
- } // Lower left
- if (sectors & 0x0C) {
- px = x - a;
- py = y - b;
- oled_write_pixel(px, py, color);
- } // Upper left
- }
-}
-
-void draw_static(uint8_t x, uint8_t y, uint8_t width, uint8_t heigth, int color, uint8_t density) {
- unsigned long rx = fastrand_long();
- unsigned long ry = fastrand_long();
- unsigned long maskx = 1;
- unsigned long masky = 1;
- unsigned long mask_base = 1;
-
- // more 1 in the octet
- for (int r = 0; r < density; r++) {
- rx &= fastrand_long();
- ry &= fastrand_long();
- }
-
- color = ((rx >> 1) % 2) == 0;
-
- for (uint8_t i = 0; i < width; i++) {
- for (uint8_t j = 0; j < heigth; j++) {
- // new mask based on ij loop
- maskx = (mask_base << i);
- masky = (mask_base << j);
-
- // logic AND with the masks
- if (((rx & maskx) == maskx) && ((ry & masky) == masky)) {
- oled_write_pixel(x + i, y + j, color);
- }
- }
- }
-}
-
-void copy_pixel(int from, int shift, unsigned char mask) {
- if (shift == 0) return;
-
- // pixel cluster from
- char c_from = get_oled_char(from);
- char extract = c_from & mask;
-
- // pixel cluster shift
- char c_from_shift = get_oled_char(from + shift);
- c_from_shift &= ~(mask);
- c_from_shift |= extract;
- oled_write_raw_byte(c_from_shift, from + shift);
-
- // fill blank with black
- c_from &= ~(mask);
- oled_write_raw_byte(c_from, from);
-}
-
-void draw_glitch_comb(uint8_t x, uint8_t y, uint8_t width, uint16_t height, uint8_t iSize, bool odd) {
- // work only on row
- uint16_t y_start = (y / 8) * 32;
- uint8_t nb_h = height / 8;
-
- uint8_t w_max = width;
- uint16_t index = y_start + x;
-
- // shift pair even pixel
- int mask_1 = 85;
- int mask_2 = 170;
-
- if (!odd) {
- // shift odd pixel
- mask_1 = 170;
- mask_2 = 85;
- }
-
- // wobble
- uint16_t pos = 0;
- for (uint16_t j = 0; j < nb_h; j++) {
- // next line
- index = (y_start + x) + (j * 32);
-
- for (uint16_t i = 0; i < w_max; i++) {
- if (i + iSize < w_max) {
- pos = index + i;
- copy_pixel(pos + iSize, iSize * -1, mask_1);
- }
-
- if (w_max - 1 - i - iSize >= 0) {
- pos = (index + w_max - 1) - i;
- copy_pixel(pos - iSize, iSize, mask_2);
- }
- }
- }
-}
-
-void draw_random_char(uint8_t column, uint8_t row, char final_char, int value, uint8_t style) {
- if (value < 0) return;
-
- char c = final_char;
-
- if (value < 100) {
- c = ((fastrand() % 15) + 1);
- }
-
- oled_set_cursor(column, row);
- oled_write_char(c, false);
-}
-
-void get_glitch_index_new(uint16_t *glitch_timer, uint8_t *current_glitch_scope_time, uint8_t *glitch_index, uint8_t min_time, uint16_t max_time, uint8_t glitch_probobility, uint8_t glitch_frame_number) {
- if (timer_elapsed(*glitch_timer) > *current_glitch_scope_time) {
- // end of the last glitch period
- *glitch_timer = timer_read();
-
- // new random glich period
- *current_glitch_scope_time = min_time + fastrand() % (max_time - min_time);
-
- bool bGenerateGlitch = (fastrand() % 100) < glitch_probobility;
- if (!bGenerateGlitch) {
- // no glitch
- *glitch_index = 0;
- return;
- }
-
- // get a new glitch index
- *glitch_index = fastrand() % glitch_frame_number;
- }
-}
-
-uint8_t get_glitch_frame_index(uint8_t glitch_probobility, uint8_t glitch_frame_number) {
- bool bGenerateGlitch = (fastrand() % 100) < glitch_probobility;
- if (!bGenerateGlitch) {
- // no glitch
- return 0;
- }
-
- // get a new glitch index
- return fastrand() % glitch_frame_number;
-}
-
-uint8_t get_glitch_duration(uint8_t min_time, uint16_t max_time) { return min_time + fastrand() % (max_time - min_time); }
-
-void get_glitch_index(uint32_t *glitch_timer, int *current_glitch_scope_time, uint8_t *glitch_index, uint8_t min_time, uint16_t max_time, uint8_t glitch_probobility, uint8_t glitch_frame_number) {
- if (timer_elapsed32(*glitch_timer) > *current_glitch_scope_time) {
- // end of the last glitch period
- *glitch_timer = timer_read32();
-
- // new random glich period
- *current_glitch_scope_time = min_time + fastrand() % (max_time - min_time);
-
- bool bGenerateGlitch = (fastrand() % 100) < glitch_probobility;
- if (!bGenerateGlitch) {
- // no glitch
- *glitch_index = 0;
- return;
- }
-
- // get a new glitch index
- *glitch_index = fastrand() % glitch_frame_number;
- }
-}
-
-void draw_progress(uint8_t x, uint8_t y, uint8_t width, uint8_t heigth, int value, uint8_t style, bool color) {
- if (value > 100) {
- value = 100;
- }
- int lenght = (width * value) / 100;
- for (uint8_t i = 0; i < lenght; i++) {
- switch (style) {
- case 0:
- drawline_vb(x + i, y, heigth - 1, color);
- break;
-
- // case 1:
- // drawline_vb(x + i, y + 1, heigth - 3, ((i % 3) < 2));
- // break;
- // case 2:
- // // . . . . .
- // drawline_vb(x + i, y + 3, 2, ((i % 2) == 0));
- // break;
- }
- }
-}
-
-void oled_write_raw_P_cursor(uint8_t col, uint8_t line, const char *data, uint16_t size) {
- // raw_P at cursor position
- oled_set_cursor(col, line);
- oled_write_raw_P(data, size);
-}
-
-void oled_write_cursor(uint8_t col, uint8_t line, const char *data, bool invert) {
- // write at cursor position
- oled_set_cursor(col, line);
- oled_write(data, invert);
-}
-
-void draw_label(const char *data, uint8_t len, uint8_t row, int value) {
- if (value < 0) return;
- if (row >= 16 || row < 0) return;
- oled_write_cursor(0, row, data, false);
-}
-
-void draw_box(const char *data, uint8_t len, uint8_t row, long value, uint8_t style) {
- if (value < 0) return;
- if (row >= 16 || row < 0) return;
-
- oled_write_cursor(0, row, data, false);
-
- uint8_t y = row * 8;
-
- uint8_t x = 6 * len;
- uint8_t w = 32 - x;
-
- if (value < 0) value = 0;
- if (value > 100) value = 100;
- draw_progress(x, y, w, 7, value, style, 1);
-}
-
-char get_oled_char(uint16_t start_index) {
- oled_buffer_reader_t reader;
- reader = oled_read_raw(start_index);
- return *reader.current_element;
-}
-
-static int get_index_first_block(uint8_t y) { return ((y / 8) * 32); }
-
-void move_block(uint8_t x, uint8_t y, uint8_t width, uint8_t heigth, int shift) {
- // clip
- if (x >= 31) return;
- if (y >= 127) return;
-
- int max_screen = 32 - 1;
- if ((width + x) > max_screen + 1) width = max_screen + 1 - x;
-
- if (width <= 1) return;
-
- if ((heigth + y) > 127) heigth = 127 - y;
- if (heigth <= 1) return;
-
- // [-32 & +32]
- if (shift > max_screen) shift = max_screen;
- if (shift < -1 * max_screen) shift = -1 * max_screen;
-
- if ((width + x + shift) > max_screen) width = width - shift;
-
- int pixelTop = 8 - (y % 8);
- int pixelBottom = (y + heigth) % 8;
-
- unsigned char cMastTop = ~((unsigned)255 >> (pixelTop));
- unsigned char cMastBottom = ~((unsigned)255 << (pixelBottom));
-
- int indexFirstBloc = get_index_first_block(y) + x;
- int indexFirstBlocFull = get_index_first_block(y + pixelTop) + x;
- int indexFirstBlocEnd = get_index_first_block(y + heigth) + x;
-
- int nbBlockHeigth = (heigth - pixelTop - pixelBottom) / 8;
-
- if (nbBlockHeigth < 0) {
- // just single row
- nbBlockHeigth = 0;
- cMastBottom = 0;
- }
-
- if (shift < 0) {
- for (uint16_t i = 0; i < width; i++) {
- copy_pixel(indexFirstBloc + i, shift, cMastTop);
- copy_pixel(indexFirstBlocEnd + i, shift, cMastBottom);
-
- for (uint16_t j = 0; j < nbBlockHeigth; j++) {
- copy_pixel(indexFirstBlocFull + i + (j * 32), shift, 255);
- }
- }
-
- } else {
- for (int i = width - 1; i >= 0; i--) {
- copy_pixel(indexFirstBloc + i, shift, cMastTop);
- copy_pixel(indexFirstBlocEnd + i, shift, cMastBottom);
-
- for (uint16_t j = 0; j < nbBlockHeigth; j++) {
- copy_pixel(indexFirstBlocFull + i + (j * 32), shift, 255);
- }
- }
- }
-}
-
-int interpo_pourcent(int min, int max, int v) {
- // interpolation
- float x0 = min;
- float x1 = max;
- float y0 = 0;
- float y1 = 100;
- float xp = v;
- float yp = y0 + ((y1 - y0) / (x1 - x0)) * (xp - x0);
-
- return (int)yp;
-}
-
-uint8_t BAYER_PATTERN_4[4][4] = {{15, 135, 45, 165}, {195, 75, 225, 105}, {60, 180, 30, 150}, {240, 120, 210, 90}};
-
-void draw_gradient(uint8_t x, uint8_t y, uint8_t width, uint8_t heigth, uint8_t color_start, uint8_t color_end, uint8_t tres) {
- bool invert = color_start > color_end;
-
- if (invert) {
- color_start = 255 - color_start;
- color_end = 255 - color_end;
- }
-
- int step = (100 / tres);
- int step_minus = (100 / (tres - 1));
- int distance = color_end - color_start;
-
- for (uint8_t i = 0; i < width; i++) {
- int position = interpo_pourcent(0, width, i);
-
- float color = position;
- color = ((int)(color / step)) * step_minus;
-
- color = color_start + ((distance * color) / 100);
-
- for (uint8_t j = 0; j < heigth; j++) {
- uint8_t m = BAYER_PATTERN_4[i % 4][j % 4];
- unsigned char color_d = (color > m) ? !invert : invert;
-
- oled_write_pixel(x + i, y + j, color_d);
- }
- }
-}
-
-void render_tv_animation(uint8_t frame_number, uint8_t x, uint8_t y, uint8_t width, uint8_t heigth) {
- uint8_t xCenter = x + (width / 2);
- uint8_t yCenter = y + (heigth / 2);
-
- switch (frame_number) {
- case 0:
- // a fond : allume
- drawline_hr_heigth(x, yCenter, width, 17, true);
- break;
-
- case 1:
- drawline_hr_heigth(x, yCenter, width, 12, true);
- draw_ellipse_fill(xCenter, yCenter, 7, 15, true);
- break;
-
- case 2:
- drawline_hr_heigth(x, yCenter, width, 5, true);
- draw_ellipse_fill(xCenter, yCenter, 5, 8, true);
- break;
-
- case 3:
- drawline_hr_heigth(x, yCenter, width, 3, true);
- draw_ellipse_fill(xCenter, yCenter, 3, 4, true);
- break;
-
- case 4:
- drawline_hr_heigth(x, yCenter, width, 2, true);
- draw_fill_circle(xCenter, yCenter, 3, true);
- break;
-
- case 5:
- // central line
- drawline_hr(x, yCenter, width, true);
- draw_fill_circle(xCenter, yCenter, 2, true);
- break;
-
- case 6:
- // cross
- drawline_hr(xCenter, yCenter + 1, 2, true);
- drawline_hr(xCenter, yCenter - 1, 2, true);
-
- // central line
- drawline_hr(x, yCenter, width, true);
- break;
-
- case 7:
- // cross
- drawline_hr(xCenter, yCenter + 1, 2, true);
- drawline_hr(xCenter, yCenter - 1, 2, true);
- // central line
- drawline_hr(xCenter - 8, yCenter, 18, true);
- // static
- oled_write_pixel(xCenter - 11, yCenter, true);
- oled_write_pixel(xCenter + 12, yCenter, true);
- break;
-
- case 8:
- // cross
- drawline_hr(xCenter, yCenter + 1, 2, true);
- drawline_hr(xCenter, yCenter - 1, 2, true);
- // central line
- drawline_hr(xCenter - 2, yCenter, 4, true);
- // static
- drawline_hr(xCenter - 7, yCenter, 2, true);
- drawline_hr(xCenter + 6, yCenter, 3, true);
-
- // oled_write_pixel(xCenter - 11, yCenter, true);
- oled_write_pixel(xCenter - 9, yCenter, true);
- oled_write_pixel(xCenter + 12, yCenter, true);
- oled_write_pixel(xCenter + 14, yCenter, true);
- break;
-
- case 9:
- // central line
- drawline_hr(xCenter, yCenter, 2, true);
- break;
- }
-} \ No newline at end of file
diff --git a/keyboards/lily58/keymaps/druotoni/draw_helper.h b/keyboards/lily58/keymaps/druotoni/draw_helper.h
deleted file mode 100644
index 991ab0d0a6..0000000000
--- a/keyboards/lily58/keymaps/druotoni/draw_helper.h
+++ /dev/null
@@ -1,47 +0,0 @@
-// Copyright 2021 Nicolas Druoton (druotoni)
-// Copyright 2021 ugfx
-// SPDX-License-Identifier: GPL-2.0-or-later
-
-#pragma once
-
-// line
-void drawline_vb(uint8_t x, uint8_t y, uint8_t width, bool color);
-void drawline_vt(uint8_t x, uint8_t y, uint8_t width, bool color);
-void drawline_hr(uint8_t x, uint8_t y, uint8_t width, bool color);
-void drawline_hl(uint8_t x, uint8_t y, uint8_t width, bool color);
-void drawline_hr_heigth(uint8_t x, uint8_t y, uint8_t width, uint8_t heigth, bool color);
-
-// rectangle
-void draw_rectangle(uint8_t x, uint8_t y, uint8_t width, uint8_t heigth, bool color);
-void draw_rectangle_fill(uint8_t x, uint8_t y, uint8_t width, uint8_t heigth, bool color);
-void draw_gradient(uint8_t x, uint8_t y, uint8_t width, uint8_t heigth, uint8_t color_start, uint8_t color_end, uint8_t tres);
-
-// circle
-void draw_fill_circle(short x, short y, uint8_t radius, bool color);
-void draw_circle(uint8_t x, uint8_t y, uint8_t radius, bool color);
-void draw_ellipse(uint8_t x, uint8_t y, uint8_t a, uint8_t b, bool color);
-void draw_ellipse_fill(uint8_t x, uint8_t y, uint8_t a, uint8_t b, bool color);
-void draw_arc_sector(uint8_t x, uint8_t y, uint8_t radius, unsigned char sectors, unsigned char half, bool color);
-void draw_static(uint8_t x, uint8_t y, uint8_t width, uint8_t heigth, int color, uint8_t density);
-
-// text
-void draw_random_char(uint8_t column, uint8_t row, char final_char, int value, uint8_t style);
-void draw_label(const char *data, uint8_t len, uint8_t row, int value);
-void draw_box(const char *data, uint8_t len, uint8_t row, long value, uint8_t style);
-void draw_progress(uint8_t x, uint8_t y, uint8_t width, uint8_t heigth, int value, uint8_t style, bool color);
-
-// oled drivers stuff
-char get_oled_char(uint16_t start_index);
-void oled_write_cursor(uint8_t col, uint8_t line, const char *data, bool invert);
-void oled_write_raw_P_cursor(uint8_t col, uint8_t line, const char *data, uint16_t size);
-
-// pixel manipulation
-void copy_pixel(int from, int shift, unsigned char mask);
-void move_block(uint8_t x, uint8_t y, uint8_t width, uint8_t heigth, int shift);
-void draw_glitch_comb(uint8_t x, uint8_t y, uint8_t width, uint16_t height, uint8_t iSize, bool odd);
-
-// misc
-void render_tv_animation(uint8_t frame_number, uint8_t x, uint8_t y, uint8_t width, uint8_t heigth);
-int interpo_pourcent(int min, int max, int v);
-void get_glitch_index(uint32_t *glitch_timer, int *current_glitch_scope_time, uint8_t *glitch_index, uint8_t min_time, uint16_t max_time, uint8_t glitch_probobility, uint8_t glitch_frame_number);
-void get_glitch_index_new(uint16_t *glitch_timer, uint8_t *current_glitch_scope_time, uint8_t *glitch_index, uint8_t min_time, uint16_t max_time, uint8_t glitch_probobility, uint8_t glitch_frame_number);
diff --git a/keyboards/lily58/keymaps/druotoni/fast_random.c b/keyboards/lily58/keymaps/druotoni/fast_random.c
deleted file mode 100644
index 3028b57ac6..0000000000
--- a/keyboards/lily58/keymaps/druotoni/fast_random.c
+++ /dev/null
@@ -1,17 +0,0 @@
-// Copyright 2021 Nicolas Druoton (druotoni)
-// SPDX-License-Identifier: GPL-2.0-or-later
-#include "fast_random.h"
-
-// seed for random
-static unsigned long g_seed = 0;
-
-int fastrand(void) {
- // todo : try with random16();
- g_seed = (214013 * g_seed + 2531011);
- return (g_seed >> 16) & 0x7FFF;
-}
-
-unsigned long fastrand_long(void) {
- g_seed = (214013 * g_seed + 2531011);
- return g_seed;
-}
diff --git a/keyboards/lily58/keymaps/druotoni/fast_random.h b/keyboards/lily58/keymaps/druotoni/fast_random.h
deleted file mode 100644
index fe8c4a40a2..0000000000
--- a/keyboards/lily58/keymaps/druotoni/fast_random.h
+++ /dev/null
@@ -1,7 +0,0 @@
-// Copyright 2021 Nicolas Druoton (druotoni)
-// SPDX-License-Identifier: GPL-2.0-or-later
-
-#pragma once
-
-int fastrand(void);
-unsigned long fastrand_long(void); \ No newline at end of file
diff --git a/keyboards/lily58/keymaps/druotoni/gui_state.c b/keyboards/lily58/keymaps/druotoni/gui_state.c
deleted file mode 100644
index d86e67ec7b..0000000000
--- a/keyboards/lily58/keymaps/druotoni/gui_state.c
+++ /dev/null
@@ -1,71 +0,0 @@
-// Copyright 2021 Nicolas Druoton (druotoni)
-// SPDX-License-Identifier: GPL-2.0-or-later
-
-#include QMK_KEYBOARD_H
-
-#include "gui_state.h"
-#include "draw_helper.h"
-
-// timer for the gui state
-uint32_t global_sleep_timer = 0;
-uint32_t global_waking_up_timer = 0;
-uint32_t global_booting_timer = 0;
-
-// timers test for states
-#ifdef WITH_BOOT
-static bool IsBooting(void) { return (timer_elapsed32(global_booting_timer) < BOOTING_TIME_TRESHOLD); }
-#else
-static bool IsBooting(void) { return false; }
-#endif
-
-// state test
-static bool IsWakingUp(void) { return (timer_elapsed32(global_waking_up_timer) < WAKING_UP_TIME_TRESHOLD); }
-static bool IsIdle(void) { return (timer_elapsed32(global_sleep_timer) > IDLE_TIME_TRESHOLD && timer_elapsed32(global_sleep_timer) < HALTING_TIME_TRESHOLD); }
-static bool IsSleep(void) { return (timer_elapsed32(global_sleep_timer) >= SLEEP_TIME_TRESHOLD); }
-static bool IsHalting(void) { return (timer_elapsed32(global_sleep_timer) >= HALTING_TIME_TRESHOLD && timer_elapsed32(global_sleep_timer) < SLEEP_TIME_TRESHOLD); }
-
-gui_state_t get_gui_state(void) {
- // get gui states by testing timers
- if (IsBooting()) return _BOOTING;
- if (IsWakingUp()) return _WAKINGUP;
- if (IsIdle()) return _IDLE;
- if (IsHalting()) return _HALTING;
- if (IsSleep()) return _SLEEP;
-
- return _UP;
-}
-
-void update_gui_state(void) {
- // what to do when a key is pressed
- gui_state_t t = get_gui_state();
-
-#ifdef WITH_BOOT
- if (t == _SLEEP) {
- // booting
- global_booting_timer = timer_read32();
- }
-
- if (t == _BOOTING) {
- // cancel booting
- global_booting_timer = 1000000;
- }
-#else
- if (t == _SLEEP) {
- // waking up
- global_waking_up_timer = timer_read32();
- }
-#endif
-
- if (t == _IDLE || t == _HALTING || t == _BOOTING) {
- // waking up
- global_waking_up_timer = timer_read32();
- }
-
- // no sleep
- global_sleep_timer = timer_read32();
-}
-
-uint8_t get_glitch_probability(void) {
- // more gliches could occur when halting time is near
- return interpo_pourcent(IDLE_TIME_TRESHOLD, HALTING_TIME_TRESHOLD, timer_elapsed32(global_sleep_timer));
-}
diff --git a/keyboards/lily58/keymaps/druotoni/gui_state.h b/keyboards/lily58/keymaps/druotoni/gui_state.h
deleted file mode 100644
index 190e02d303..0000000000
--- a/keyboards/lily58/keymaps/druotoni/gui_state.h
+++ /dev/null
@@ -1,18 +0,0 @@
-// Copyright 2021 Nicolas Druoton (druotoni)
-// SPDX-License-Identifier: GPL-2.0-or-later
-
-#pragma once
-
-// states timing
-#define BOOTING_TIME_TRESHOLD 7000
-#define WAKING_UP_TIME_TRESHOLD 300
-#define IDLE_TIME_TRESHOLD 4000
-#define HALTING_TIME_TRESHOLD IDLE_TIME_TRESHOLD + 6000
-#define SLEEP_TIME_TRESHOLD HALTING_TIME_TRESHOLD + 8000
-
-typedef uint8_t gui_state_t;
-enum gui_state { _WAKINGUP = 0, _IDLE, _SLEEP, _UP, _BOOTING, _HALTING };
-
-gui_state_t get_gui_state(void);
-void update_gui_state(void);
-uint8_t get_glitch_probability(void); \ No newline at end of file
diff --git a/keyboards/lily58/keymaps/druotoni/keymap.c b/keyboards/lily58/keymaps/druotoni/keymap.c
deleted file mode 100644
index 69b36928ab..0000000000
--- a/keyboards/lily58/keymaps/druotoni/keymap.c
+++ /dev/null
@@ -1,253 +0,0 @@
-// Copyright 2021 Nicolas Druoton (druotoni)
-// SPDX-License-Identifier: GPL-2.0-or-later
-
-#include QMK_KEYBOARD_H
-#include "keymap_french.h"
-#include "transactions.h"
-
-// global
-#include "gui_state.h"
-#include "boot.h"
-#include "navi_logo.h"
-
-#include "draw_helper.h"
-#include "fast_random.h"
-
-// left side
-#include "layer_frame.h"
-#include "burst.h"
-
-// right side
-#include "ring.h"
-
-// clang-format off
-const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
-/* QWERTY
-* ,-----------------------------------------. ,-----------------------------------------.
-* | ESC | 1 | 2 | 3 | 4 | 5 | | 6 | 7 | 8 | 9 | 0 | DEL |
-* |------+------+------+------+------+------| |------+------+------+------+------+------|
-* | Tab | Q | W | E | R | T | | Y | U | I | O | P | ^ |
-* |------+------+------+------+------+------| |------+------+------+------+------+------|
-* |LShift| A | S | D | F | G |-------. ,-------| H | J | K | L | ; |RShift|
-* |------+------+------+------+------+------| " | | ) |------+------+------+------+------+------|
-* |LCTRL | Z | X | C | V | B |-------| |-------| N | M | , | . | / | $ |
-* `-----------------------------------------/ / \ \-----------------------------------------'
-* | LAlt | SPE | Space| / NAV / \Enter \ |BackSP| ] | RGUI |
-* | | | |/ / \ \ | | | |
-* `----------------------------' '------''--------------------'
-*/
- [_QWERTY] = LAYOUT(
- KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_DELETE,
- KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, FR_CIRC,
- KC_LSFT, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_RSFT,
- KC_LCTL, KC_Z, KC_X, KC_C, KC_V, KC_B, S(KC_Z), FR_RPRN, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_QUOT,
- KC_LALT, TT(_RAISE), KC_SPC, TT(_LOWER), KC_ENT, KC_BSPC, KC_RBRC, KC_RGUI
- ),
-
- /* LOWER
-* ,---------------------------------------------. ,------------------------------------------------.
-* | ESC | F1 | F2 | F3 | F4 | F5 | | F6 | F7 | F8 | F9 | F10 | DEL |
-* |------+-------+-------+------+-------+-------| |--------+--------+--------+-------+------+------|
-* | RST | F11 | F12 | DEL | paste | copy | | home | pg up | print | redo | w | |
-* |------+-------+-------+------+-------+-------| |--------+--------+--------+-------+------+------|
-* | | all | | SAV | undo | BackSP|-------. ,-------| left | down | up | right | | |
-* |------+-------+-------+------+-------+-------| enter| | |--------+--------+--------+-------+------+------|
-* | F9 | F11 | F10 | F5 | TAB | cut |-------| |-------| end | pg dw | | | | |
-* `---------------------------------------------/ / \ \-----------------------------------------------'
-* | | SPE | | / / \ \ | | MENU | |
-* | | | |/ / \ \ | | | |
-* `--------------------------------' '-------''--------------------'
-*/
- [_LOWER] = LAYOUT(
- KC_ESC, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_DELETE,
- QK_BOOT, KC_F11, KC_F12, KC_DELETE, RCTL(FR_V), RCTL(FR_C), KC_HOME, KC_PGUP, KC_PSCR, RCTL(FR_Y), RCTL(KC_RIGHT), _______,
- _______,RCTL(FR_A), _______,RCTL(FR_S), RCTL(FR_Z), KC_BSPC, KC_LEFT, KC_DOWN, KC_UP, KC_RIGHT, _______, _______,
- KC_F9, KC_F11, KC_F10, KC_F5, LALT(KC_TAB), RCTL(FR_X), KC_ENT, _______, KC_END, KC_PGDN, _______, _______, _______, _______,
- _______,TT(_RAISE), _______, _______, _______, _______, KC_APP, _______),
-
-/* RAISE
-* ,-----------------------------------------. ,-------------------------------------------.
-* | | | | | | | | | | / | * | - | RGB TOG|
-* |------+------+------+------+------+------| |------+------+------+------+-----+--------|
-* | ` | [ | ] | | | | | ^ | 7 | 8 | 9 | + | RGB HUI|
-* |------+------+------+------+------+------| |------+------+------+------+-----+--------|
-* | | @ | | | & | € | # |-------. ,-------| $ | 4 | 5 | 6 | | |
-* |------+------+------+------+------+------| | | |------+------+------+------+-----+--------|
-* | F7 | F8 | F9 | F10 | # | F12 |-------| |-------| | 1 | 2 | 3 | | |
-* `-----------------------------------------/ / \ \------------------------------------------'
-* | | | | / / \ \ | | 0 | . |
-* | | | |/ / \ \ | | | |
-* `----------------------------' '------''---------------------'
-*/
- [_RAISE] = LAYOUT(
- _______, _______, _______, _______, _______, _______, _______, _______, KC_PSLS, KC_PAST, KC_PMNS, RGB_TOG,
- KC_GRV, FR_LBRC, FR_RBRC, _______, _______, _______, FR_EQL, KC_KP_7, KC_KP_8, KC_KP_9, KC_PPLS, RGB_HUI,
- _______, FR_AT, FR_PIPE, ALGR(KC_1), FR_EURO, FR_HASH, S(FR_EQL), KC_KP_4, KC_KP_5, KC_KP_6, _______, _______,
- KC_F7, KC_F8, KC_F9, KC_F10, FR_HASH, KC_F12, _______, _______, _______, KC_KP_1, KC_KP_2, KC_KP_3, _______, _______,
- _______, _______, _______, _______, _______, _______, KC_KP_0, KC_KP_DOT)
-};
-// clang-format on
-
-// sync transport
-typedef struct _sync_keycode_t {
- uint16_t keycode;
-} sync_keycode_t;
-
-// force rigth side to update
-bool b_sync_need_send = false;
-
-// last keycode typed
-sync_keycode_t last_keycode;
-
-oled_rotation_t oled_init_user(oled_rotation_t rotation) {
- // vertical orientation
- return OLED_ROTATION_270;
-}
-
-void render(gui_state_t t) {
- // logo
- render_logo(t);
-
-#if IS_LEFT
- // left side
- render_layer_frame(t);
- render_gears();
-
- decay_scope();
- render_scope(t);
-#endif
-
-#if IS_RIGHT
- // right side
- render_circle(t);
-#endif
-}
-
-void update(uint16_t keycode) {
-#if IS_LEFT
- update_scope();
-#endif
-
-#if IS_RIGHT
- update_circle(keycode);
-#endif
-}
-
-void reset(void) {
-#if IS_LEFT
- reset_scope();
-#endif
-
-#if IS_RIGHT
- reset_ring();
-#endif
-}
-
-void set_wackingup_mode_clean(void) {
- oled_clear();
- reset();
-}
-
-bool oled_task_user(void) {
- gui_state_t t = get_gui_state();
-
- // in sleep mode => turn display off
- if (t == _SLEEP) {
- oled_off();
- return false;
- }
-
- // not in sleep mode => screen is on
- oled_on();
-
-#ifdef WITH_BOOT
- // in booting mode => display booting animation
- if (t == _BOOTING) {
- bool boot_finished = render_boot();
- if (boot_finished) {
- // end of the boot : wacking up
- set_wackingup_mode_clean();
- update_gui_state();
- }
- return false;
- }
-#endif
-
- // in halting mode => display booting animation
- if (t == _HALTING) {
- render_halt();
- return false;
- }
-
- render(t);
- return false;
-}
-
-void process_key(uint16_t keycode) {
- // update screen with the new key
- update(keycode);
-
- gui_state_t t = get_gui_state();
-
- if (t == _IDLE) {
- // wake up animation
- reset();
- }
-
- if (t == _BOOTING || t == _HALTING) {
- // cancel booting or halting : waking_up
- set_wackingup_mode_clean();
- }
-
- if (t == _SLEEP) {
- // boot sequence
- set_wackingup_mode_clean();
- reset_boot();
- }
-
- update_gui_state();
-}
-
-void user_sync_a_slave_handler(uint8_t in_buflen, const void* in_data, uint8_t out_buflen, void* out_data) {
- const sync_keycode_t* m2s = (const sync_keycode_t*)in_data;
- // get the last char typed on left side and update the right side
- process_key(m2s->keycode);
-}
-
-void keyboard_post_init_user(void) {
- // callback for tranport sync data
- transaction_register_rpc(USER_SYNC_A, user_sync_a_slave_handler);
-}
-
-void housekeeping_task_user(void) {
- // only for master side
- if (!is_keyboard_master()) return;
-
- // only if a new char was typed
- if (!b_sync_need_send) return;
-
- // send the char to the slave side : sync is done
- if (transaction_rpc_send(USER_SYNC_A, sizeof(last_keycode), &last_keycode)) {
- b_sync_need_send = false;
- }
-}
-
-bool process_record_user(uint16_t keycode, keyrecord_t* record) {
- if (record->event.pressed) {
- // master : store keycode to sent to the other side to be process_key
- last_keycode.keycode = keycode;
- b_sync_need_send = true;
-
- // gui process the input
- process_key(keycode);
- }
- return true;
-}
-
-#if IS_LEFT
-layer_state_t layer_state_set_user(layer_state_t state) {
- // update the frame with the layer name
- update_layer_frame(state);
- return state;
-}
-#endif
diff --git a/keyboards/lily58/keymaps/druotoni/layer_frame.c b/keyboards/lily58/keymaps/druotoni/layer_frame.c
deleted file mode 100644
index 6f7ae1a253..0000000000
--- a/keyboards/lily58/keymaps/druotoni/layer_frame.c
+++ /dev/null
@@ -1,105 +0,0 @@
-// Copyright 2021 Nicolas Druoton (druotoni)
-// SPDX-License-Identifier: GPL-2.0-or-later
-
-#include QMK_KEYBOARD_H
-
-#include "gui_state.h"
-#include "layer_frame.h"
-#include "draw_helper.h"
-
-#define ANIM_LAYER_FRAME_DURATION 2
-#define ANIM_LAYER_FRAME_MAX 7
-
-// current layer
-uint8_t current_layer = _QWERTY;
-
-// layer animation stuff
-uint16_t anim_layer_frame_timer = 0;
-uint8_t current_layer_frame = ANIM_LAYER_FRAME_MAX;
-uint8_t layer_frame_destination = ANIM_LAYER_FRAME_MAX;
-
-// layer name for display
-const char* layer_name;
-static const char* layer_ref[3] = {LAYER_NAME_0, LAYER_NAME_1, LAYER_NAME_2};
-
-void update_layer_frame(layer_state_t state) {
- // reset timer
- anim_layer_frame_timer = timer_read();
-
- // direction for animation base on layer selected
- current_layer = get_highest_layer(state);
- if (current_layer == _QWERTY) {
- layer_frame_destination = 0;
- } else {
- layer_frame_destination = ANIM_LAYER_FRAME_MAX;
- }
-}
-
-static void draw_black_screen(void) {
- // clean frame center
- draw_rectangle_fill(3, 42, 26, 20, false);
- drawline_hr(17, 62, 12, false);
-}
-
-void render_gears(void) {
- // 64 bytes, 8x8 font, 8 characters, 32x16 image, 4 columns, 2 rows
- static const char PROGMEM raw_logo[] = {
- 0, 6, 6, 54, 118, 96, 230, 192, 192, 128, 0, 0, 0, 0, 0, 1, 2, 2, 2, 2, 2, 2, 18, 226, 2, 18, 226, 2, 18, 226, 2, 1, 0, 0, 0, 0, 0, 128, 128, 128, 185, 187, 187, 131, 128, 184, 128, 128, 128, 128, 128, 128, 128, 128, 128, 191, 128, 128, 191, 128, 128, 191, 128, 0,
- };
-
- // extra line for complete the gui
- oled_write_raw_P_cursor(0, 8, raw_logo, sizeof(raw_logo));
-}
-
-void render_layer_frame(gui_state_t t) {
- // 96 bytes, 8x8 font, 12 characters, 32x24 image, 4 columns, 3 rows
- static const char PROGMEM raw_logo[] = {
- 62, 1, 0, 56, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 124, 248, 241, 226, 4, 8, 240, 0, 28, 28, 28, 0, 0, 127, 4, 8, 16, 127, 0, 124, 18, 17, 18, 124, 0, 31, 32, 64, 32, 31, 0, 0, 0, 0, 255, 255, 0, 0, 255, 62, 64, 64, 78, 78, 78, 78, 78, 78, 78, 78, 78, 78, 78, 142, 30, 62, 126, 126, 70, 70, 126, 70, 70, 126, 70, 70, 127, 127, 0, 0, 255,
- };
- oled_write_raw_P_cursor(0, 5, raw_logo, sizeof(raw_logo));
-
- // extra line for complete the gui
- drawline_hr(2, 39, 25, 1);
-
- if (current_layer_frame != layer_frame_destination) {
- if (timer_elapsed(anim_layer_frame_timer) > ANIM_LAYER_FRAME_DURATION) {
- anim_layer_frame_timer = timer_read();
-
- if (layer_frame_destination > current_layer_frame) {
- current_layer_frame++;
- } else {
- current_layer_frame--;
- }
- }
-
- // black screen
- draw_black_screen();
-
- // gradient animation on layer selection
- draw_gradient(3, 42, current_layer_frame * 4, 10, 0, 255, 7);
- draw_gradient(3 + (27 - current_layer_frame * 4), 57, current_layer_frame * 4, 6, 255, 0, 7);
-
- drawline_hr(3, 46, 22, false);
- drawline_hr(3, 47, 23, false);
-
- draw_rectangle_fill(3, 55, 24, 2, false);
- draw_rectangle_fill(24, 48, 3, 7, false);
-
- draw_rectangle_fill(3, 60, 12, 2, false);
- oled_write_pixel(15, 61, false);
- drawline_hr(14, 62, 3, false);
- drawline_hr(14, 62, 3, false);
- drawline_hr(3, 62, 11, true);
- }
-
- // get current layer name
- layer_name = layer_ref[current_layer];
-
- // gui on pause : no layer name on screen
- if (t == _IDLE || t == _SLEEP || t == _WAKINGUP) {
- layer_name = " ";
- }
-
- // display layer name in the frame
- oled_write_cursor(1, 6, layer_name, false);
-}
diff --git a/keyboards/lily58/keymaps/druotoni/layer_frame.h b/keyboards/lily58/keymaps/druotoni/layer_frame.h
deleted file mode 100644
index abbd948395..0000000000
--- a/keyboards/lily58/keymaps/druotoni/layer_frame.h
+++ /dev/null
@@ -1,15 +0,0 @@
-// Copyright 2021 Nicolas Druoton (druotoni)
-// SPDX-License-Identifier: GPL-2.0-or-later
-
-#pragma once
-
-// layer name : must be 3 chars
-#define LAYER_NAME_0 "ABC"
-#define LAYER_NAME_1 "NAV"
-#define LAYER_NAME_2 "SPE"
-
-enum layer_number { _QWERTY = 0, _LOWER, _RAISE };
-
-void render_gears(void);
-void render_layer_frame(gui_state_t t);
-void update_layer_frame(layer_state_t state); \ No newline at end of file
diff --git a/keyboards/lily58/keymaps/druotoni/navi_font.c b/keyboards/lily58/keymaps/druotoni/navi_font.c
deleted file mode 100644
index 2412256e61..0000000000
--- a/keyboards/lily58/keymaps/druotoni/navi_font.c
+++ /dev/null
@@ -1,139 +0,0 @@
-// Copyright 2021 Nicolas Druoton (druotoni)
-// SPDX-License-Identifier: GPL-2.0-or-later
-
-// This is the 'classic' fixed-space bitmap font for Adafruit_GFX since 1.0.
-// See gfxfont.h for newer custom bitmap font info.
-
-#include "progmem.h"
-
-// Standard ASCII 5x7 font
-const unsigned char font[] PROGMEM = {
- 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
- 0x42, 0x3A, 0x12, 0x12, 0x0E, 0x00,
- 0x0C, 0x44, 0x47, 0x24, 0x1C, 0x00,
- 0x24, 0x24, 0x14, 0x7F, 0x04, 0x00,
- 0x42, 0x3F, 0x02, 0x22, 0x1E, 0x00,
- 0x0A, 0x0A, 0x7F, 0x0A, 0x0A, 0x00,
- 0x02, 0x47, 0x42, 0x22, 0x1F, 0x00,
- 0x21, 0x15, 0x09, 0x15, 0x63, 0x00,
- 0x44, 0x44, 0x3F, 0x04, 0x04, 0x00,
- 0x22, 0x1A, 0x02, 0x7F, 0x12, 0x00,
- 0x22, 0x22, 0x12, 0x0A, 0x06, 0x00,
- 0x08, 0x47, 0x42, 0x22, 0x1E, 0x00,
- 0x10, 0x52, 0x54, 0x30, 0x16, 0x00,
- 0x40, 0x3A, 0x02, 0x3E, 0x42, 0x00,
- 0x5E, 0x52, 0x52, 0x52, 0x5E, 0x00,
- 0x04, 0x27, 0x44, 0x44, 0x3C, 0x00,
- 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
- 0x77, 0x00, 0x77, 0x00, 0x77, 0x00,
- 0x14, 0x22, 0x7F, 0x22, 0x14, 0x00,
- 0x5F, 0x5F, 0x00, 0x5F, 0x5F, 0x00,
- 0x06, 0x09, 0x7F, 0x01, 0x7F, 0x00,
- 0x00, 0x66, 0x89, 0x95, 0x6A, 0x00,
- 0x60, 0x60, 0x60, 0x60, 0x60, 0x00,
- 0x94, 0xA2, 0xFF, 0xA2, 0x94, 0x00,
- 0x08, 0x04, 0x7E, 0x04, 0x08, 0x00,
- 0x10, 0x20, 0x7E, 0x20, 0x10, 0x00,
- 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
- 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
- 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
- 0x00, 0x1C, 0x1C, 0x1C, 0x00, 0x00,
- 0x00, 0x08, 0x1C, 0x08, 0x00, 0x00,
- 0x00, 0x00, 0x08, 0x00, 0x00, 0x00,
- 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
- 0x00, 0x00, 0x5F, 0x00, 0x00, 0x00,
- 0x00, 0x07, 0x00, 0x07, 0x00, 0x00,
- 0x14, 0x7F, 0x14, 0x7F, 0x14, 0x00,
- 0x24, 0x2A, 0x7F, 0x2A, 0x12, 0x00,
- 0x23, 0x13, 0x08, 0x64, 0x62, 0x00,
- 0x36, 0x49, 0x56, 0x20, 0x50, 0x00,
- 0x00, 0x08, 0x07, 0x03, 0x00, 0x00,
- 0x00, 0x1C, 0x22, 0x41, 0x00, 0x00,
- 0x00, 0x41, 0x22, 0x1C, 0x00, 0x00,
- 0x2A, 0x1C, 0x7F, 0x1C, 0x2A, 0x00,
- 0x08, 0x08, 0x3E, 0x08, 0x08, 0x00,
- 0x00, 0x80, 0x70, 0x30, 0x00, 0x00,
- 0x08, 0x08, 0x08, 0x08, 0x08, 0x00,
- 0x00, 0x00, 0x60, 0x60, 0x00, 0x00,
- 0x20, 0x10, 0x08, 0x04, 0x02, 0x00,
- 0x3E, 0x51, 0x49, 0x45, 0x3E, 0x00,
- 0x00, 0x42, 0x7F, 0x40, 0x00, 0x00,
- 0x72, 0x49, 0x49, 0x49, 0x46, 0x00,
- 0x21, 0x41, 0x49, 0x4D, 0x33, 0x00,
- 0x18, 0x14, 0x12, 0x7F, 0x10, 0x00,
- 0x27, 0x45, 0x45, 0x45, 0x39, 0x00,
- 0x3C, 0x4A, 0x49, 0x49, 0x31, 0x00,
- 0x41, 0x21, 0x11, 0x09, 0x07, 0x00,
- 0x36, 0x49, 0x49, 0x49, 0x36, 0x00,
- 0x46, 0x49, 0x49, 0x29, 0x1E, 0x00,
- 0x00, 0x00, 0x14, 0x00, 0x00, 0x00,
- 0x00, 0x40, 0x34, 0x00, 0x00, 0x00,
- 0x00, 0x08, 0x14, 0x22, 0x41, 0x00,
- 0x14, 0x14, 0x14, 0x14, 0x14, 0x00,
- 0x00, 0x41, 0x22, 0x14, 0x08, 0x00,
- 0x02, 0x01, 0x59, 0x09, 0x06, 0x00,
- 0x3E, 0x41, 0x5D, 0x59, 0x4E, 0x00,
- 0x7C, 0x12, 0x11, 0x12, 0x7C, 0x00,
- 0x7F, 0x49, 0x49, 0x49, 0x36, 0x00,
- 0x3E, 0x41, 0x41, 0x41, 0x22, 0x00,
- 0x7F, 0x41, 0x41, 0x41, 0x3E, 0x00,
- 0x7F, 0x49, 0x49, 0x49, 0x41, 0x00,
- 0x7F, 0x09, 0x09, 0x09, 0x01, 0x00,
- 0x3E, 0x41, 0x41, 0x51, 0x73, 0x00,
- 0x7F, 0x08, 0x08, 0x08, 0x7F, 0x00,
- 0x00, 0x41, 0x7F, 0x41, 0x00, 0x00,
- 0x20, 0x40, 0x41, 0x3F, 0x01, 0x00,
- 0x7F, 0x08, 0x14, 0x22, 0x41, 0x00,
- 0x7F, 0x40, 0x40, 0x40, 0x40, 0x00,
- 0x7F, 0x02, 0x1C, 0x02, 0x7F, 0x00,
- 0x7F, 0x04, 0x08, 0x10, 0x7F, 0x00,
- 0x3E, 0x41, 0x41, 0x41, 0x3E, 0x00,
- 0x7F, 0x09, 0x09, 0x09, 0x06, 0x00,
- 0x3E, 0x41, 0x51, 0x21, 0x5E, 0x00,
- 0x7F, 0x09, 0x19, 0x29, 0x46, 0x00,
- 0x26, 0x49, 0x49, 0x49, 0x32, 0x00,
- 0x03, 0x01, 0x7F, 0x01, 0x03, 0x00,
- 0x3F, 0x40, 0x40, 0x40, 0x3F, 0x00,
- 0x1F, 0x20, 0x40, 0x20, 0x1F, 0x00,
- 0x3F, 0x40, 0x38, 0x40, 0x3F, 0x00,
- 0x63, 0x14, 0x08, 0x14, 0x63, 0x00,
- 0x03, 0x04, 0x78, 0x04, 0x03, 0x00,
- 0x61, 0x59, 0x49, 0x4D, 0x43, 0x00,
- 0x00, 0x7F, 0x41, 0x41, 0x41, 0x00,
- 0x02, 0x04, 0x08, 0x10, 0x20, 0x00,
- 0x00, 0x41, 0x41, 0x41, 0x7F, 0x00,
- 0x04, 0x02, 0x01, 0x02, 0x04, 0x00,
- 0x40, 0x40, 0x40, 0x40, 0x40, 0x00,
- 0x00, 0x03, 0x07, 0x08, 0x00, 0x00,
- 0x20, 0x54, 0x54, 0x78, 0x40, 0x00,
- 0x7F, 0x28, 0x44, 0x44, 0x38, 0x00,
- 0x38, 0x44, 0x44, 0x44, 0x28, 0x00,
- 0x38, 0x44, 0x44, 0x28, 0x7F, 0x00,
- 0x38, 0x54, 0x54, 0x54, 0x18, 0x00,
- 0x00, 0x08, 0x7E, 0x09, 0x02, 0x00,
- 0x18, 0x24, 0x24, 0x1C, 0x78, 0x00,
- 0x7F, 0x08, 0x04, 0x04, 0x78, 0x00,
- 0x00, 0x44, 0x7D, 0x40, 0x00, 0x00,
- 0x20, 0x40, 0x40, 0x3D, 0x00, 0x00,
- 0x7F, 0x10, 0x28, 0x44, 0x00, 0x00,
- 0x00, 0x41, 0x7F, 0x40, 0x00, 0x00,
- 0x7C, 0x04, 0x78, 0x04, 0x78, 0x00,
- 0x7C, 0x08, 0x04, 0x04, 0x78, 0x00,
- 0x38, 0x44, 0x44, 0x44, 0x38, 0x00,
- 0x7C, 0x18, 0x24, 0x24, 0x18, 0x00,
- 0x18, 0x24, 0x24, 0x18, 0x7C, 0x00,
- 0x7C, 0x08, 0x04, 0x04, 0x08, 0x00,
- 0x48, 0x54, 0x54, 0x54, 0x24, 0x00,
- 0x04, 0x04, 0x3F, 0x44, 0x24, 0x00,
- 0x3C, 0x40, 0x40, 0x20, 0x7C, 0x00,
- 0x1C, 0x20, 0x40, 0x20, 0x1C, 0x00,
- 0x3C, 0x40, 0x30, 0x40, 0x3C, 0x00,
- 0x44, 0x28, 0x10, 0x28, 0x44, 0x00,
- 0x4C, 0x90, 0x90, 0x90, 0x7C, 0x00,
- 0x44, 0x64, 0x54, 0x4C, 0x44, 0x00,
- 0x00, 0x08, 0x36, 0x41, 0x00, 0x00,
- 0x00, 0x00, 0x77, 0x00, 0x00, 0x00,
- 0x00, 0x41, 0x36, 0x08, 0x00, 0x00,
- 0x02, 0x01, 0x02, 0x04, 0x02, 0x00,
- 0x3C, 0x26, 0x23, 0x26, 0x3C, 0x00
-};
diff --git a/keyboards/lily58/keymaps/druotoni/navi_logo.c b/keyboards/lily58/keymaps/druotoni/navi_logo.c
deleted file mode 100644
index 6041aa5ebc..0000000000
--- a/keyboards/lily58/keymaps/druotoni/navi_logo.c
+++ /dev/null
@@ -1,117 +0,0 @@
-// Copyright 2021 Nicolas Druoton (druotoni)
-// SPDX-License-Identifier: GPL-2.0-or-later
-
-#include QMK_KEYBOARD_H
-
-#include "gui_state.h"
-#include "navi_logo.h"
-#include "fast_random.h"
-#include "draw_helper.h"
-
-#define LOGO_SIZE 128
-
-// glitch stuff
-#define GLITCH_FRAME_NUMBER 11
-
-uint8_t current_glitch_index = 0;
-int current_glitch_time = 150;
-uint32_t glitch_timer = 0;
-
-static void render_logo_clean(void) {
- // your logo here
- static const char PROGMEM raw_logo[] = {
- 0, 0, 0, 0, 0, 0, 128, 128, 0, 0, 128, 128, 192, 192, 204, 222, 222, 204, 192, 192, 128, 0, 0, 0, 128, 128, 0, 0, 0, 0, 0, 0, 192, 240, 248, 28, 14, 7, 3, 249, 252, 255, 15, 7, 3, 225, 241, 241, 241, 241, 225, 3, 7, 15, 255, 252, 249, 3, 7, 14, 28, 248, 240, 192, 192, 227, 231, 206, 28, 56, 112, 99, 15, 31, 60, 120, 240, 225, 227, 3, 3, 227, 225, 240, 120, 60, 31, 15, 103, 112, 56, 28, 206, 231, 227, 192, 0, 1, 1, 0, 0, 0, 56, 120, 96, 192, 192, 192, 96, 127, 63, 0, 0, 63, 127, 96, 192, 192, 192, 96, 120, 56, 0, 0, 0, 1, 1, 0,
- };
- oled_write_raw_P(raw_logo, sizeof(raw_logo));
-}
-
-void render_glitch_bar(uint8_t x, uint8_t y, uint8_t width, uint8_t height, uint8_t iProb) {
- // random horizontal scanlines
- for (uint8_t i = 0; i < height; i++) {
- bool bGenerateGlitch = (fastrand() % 100) < iProb;
-
- if (bGenerateGlitch) {
- drawline_hr(x, y + i, width, true);
- }
- }
-}
-
-void render_misc_glitch(uint8_t algo) {
- char c = 0;
- switch (algo) {
- case 7:
- // invert
- for (uint8_t i = 0; i < LOGO_SIZE; i++) {
- c = get_oled_char(i);
- oled_write_raw_byte(~(c), i);
- }
- break;
-
- case 8:
- // wobble
- for (uint8_t i = 0; i < LOGO_SIZE; i++) {
- if (i < LOGO_SIZE - 1) {
- copy_pixel(i + 1, -1, 85);
-
- copy_pixel(LOGO_SIZE - 1 - 1 - i, 1, 170);
- }
- }
- break;
- }
-}
-
-static void render_logo_glitch(void) {
-#ifdef WITH_GLITCH
- // get a random glitch index
- uint8_t glitch_prob = get_glitch_probability();
- get_glitch_index(&glitch_timer, &current_glitch_time, &current_glitch_index, 0, 150, glitch_prob, GLITCH_FRAME_NUMBER);
-
- // no glitch
- if (current_glitch_index <= 3) {
- render_logo_clean();
- return;
- }
-
- // glitch time !
- switch (current_glitch_index) {
- case 4:
- move_block(1, 11, 24, 3, 5);
- move_block(2, 19, 14, 3, 4);
- move_block(9, 22, 7, 4, 4);
- return;
-
- case 5:
- move_block(6, 25, 20, 7, 4);
- move_block(0, 8, 32, 8, 7);
- return;
- case 6:
- move_block(3, 7, 27, 4, -3);
- move_block(13, 23, 19, 4, -4);
- return;
-
- case 7:
- case 8:
- render_misc_glitch(current_glitch_index);
- return;
-
- case 9:
- render_glitch_bar(0, 0, 32, 32, 25);
- return;
-
- case 10:
- draw_static(0, 0, 32, 32, true, 0);
- return;
- }
-#endif
-}
-
-void render_logo(gui_state_t t) {
- if (t == _IDLE) {
- // on idle : glitch time !
- render_logo_glitch();
- return;
- }
-
- // standart logo
- render_logo_clean();
-}
diff --git a/keyboards/lily58/keymaps/druotoni/navi_logo.h b/keyboards/lily58/keymaps/druotoni/navi_logo.h
deleted file mode 100644
index 3504568e5d..0000000000
--- a/keyboards/lily58/keymaps/druotoni/navi_logo.h
+++ /dev/null
@@ -1,7 +0,0 @@
-// Copyright 2021 Nicolas Druoton (druotoni)
-// SPDX-License-Identifier: GPL-2.0-or-later
-
-#pragma once
-
-void render_logo(gui_state_t t);
-
diff --git a/keyboards/lily58/keymaps/druotoni/readme.md b/keyboards/lily58/keymaps/druotoni/readme.md
deleted file mode 100644
index c6d47da5d7..0000000000
--- a/keyboards/lily58/keymaps/druotoni/readme.md
+++ /dev/null
@@ -1,133 +0,0 @@
-# HELL0 NAVI. Interface
-
-HELL0 NAVI. Interface is a GUI based en [Serial Experiments Lain](https://en.wikipedia.org/wiki/Serial_Experiments_Lain). Turn your [Lily58](https://github.com/kata0510/Lily58) keyboard into a Navi computer with its own Copland OS.
-
-
-Ready to dive into the Wired ?
-
-
-HELL0 NAVI provides interactive animations for both sides :
-- a scope on left side for burst, WPM and active layer
-- a ring on right side for the last key stroke
-
-
-
-
-
-
-
-## Typing animation
-
-The scope displays your burst time on a chart. The WPM is represented by an horizontal line.
-
-The ring display the last letter in the upper frame. Each time you enter a key, the Navi searches into the circular database and locks the position. A special animation is displayed when Enter, Backspce or Escape are struck.
-
-<img src="https://imgur.com/Yf7D6UN.gif" height="400" >
-
-## Startup animation
-
-Your Navi boots when it leaves the sleep mode. The animation can be canceled by typing.
-
-
-
-<img src="https://imgur.com/EXU92Ev.gif" height="400" >
-
-
-
-## Waking up animation
-
-After a period of inactivity, the scope and the ring turn off and the Navi runs in Idle mode. A new key stroke wakes them up.
-
-
-<img src="https://imgur.com/9GWa7rR.gif" height="400" >
-
-
-## Idle animation
-
-The Copland OS is still in beta test. After a while, some visual glitches will occur.
-
-
-<img src="https://imgur.com/eKZ7qgC.gif" height="400" >
-
-
-
-## Shutdown animation
-The Navi runs in sleep mode after 10 seconds in Idle mode. A nice (and difficul to render in a gif) animation is run. The OLED display turns off.
-
-# How to build & flash
-
-You need to flash each side with a specific version based on config.h configuration.
-
- ## Left side (master)
-
-IS_RIGHT needs to be commented in config.h
-```
-#define IS_LEFT 1
-//#define IS_RIGHT 1
-```
-Connect the left side and flash
-
- ## Right side (slave)
-
-Comment IS_LEFT and uncomment IS_RIGHT in config.h
-```
-//#define IS_LEFT 1
-#define IS_RIGHT 1
-```
-Connect the right side and flash
-
-# Customization
-
-## Logo
-Logo can be change in navi_logo.c.
-The new logo must be 32x32 pixels.
-```
-static void render_logo_clean(void) {
- // your logo here
- static const char PROGMEM logo_raw[] = {
- 0, 0, 0, 0, 0, 0, 128, 128, 0, 0, 128, 128, 192, 192, 204, 222, 222, 204, 192, 192, 128, 0, 0, 0, 128, 128, 0, 0,
- 0, 0, 0, 0, 192, 240, 248, 28, 14, 7, 3, 249, 252, 255, 15, 7, 3, 225, 241, 241, 241, 241, 225, 3, 7, 15, 255, 252,
- 249, 3, 7, 14, 28, 248, 240, 192, 192, 227, 231, 206, 28, 56, 112, 99, 15, 31, 60, 120, 240, 225, 227, 3, 3, 227,
- 225, 240, 120, 60, 31, 15, 103, 112, 56, 28, 206, 231, 227, 192, 0, 1, 1, 0, 0, 0, 56, 120, 96, 192, 192, 192,
- 96, 127, 63, 0, 0, 63, 127, 96, 192, 192, 192, 96, 120, 56, 0, 0, 0, 1, 1, 0,
- };
- oled_write_raw_P(logo_raw, sizeof(logo_raw));
-}
-```
-## Layer names
-
-The current version handle 3 differents layers. Names can be changed in layer_frame.h.
-```
-// layer name : must be 3 chars
-#define LAYER_NAME_0 "ABC"
-#define LAYER_NAME_1 "NAV"
-#define LAYER_NAME_2 "SPE"
-```
-
-## Timing
-
-You can tweak states timing in gui_state.h.
-```
-// states timing
-#define BOOTING_TIME_TRESHOLD 7000
-#define WAKING_UP_TIME_TRESHOLD 300
-#define IDLE_TIME_TRESHOLD 4000
-#define HALTING_TIME_TRESHOLD IDLE_TIME_TRESHOLD + 6000
-#define SLEEP_TIME_TRESHOLD HALTING_TIME_TRESHOLD + 8000
-```
-
-## Need space ?
-Boot and gliches can be commented in config.h
-```
-// states timing
-// logo glitch
-//#define WITH_GLITCH
-// boot sequence
-//#define WITH_BOOT
-```
-
-![My Navi](https://imgur.com/eYkgoZJ.png)
-> Keyboard : https://github.com/kata0510/Lily58
->
-> Case : https://github.com/BoardSodie/Lily58-Acrylic-Case
-
diff --git a/keyboards/lily58/keymaps/druotoni/ring.c b/keyboards/lily58/keymaps/druotoni/ring.c
deleted file mode 100644
index e3b7472872..0000000000
--- a/keyboards/lily58/keymaps/druotoni/ring.c
+++ /dev/null
@@ -1,494 +0,0 @@
-// Copyright 2021 Nicolas Druoton (druotoni)
-// SPDX-License-Identifier: GPL-2.0-or-later
-
-#include QMK_KEYBOARD_H
-#include "gui_state.h"
-#include "ring.h"
-
-#include "fast_random.h"
-#include "draw_helper.h"
-
-char tListeTotal[SIZE_ARRAY_1] = {'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P'};
-char tListeTotal2[SIZE_ARRAY_1] = {'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z', ',', '.', '/', '1', '2', '3'};
-
-static char tRefArc[SIZE_ARRAY_1] = {'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P'};
-static char tRefArc2[SIZE_ARRAY_1] = {'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z', ',', '.', '/', '1', '2', '3'};
-
-// ring target and previous char
-char c_target = 'A';
-char c_target2 = 'Q';
-char c_last = ' ';
-char c_previous = ' ';
-
-static const char PROGMEM code_to_name[60] = {' ', ' ', ' ', ' ', 'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z', '1', '2', '3', '4', '5', '6', '7', '8', '9', '0', 'R', 'E', 'B', 'T', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ';', '\'', ' ', ',', '.', '/', ' ', ' ', ' '};
-
-// main circle
-#define CIRCLE_ANIM_FRAME_DURATION 40
-uint16_t circle_timer = 0;
-
-// special animation for special keys
-#define ANIM_CENTER_FRAME_NUMBER 5
-#define ANIM_CENTER_FRAME_DURATION 40
-uint16_t anim_center_timer = 0;
-uint8_t anim_center_current_frame = 0;
-
-// sleep animation
-#define ANIM_SLEEP_RING_FRAME_NUMBER 9
-#define ANIM_SLEEP_RING_FRAME_DURATION 20
-uint16_t anim_sleep_ring_timer = 0;
-uint8_t current_sleep_ring_frame = 0;
-uint8_t sleep_ring_frame_destination = ANIM_SLEEP_RING_FRAME_NUMBER - 1;
-
-// glitch animation
-uint16_t anim_ring_idle_timer = 0;
-int current_glitch_ring_time = 150;
-uint32_t glitch_ring_timer = 0;
-uint8_t current_glitch_ring_index = 0;
-
-// central frame keylog animation
-#define ANIM_KEYLOG_FRAME_NUMBER 8
-#define ANIM_KEYLOG_FRAME_DURATION 20
-uint8_t anim_keylog_current_frame = 0;
-uint16_t anim_keylog_timer = 0;
-
-static const char PROGMEM raw_ring_sleep[4][64] = {{
- 192, 32, 16, 8, 4, 4, 4, 2, 2, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 4, 4, 4, 8, 16, 32, 192, 3, 4, 8, 16, 32, 32, 32, 64, 64, 64, 64, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 64, 64, 64, 64, 32, 32, 32, 16, 8, 4, 3,
- },
-
- {
- 128, 64, 32, 32, 16, 16, 16, 16, 16, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 16, 16, 16, 16, 16, 32, 32, 64, 128, 0, 1, 2, 2, 4, 4, 4, 4, 4, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 4, 4, 4, 4, 4, 2, 2, 1, 0,
- },
-
- {
- 248, 192, 128, 128, 128, 128, 128, 128, 128, 0, 0, 128, 0, 0, 0, 0, 0, 0, 0, 0, 128, 0, 0, 128, 128, 128, 128, 128, 128, 128, 192, 248, 15, 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, 1, 15,
- },
-
- {
- 255, 240, 128, 128, 0, 128, 128, 0, 0, 128, 128, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 128, 128, 0, 0, 128, 128, 0, 128, 128, 248, 255, 255, 7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 7, 255,
- }};
-
-static const char PROGMEM raw_circle[4][128] = {{
- 0, 0, 0, 192, 32, 16, 8, 8, 4, 2, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 4, 8, 8, 16, 32, 192, 0, 0, 0, 240, 14, 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, 129, 238, 240, 15, 112, 128, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 128, 192, 240, 255, 127, 15, 0, 0, 0, 3, 4, 8, 16, 16, 32, 64, 64, 64, 128, 128, 192, 192, 224, 224, 224, 240, 112, 120, 124, 60, 30, 30, 15, 7, 3, 0, 0, 0,
- },
- {
- 0, 0, 0, 192, 32, 16, 8, 8, 4, 2, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 4, 8, 8, 48, 224, 192, 0, 0, 0, 240, 14, 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, 1, 255, 255, 254, 240, 15, 112, 128, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 128, 128, 192, 224, 240, 248, 248, 254, 255, 255, 127, 15, 0, 0, 0, 3, 7, 15, 31, 30, 62, 126, 126, 126, 254, 254, 254, 254, 254, 255, 255, 255, 127, 127, 127, 63, 31, 31, 15, 7, 3, 0, 0, 0,
- },
- {
- 0, 0, 0, 192, 32, 16, 8, 8, 4, 2, 2, 2, 1, 1, 1, 1, 3, 15, 255, 255, 254, 254, 254, 252, 248, 248, 240, 224, 192, 0, 0, 0, 240, 14, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 128, 128, 192, 240, 248, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 254, 240, 15, 126, 252, 248, 248, 248, 248, 248, 252, 252, 254, 254, 255, 255, 255, 255, 255, 255, 255, 127, 63, 31, 15, 7, 7, 3, 3, 3, 7, 143, 127, 15, 0, 0, 0, 3, 7, 15, 31, 31, 63, 127, 127, 127, 255, 255, 255, 255, 255, 255, 195, 128, 64, 64, 64, 32, 16, 16, 8, 4, 3, 0, 0, 0,
- },
- {
- 0, 0, 0, 192, 224, 240, 248, 248, 124, 62, 30, 14, 15, 7, 7, 3, 3, 3, 1, 1, 2, 2, 2, 4, 8, 8, 16, 32, 192, 0, 0, 0, 240, 254, 255, 31, 15, 3, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 14, 240, 15, 115, 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, 128, 112, 15, 0, 0, 0, 3, 4, 8, 16, 16, 32, 64, 64, 64, 128, 128, 128, 128, 128, 128, 128, 128, 64, 64, 64, 32, 16, 16, 8, 4, 3, 0, 0, 0,
- }};
-
-static const char PROGMEM raw_bottom[] = {
- 127, 192, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 192, 127,
-};
-
-static const char PROGMEM raw_middle[] = {
- 240, 8, 4, 226, 241, 248, 124, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 56, 0, 1, 62, 255, 0, 0, 255, 255, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 28, 28, 28, 0, 255, 0, 0, 127, 127, 70, 70, 126, 70, 70, 126, 70, 70, 126, 126, 62, 30, 142, 78, 78, 78, 78, 78, 78, 78, 78, 78, 78, 78, 64, 64, 62, 1, 2, 114, 114, 2, 2, 114, 114, 2, 2, 114, 114, 2, 2, 2, 2, 1, 0, 0, 0, 128, 64, 64, 64, 64, 64, 64, 64, 64, 64, 128, 0, 0, 128, 131, 131, 132, 136, 179, 131, 132, 184, 131, 131, 188, 128, 128, 128, 128, 128, 128, 128, 143, 144, 149, 144, 149, 144, 149, 144, 149, 144, 143, 0,
-};
-
-static void rotate_right(char str[]) {
- uint8_t iSize = SIZE_ARRAY_1;
- char cFist = str[0];
-
- // rotate array to the right
- for (uint8_t i = 0; i < iSize - 1; i++) {
- str[i] = str[i + 1];
- }
- str[iSize - 1] = cFist;
-}
-
-static void rotate_left(char str[]) {
- uint8_t iSize = SIZE_ARRAY_1;
- char cLast = str[iSize - 1];
-
- // rotate array to the left
- for (uint8_t i = iSize - 1; i > 0; i--) {
- str[i] = str[i - 1];
- }
- str[0] = cLast;
-}
-
-static signed char GetPosition(char c, char tListe[]) {
- uint8_t iSize = SIZE_ARRAY_1;
-
- // find position of c in the array
- for (uint8_t i = 0; i < iSize; i++) {
- if (tListe[i] == c) return i;
- }
-
- // not found
- return -1;
-}
-
-static signed char GetDistance(char cNew, char tListe[]) {
- signed char iPositionNew = GetPosition(cNew, tListe);
- if (iPositionNew == -1) {
- // not found
- return 0;
- }
-
- return iPositionNew - CURSOR_1;
-}
-
-static bool TesterEstDansListe(char c, char tListe[]) {
- // char in the list ?
- return GetPosition(c, tListe) != -1;
-}
-
-static void SmartRotation(char c, char tListe[]) {
- signed char i = GetDistance(c, tListe);
- if (i == 0) return;
-
- // rotate in the shorter way
- if (i < 0) {
- rotate_left(tListe);
- return;
- }
-
- if (i > 0) {
- rotate_right(tListe);
- return;
- }
-}
-
-static void update_list(char cNouveau, char tListe[]) {
- signed char iDistance = GetDistance(cNouveau, tListe);
- if (iDistance != 0) {
- // the new char is in the list : rotation
- SmartRotation(cNouveau, tListe);
- }
-}
-
-static void draw_arc_sector_16(uint8_t x, uint8_t y, uint8_t radius, int position, bool color) {
- unsigned int s = 1;
- s = s << (position / 2);
-
- if (position % 4 == 0 || position % 4 == 3) {
- draw_arc_sector(x, y, radius, s, 1, color);
- } else {
- draw_arc_sector(x, y, radius, s, 2, color);
- }
-}
-
-static void render_set(uint8_t x, uint8_t y, uint8_t r, int p, bool color) {
- // 2 pixels arc sector
- draw_arc_sector_16(x, y, r, p, color);
- draw_arc_sector_16(x, y, r - 1, p, color);
-}
-
-static void draw_letter_circle(char t[], char tRef[], char ct, uint8_t x, uint8_t y, uint8_t r, bool invert) {
- char c = t[CURSOR_1];
-
- signed char p = GetPosition(c, tRef);
- signed char pt = GetPosition(ct, tRef);
-
- if (!invert) {
- draw_fill_circle(x, y, r, false);
- draw_circle(x, y, r, false);
- draw_circle(x, y, r - 1, false);
- draw_circle(x, y, r - 2, false);
- draw_circle(x, y, r - 4, true);
- draw_circle(x, y, r - 5, true);
- }
-
- int pafter = (pt + 1) % SIZE_ARRAY_1;
- int pbefore = (pt + SIZE_ARRAY_1 - 1) % SIZE_ARRAY_1;
- render_set(x, y, r, pt, true);
- render_set(x, y, r, pafter, true);
- render_set(x, y, r, pbefore, true);
-
- pafter = (pt + 2) % SIZE_ARRAY_1;
- pbefore = (pt + SIZE_ARRAY_1 - 2) % SIZE_ARRAY_1;
- render_set(x, y, r, pafter, true);
- render_set(x, y, r, pbefore, true);
-
- r -= 4;
-
- pafter = (p + 1) % SIZE_ARRAY_1;
- pbefore = (p + SIZE_ARRAY_1 - 1) % SIZE_ARRAY_1;
-
- render_set(x, y, r, p, false);
- render_set(x, y, r, pafter, false);
- render_set(x, y, r, pbefore, false);
-
- draw_circle(x, y, r - 6, true);
-}
-
-static void draw_center_circle_frame(uint8_t x, uint8_t y, uint8_t r, uint8_t f) {
- draw_fill_circle(x, y, r, 0);
- draw_circle(x, y, r, 0);
-
- if (f == 0) {
- draw_circle(x, y, r, 1);
- } else {
- // animation
- oled_write_raw_P_cursor(0, 11, raw_circle[f - 1], sizeof(raw_circle[f - 1]));
- }
-}
-
-static void render_anim_center_circle(uint8_t x, uint8_t y, uint8_t r) {
- if (anim_center_current_frame == ANIM_CENTER_FRAME_NUMBER) {
- // last frame : no animation
- return;
- }
-
- if (timer_elapsed(anim_center_timer) > ANIM_CENTER_FRAME_DURATION) {
- anim_center_timer = timer_read();
-
- draw_center_circle_frame(x, y, r, anim_center_current_frame);
-
- anim_center_current_frame++;
- }
-}
-
-static void write_char(char c) {
- // write keylog char in the frame then offset to center
- oled_set_cursor(2, 6);
- oled_write_char(c, false);
- move_block(12, 48, 6, 8, 2);
-}
-
-static void render_keylog(gui_state_t t) {
- if (anim_keylog_current_frame != ANIM_KEYLOG_FRAME_NUMBER) {
- if (timer_elapsed(anim_keylog_timer) > ANIM_KEYLOG_FRAME_DURATION) {
- // update frame number
- anim_keylog_timer = timer_read();
- anim_keylog_current_frame++;
- }
-
- // clean frame
- draw_rectangle_fill(7, 46, 21, 11, false);
-
- // comb motion to merge current and previous
- if (anim_keylog_current_frame < ANIM_KEYLOG_FRAME_NUMBER / 2) {
- // expand the previous char
- write_char(c_previous);
- draw_glitch_comb(9, 6 * 8, 18, 8, anim_keylog_current_frame + 1, true);
- } else {
- // shrink the current char
- write_char(c_last);
- draw_glitch_comb(9, 6 * 8, 18, 8, ANIM_KEYLOG_FRAME_NUMBER - anim_keylog_current_frame, false);
- }
-
- return;
- }
-
- write_char(c_last);
-}
-
-void reset_ring(void) {
- // need to open
- anim_sleep_ring_timer = timer_read();
- current_sleep_ring_frame = ANIM_SLEEP_RING_FRAME_NUMBER - 1;
- sleep_ring_frame_destination = 0;
-}
-
-static void render_tv_circle(uint8_t x, uint8_t y, uint8_t r, uint8_t f) {
- // raw image
- if (f == 2 || f == 3) {
- oled_write_raw_P_cursor(0, 12, raw_ring_sleep[f - 2], sizeof(raw_ring_sleep[f - 2]));
- return;
- }
-
- // raw image
- if (f == 5 || f == 6) {
- oled_write_raw_P_cursor(0, 12, raw_ring_sleep[f - 3], sizeof(raw_ring_sleep[f - 3]));
- return;
- }
-
- // other frames : lighter to draw than using raw image
- switch (f) {
- case 1:
- draw_circle(x, y, r, 1);
- break;
-
- case 4:
- drawline_hr(1, y, 12, 1);
- drawline_hr(19, y, 12, 1);
- drawline_vb(0, y - 1, 3, true);
- drawline_vb(31, y - 1, 3, true);
- break;
-
- case 7:
-
- oled_write_pixel(1, y, true);
- oled_write_pixel(3, y, true);
- oled_write_pixel(28, y, true);
- oled_write_pixel(30, y, true);
-
- drawline_vb(0, y - 12, 26, true);
- drawline_vb(31, y - 12, 26, true);
- break;
-
- case 8:
- drawline_vb(0, 88, 32, true);
- drawline_vb(31, 88, 32, true);
- break;
- }
-}
-
-static void render_circle_white(void) {
- // top
- oled_write_raw_P_cursor(0, 5, raw_middle, sizeof(raw_middle));
- drawline_hr(5, 39, 25, 1);
-
- // clean center
- draw_rectangle_fill(0, 80, 32, 40, false);
-
- // bottom
- drawline_vb(0, 80, 8, 1);
- drawline_vb(31, 80, 8, 1);
- oled_write_pixel(1, 80, true);
- oled_write_pixel(30, 80, true);
-
- oled_write_raw_P_cursor(0, 15, raw_bottom, sizeof(raw_bottom));
-}
-
-static void render_ring_clean_close(void) {
- render_circle_white();
- drawline_vb(0, 88, 32, true);
- drawline_vb(31, 88, 32, true);
-}
-
-static void render_glitch_square(void) {
- if (timer_elapsed(anim_ring_idle_timer) > 60) {
- anim_ring_idle_timer = timer_read();
-
- render_ring_clean_close();
-
- uint8_t size = 0;
- for (uint8_t i = 0; i < 4; i++) {
- size = 4 + (fastrand() % 6);
- draw_rectangle_fill(3 + (fastrand() % 19), 85 + (fastrand() % 20), size, size, true);
-
- size = (fastrand() % 6);
- draw_rectangle_fill(3 + (fastrand() % 19), 100 + (fastrand() % 20), size, size, true);
- }
- }
-}
-
-static void render_ring_idle(void) {
- uint8_t glitch_prob = get_glitch_probability();
- get_glitch_index(&glitch_ring_timer, &current_glitch_ring_time, &current_glitch_ring_index, 150, 350, glitch_prob, 2);
-
- switch (current_glitch_ring_index) {
- case 0:
- // no glitch
- render_ring_clean_close();
- return;
- case 1:
- // square gliches
- render_glitch_square();
- return;
- }
-}
-
-static void render_ring_sleep(void) {
- if (current_sleep_ring_frame == sleep_ring_frame_destination) {
- // no more animation needes : render the idle animation
- render_ring_idle();
- return;
- }
-
- // display wacking up / sleep animation
- if (timer_elapsed(anim_sleep_ring_timer) > ANIM_SLEEP_RING_FRAME_DURATION) {
- anim_sleep_ring_timer = timer_read();
-
- // clean + new frame
- render_circle_white();
- render_tv_circle(15, 103, 11, current_sleep_ring_frame);
-
- // update frame number
- if (sleep_ring_frame_destination > current_sleep_ring_frame) {
- current_sleep_ring_frame++;
- } else {
- current_sleep_ring_frame--;
- }
- }
-}
-
-static void render_circle_middle(void) {
- // clean
- render_circle_white();
-
- // center special animation
- if (anim_center_current_frame < ANIM_CENTER_FRAME_NUMBER) {
- render_anim_center_circle(15, 103, 15 - 4);
- return;
- }
-
- // ring render
- if (anim_center_current_frame == ANIM_CENTER_FRAME_NUMBER) {
- draw_letter_circle(tListeTotal, tRefArc, c_target, 15, 103, 15, false);
- draw_letter_circle(tListeTotal2, tRefArc2, c_target2, 15, 103, 15, true);
- }
-}
-
-void render_circle(gui_state_t t) {
- if (timer_elapsed(circle_timer) > CIRCLE_ANIM_FRAME_DURATION) {
- // new frame
- circle_timer = timer_read();
-
- // shift rings
- update_list(c_target, tListeTotal);
- update_list(c_target2, tListeTotal2);
-
- // waking up animation
- if (t == _WAKINGUP) {
- render_ring_sleep();
- return;
- }
-
- // idle animation
- if (t == _IDLE) {
- sleep_ring_frame_destination = ANIM_SLEEP_RING_FRAME_NUMBER - 1;
- render_ring_sleep();
- return;
- }
-
- // render on display
- render_circle_middle();
- render_keylog(t);
- }
-}
-
-void update_circle(uint16_t keycode) {
- // special animation for special keys
- if (keycode == KC_ESC || keycode == KC_SPACE || keycode == KC_ENTER) {
- anim_center_timer = timer_read();
- anim_center_current_frame = 0;
- return;
- }
-
- // cancel special animation on a new key
- anim_center_current_frame = ANIM_CENTER_FRAME_NUMBER;
-
- // out of scope key
- if (keycode >= 60) {
- return;
- }
-
- // keycode to char
- char c = pgm_read_byte(&code_to_name[keycode]);
-
- // stock previous char
- c_previous = c_last;
- c_last = c;
-
- // start keylog animation
- anim_keylog_current_frame = 0;
-
- // update target in ring #1 position
- if (TesterEstDansListe(c, tListeTotal)) {
- c_target = c;
- return;
- }
-
- // update target in #2 position
- if (TesterEstDansListe(c, tListeTotal2)) {
- c_target2 = c;
- return;
- }
-}
diff --git a/keyboards/lily58/keymaps/druotoni/ring.h b/keyboards/lily58/keymaps/druotoni/ring.h
deleted file mode 100644
index 9ce4520e64..0000000000
--- a/keyboards/lily58/keymaps/druotoni/ring.h
+++ /dev/null
@@ -1,11 +0,0 @@
-// Copyright 2021 Nicolas Druoton (druotoni)
-// SPDX-License-Identifier: GPL-2.0-or-later
-
-#pragma once
-
-#define SIZE_ARRAY_1 16
-#define CURSOR_1 9
-
-void update_circle(uint16_t);
-void render_circle(gui_state_t t);
-void reset_ring(void);
diff --git a/keyboards/lily58/keymaps/druotoni/rules.mk b/keyboards/lily58/keymaps/druotoni/rules.mk
deleted file mode 100644
index b3182cb46a..0000000000
--- a/keyboards/lily58/keymaps/druotoni/rules.mk
+++ /dev/null
@@ -1,27 +0,0 @@
-# Build Options
-# change to "no" to disable the options, or define them in the Makefile in
-# the appropriate keymap folder that will get included automatically
-#
-RGBLIGHT_ENABLE = yes # Enable WS2812 RGB underlight.
-
-# Bootloader selection
-BOOTLOADER = atmel-dfu
-
-# Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE
-SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
-LTO_ENABLE = yes
-SPACE_CADET_ENABLE = no
-GRAVE_ESC_ENABLE = no
-MAGIC_ENABLE = no
-
-# If you want to change the display of OLED, you need to change here
-SRC += ./lib/rgb_state_reader.c \
- ./burst.c \
- ./navi_logo.c \
- ./gui_state.c \
- ./fast_random.c \
- ./layer_frame.c \
- ./ring.c \
- ./boot.c \
- ./draw_helper.c \
-
diff --git a/keyboards/lily58/keymaps/gaston/config.h b/keyboards/lily58/keymaps/gaston/config.h
deleted file mode 100644
index f4f3140d51..0000000000
--- a/keyboards/lily58/keymaps/gaston/config.h
+++ /dev/null
@@ -1,27 +0,0 @@
-/* Copyright 2012 Jun Wako <wakojun@gmail.com>
- * Copyright 2015 Jack Humbert
- * Copyright 2021 Gaston Jorquera
- *
- * 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/>.
- */
-
-/* This is the c configuration file for the keymap. */
-
-#pragma once
-
-#define MASTER_LEFT
-
-#define QUICK_TAP_TERM 0
-#define TAPPING_TERM 150 /* ms */
-#define HOLD_ON_OTHER_KEY_PRESS_PER_KEY
diff --git a/keyboards/lily58/keymaps/gaston/keymap.c b/keyboards/lily58/keymaps/gaston/keymap.c
deleted file mode 100644
index c98ec4254b..0000000000
--- a/keyboards/lily58/keymaps/gaston/keymap.c
+++ /dev/null
@@ -1,70 +0,0 @@
-/* Copyright 2021 Gaston Jorquera
- *
- * 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/>.
- */
-
-/* This is the keymap configuration. */
-
-#include QMK_KEYBOARD_H
-
-enum layer_number {
- _QWERTY = 0,
- _LOWER,
- _MOUSE,
-};
-
-#define EN_LOWER LT(_LOWER, KC_SPC)
-#define EN_MOUSE MO(_MOUSE)
-#define MT_CESC LCTL_T(KC_ESC)
-
-/* See the readme.md file for an ASCII representation of this keymap. */
-
-const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
-
-[_QWERTY] = LAYOUT(
- KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_BSPC,
- KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_MINS,
- MT_CESC, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT,
- KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, EN_MOUSE,KC_EQL, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_ENT,
- KC_RALT, KC_LALT, KC_LGUI, EN_LOWER,EN_LOWER, KC_LBRC, KC_RBRC, KC_BSLS
-),
-
-[_LOWER] = LAYOUT(
- KC_TRNS, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11,
- KC_TRNS, XXXXXXX, KC_MUTE, KC_VOLD, KC_VOLU, XXXXXXX, KC_HOME, KC_PGDN, KC_PGUP, KC_END, XXXXXXX, KC_F12,
- KC_TRNS, XXXXXXX, KC_MPRV, KC_MPLY, KC_MNXT, XXXXXXX, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT, XXXXXXX, XXXXXXX,
- KC_TRNS, XXXXXXX, XXXXXXX, KC_BRID, KC_BRIU, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, KC_INS, KC_DEL, XXXXXXX, XXXXXXX, XXXXXXX,
- KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, XXXXXXX, XXXXXXX, XXXXXXX
-),
-
-[_MOUSE] = LAYOUT(
- XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX,
- XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, KC_BTN1, KC_BTN2, XXXXXXX, XXXXXXX, KC_ACL0, XXXXXXX,
- XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, KC_MS_L, KC_MS_D, KC_MS_U, KC_MS_R, KC_ACL1, XXXXXXX,
- XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, KC_TRNS, XXXXXXX, KC_WH_L, KC_WH_D, KC_WH_U, KC_WH_R, KC_ACL2, XXXXXXX,
- XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX
-)
-
-};
-
-bool get_hold_on_other_key_press(uint16_t keycode, keyrecord_t *record) {
- switch (keycode) {
- case MT_CESC:
- // Immediately select the hold action when another key is pressed.
- return true;
- default:
- // Do not select the hold action when another key is pressed.
- return false;
- }
-}
diff --git a/keyboards/lily58/keymaps/gaston/readme.md b/keyboards/lily58/keymaps/gaston/readme.md
deleted file mode 100644
index cf8b13786e..0000000000
--- a/keyboards/lily58/keymaps/gaston/readme.md
+++ /dev/null
@@ -1,68 +0,0 @@
-# Gaston's Lily58 Keymap
-
-A simple three layers keymap to improve typing performance by reducing
-cognitive load.
-
-The main characteristics of this keymap are:
-
-* The QWERTY layer tries to be as normal as possible, without having to use
- modifiers.
- * The main thumb buttons are spaces when tapped and enable the LOWER layer
- when held.
- * Vim style arrow keys.
- * Left Control is ESC when tapped.
- * Left and right ALT in case you need different behaviors. (For example, the
- default Option and readline's Alt behavior in macOS.)
-* The LOWER layer has mostly meta keys.
-* The MOUSE layer controls the mouse.
-
-## QWERTY Layer
-
-```plain
-,-----------------------------------------. ,-----------------------------------------.
-| ` | 1 | 2 | 3 | 4 | 5 | | 6 | 7 | 8 | 9 | 0 | BSPC |
-|------+------+------+------+------+------| |------+------+------+------+------+------|
-| TAB | Q | W | E | R | T | | Y | U | I | O | P | - |
-|------+------+------+------+------+------| |------+------+------+------+------+------|
-|C_ESC | A | S | D | F | G |-------. ,-------| H | J | K | L | ; | ' |
-|------+------+------+------+------+------| MOUSE | | = |------+------+------+------+------+------|
-| LSFT | Z | X | C | V | B |-------| |-------| N | M | , | . | / | ENT |
-`-----------------------------------------/ LT / \ LT \----------------------------------------'
- | RALT | LALT | LGUI | / LOWER / \ LOWER \ | [ | ] | \ |
- | | | |/ SPC / \ SPC \ | | | |
- `----------------------------' '-----------------------------'
-```
-
-## LOWER Layer
-
-```plain
-,-----------------------------------------. ,-----------------------------------------.
-| TRNS | F1 | F2 | F3 | F4 | F5 | | F6 | F7 | F8 | F9 | F10 | F11 |
-|------+------+------+------+------+------| |------+------+------+------+------+------|
-| TRNS | | MUTE | VOLD | VOLU | | | HOME | PGDN | PGUP | END | | F12 |
-|------+------+------+------+------+------| |------+------+------+------+------+------|
-| TRNS | | MPRV | MPLY | MNXT | |-------. ,-------| LEFT | DOWN | UP | RGHT | | |
-|------+------+------+------+------+------| | | |------+------+------+------+------+------|
-| TRNS | | | BRID | BRIU | |-------| |-------| | INS | DEL | | | |
-`-----------------------------------------/ / \ \----------------------------------------'
- | TRNS | TRNS | TRNS | / TRNS / \ TRNS \ | | | |
- | | | |/ / \ \ | | | |
- `----------------------------' '-----------------------------'
-```
-
-## MOUSE Layer
-
-```plain
-,-----------------------------------------. ,-----------------------------------------.
-| | | | | | | | | | | | | |
-|------+------+------+------+------+------| |------+------+------+------+------+------|
-| | | | | | | | BTN1 | BTN2 | | | ACL0 | |
-|------+------+------+------+------+------| |------+------+------+------+------+------|
-| | | | | | |-------. ,-------| MS_L | MS_D | MS_U | MS_R | ACL1 | |
-|------+------+------+------+------+------| TRNS | | |------+------+------+------+------+------|
-| | | | | | |-------| |-------| WH_L | WH_D | WH_U | WH_R | ACL2 | |
-`-----------------------------------------/ / \ \----------------------------------------'
- | | | | / / \ \ | | | |
- | | | |/ / \ \ | | | |
- `----------------------------' '-----------------------------'
-```
diff --git a/keyboards/lily58/keymaps/gaston/rules.mk b/keyboards/lily58/keymaps/gaston/rules.mk
deleted file mode 100644
index 4d566ddb79..0000000000
--- a/keyboards/lily58/keymaps/gaston/rules.mk
+++ /dev/null
@@ -1,9 +0,0 @@
-MOUSEKEY_ENABLE = yes
-EXTRAKEY_ENABLE = yes
-RGBLIGHT_ENABLE = no
-OLED_ENABLE = no
-
-SRC += ./lib/rgb_state_reader.c \
- ./lib/layer_state_reader.c \
- ./lib/logo_reader.c \
- ./lib/keylogger.c \
diff --git a/keyboards/lily58/keymaps/gshmu/config.h b/keyboards/lily58/keymaps/gshmu/config.h
deleted file mode 100644
index 84a79412da..0000000000
--- a/keyboards/lily58/keymaps/gshmu/config.h
+++ /dev/null
@@ -1,23 +0,0 @@
-/* Copyright 2022 gshmu
-*
-* 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
-
-#define TAPPING_TERM 200
-#define QUICK_TAP_TERM 0
-#define PERMISSIVE_HOLD
-
-#define DYNAMIC_TAPPING_TERM_INCREMENT 10
diff --git a/keyboards/lily58/keymaps/gshmu/keymap.c b/keyboards/lily58/keymaps/gshmu/keymap.c
deleted file mode 100644
index ce4b539c07..0000000000
--- a/keyboards/lily58/keymaps/gshmu/keymap.c
+++ /dev/null
@@ -1,128 +0,0 @@
-/* Copyright 2022 gshmu
-*
-* 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
-
-enum layer_number {
- _QWERTY = 0,
- _LOWER,
- _RAISE,
- _ADJUST,
-};
-
-#define RAISE MO(_RAISE)
-#define LOWER MO(_LOWER)
-
-const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
-
-/* QWERTY
- * ,-----------------------------------------. ,-----------------------------------------.
- * | ~ | 1 | 2 | 3 | 4 | 5 | | 6 | 7 | 8 | 9 | 0 | - |
- * |------+------+------+------+------+------| |------+------+------+------+------+------|
- * | ⌥(⇥) | Q | W | E | R | T | | Y | U | I | O | P | = |
- * |------+------+------+------+------+------| |------+------+------+------+------+------|
- * | ⌥(⎋) | A | S | D | F | G |-------. ,-------| H | J | K | L | ; | ' |
- * |------+------+------+------+------+------| [ | | ] |------+------+------+------+------+------|
- * | ⇧(←) | Z | X | C | V | B |-------| |-------| N | M | , | . | / | ⇧(→) |
- * `-----------------------------------------/ / \ \-----------------------------------------'
- * | ⌃(⌦) | ⇧(↑) | L2(␣)| / ⌘(↵) / \ ⌘(⌫) \ |L1(␣))| ⇧(↓) | ⌥(⌦) |
- * | | | |/ / \ \ | | | |
- * `-------------------''-------' '------''--------------------'
- */
-
- [_QWERTY] = LAYOUT(
- KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS,
- LALT_T(KC_TAB), KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_EQL,
- LALT_T(KC_ESC), KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT,
- LSFT_T(KC_LEFT), KC_Z, KC_X, KC_C, KC_V, KC_B, KC_LBRC, KC_RBRC, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, RSFT_T(KC_RGHT),
- LCTL_T(KC_DEL), LSFT_T(KC_UP), LT(_RAISE, KC_SPC), LGUI_T(KC_ENTER), RGUI_T(KC_BSPC), LT(_LOWER, KC_SPC), RSFT_T(KC_DOWN), RALT_T(KC_DEL)
-),
-/* LOWER
- * ,-----------------------------------------. ,-----------------------------------------.
- * | | | | | | | | | | | | | |
- * |------+------+------+------+------+------| |------+------+------+------+------+------|
- * | | | | | | | | | | | | | |
- * |------+------+------+------+------+------| |------+------+------+------+------+------|
- * | | | | | | |-------. ,-------| | | | | | |
- * |------+------+------+------+------+------| \ | | | |------+------+------+------+------+------|
- * | | | | | | |-------| |-------| | | | | | |
- * `-----------------------------------------/ / \ \-----------------------------------------'
- * | | | L3(␣)| / / \ \ | | | |
- * | | | |/ / \ \ | | | |
- * `-------------------''-------' '------''--------------------'
- */
-[_LOWER] = LAYOUT(
- _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
- _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
- _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
- _______, _______, _______, _______, _______, _______, KC_BSLS, KC_PIPE, _______, _______, _______, _______, _______, _______,
- _______, _______, LT(_ADJUST, KC_SPC), _______, _______, _______, _______, _______
-),
-/* RAISE
- * ,-----------------------------------------. ,-----------------------------------------.
- * | | F1 | F2 | F3 | F4 | F5 | | F1 | F2 | F3 | F4 | F5 | |
- * |------+------+------+------+------+------| |------+------+------+------+------+------|
- * | | F6 | F7 | F8 | F9 | F10 | | F6 | F7 | F8 | F9 | F10 | \ |
- * |------+------+------+------+------+------| |------+------+------+------+------+------|
- * | | F11 | F12 | F13 | F14 | F15 |-------. ,-------| F11 | F12 | F13 | F14 | F15 | |
- * |------+------+------+------+------+------| \ | | | |------+------+------+------+------+------|
- * | | AG(Z)| CA(A)|Cmd(C)| SG(V)| SG(B)|-------| |-------| | | | | | |
- * `-----------------------------------------/ / \ \-----------------------------------------'
- * | | | | / / \ \ |L3(␣))| | |
- * | | | |/ / \ \ | | | |
- * `-------------------''-------' '------''--------------------'
- */
-
-[_RAISE] = LAYOUT(
- _______, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, _______,
- _______, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, _______,
- _______, KC_F11, KC_F12, KC_F13, KC_F14, KC_F15, KC_F11, KC_F12, KC_F13, KC_F14, KC_F15, _______,
- _______, LAG(KC_Z), C(G(KC_A)), LGUI(KC_C), LSG(KC_V), LSG(KC_B), KC_BSLS, KC_PIPE, _______, _______, _______, _______, _______, _______,
- _______, _______, _______, _______, _______, LT(_ADJUST, KC_SPC), _______, _______
-),
-
-/* ADJUST
- * ,-----------------------------------------. ,-----------------------------------------.
- * | | | | | | | | | | | | | |
- * |------+------+------+------+------+------| |------+------+------+------+------+------|
- * | | | | | | | | | | | | | |
- * |------+------+------+------+------+------| |------+------+------+------+------+------|
- * | | | | | | |-------. ,-------| | | | | | |
- * |------+------+------+------+------+------| | | |------+------+------+------+------+------|
- * | Home | | | | | |-------| |-------| | | | | | End |
- * `-----------------------------------------/ / \ \-----------------------------------------'
- * | | PGUP | | / / \ \ | | PGDN | |
- * | | | |/ / \ \ | | | |
- * `----------------------------' '------''--------------------'
- */
- [_ADJUST] = LAYOUT(
- _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
- DT_PRNT, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
- _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
- KC_HOME, _______, _______, _______, _______, _______, DT_UP, DT_DOWN, _______, _______, _______, _______, _______, KC_END,
- _______, KC_PGUP, _______, _______, _______, _______, KC_PGDN, _______
- )
-};
-
-
-bool process_record_user(uint16_t keycode, keyrecord_t *record) {
- if (record->event.pressed) {
-#ifdef OLED_ENABLE
- set_keylog(keycode, record);
-#endif
- }
- return true;
-}
diff --git a/keyboards/lily58/keymaps/gshmu/rules.mk b/keyboards/lily58/keymaps/gshmu/rules.mk
deleted file mode 100644
index 401abfb4cf..0000000000
--- a/keyboards/lily58/keymaps/gshmu/rules.mk
+++ /dev/null
@@ -1,5 +0,0 @@
-VIA_ENABLE = yes
-OLED_ENABLE = no
-MOUSEKEY_ENABLE = yes
-EXTRAKEY_ENABLE = yes
-DYNAMIC_TAPPING_TERM_ENABLE = yes
diff --git a/keyboards/lily58/keymaps/muuko/config.h b/keyboards/lily58/keymaps/muuko/config.h
deleted file mode 100644
index 29a0801d2e..0000000000
--- a/keyboards/lily58/keymaps/muuko/config.h
+++ /dev/null
@@ -1,36 +0,0 @@
-/*
-This is the c configuration file for the keymap
-
-Copyright 2012 Jun Wako <wakojun@gmail.com>
-Copyright 2015 Jack Humbert
-
-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
-
-#define EE_HANDS
-
-#define OLED_TIMEOUT 300000
-
-#define NO_MUSIC_MODE
-
-#define PERMISSIVE_HOLD
-
-#ifdef TAPPING_TERM
-#undef TAPPING_TERM
-#endif
-#define TAPPING_TERM 120
-
-#define COMBO_TERM 20
diff --git a/keyboards/lily58/keymaps/muuko/keymap.c b/keyboards/lily58/keymaps/muuko/keymap.c
deleted file mode 100644
index b5cc97ee38..0000000000
--- a/keyboards/lily58/keymaps/muuko/keymap.c
+++ /dev/null
@@ -1,185 +0,0 @@
-/* Copyright 2020 @muuko
- *
- * 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 <stdio.h>
-#include <string.h>
-
-#define IDLE_FRAMES 5
-#define IDLE_SPEED 20
-#define TAP_FRAMES 2
-#define TAP_SPEED 40
-#define ANIM_FRAME_DURATION 200
-#define ANIM_SIZE 512
-
-char wpm[16];
-uint32_t anim_timer = 0;
-uint32_t anim_sleep = 0;
-uint8_t current_idle_frame = 0;
-uint8_t current_tap_frame = 0;
-
-static long int oled_timeout = 300000;
-
-enum combos { ESCAPE_COMBO, DELETE_COMBO };
-const uint16_t PROGMEM escape_combo[] = { KC_GRV, KC_1, COMBO_END };
-const uint16_t PROGMEM delete_combo[] = { KC_DOT, KC_SLSH, COMBO_END };
-combo_t key_combos[] = {
- [ESCAPE_COMBO] = COMBO(escape_combo, KC_ESC),
- [DELETE_COMBO] = COMBO(delete_combo, KC_DEL)
-};
-
-const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
- [0] = LAYOUT(
- KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, LCA_T(KC_MINS),
- KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, RGUI_T(KC_EQL),
- KC_LCTL, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, RCTL_T(KC_QUOT),
- KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_LBRC, KC_RBRC, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, RSFT_T(KC_BSLS),
- KC_LGUI, KC_LALT, LT(1, KC_DEL), KC_SPC, KC_ENT, KC_BSPC, MO(1), TG(1)
- ),
- [1] = LAYOUT(
- KC_ESC, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11,
- KC_TAB, KC_MNXT, KC_HOME, KC_UP, KC_PGUP, KC_VOLU, KC_PMNS, KC_P7, KC_P8, KC_P9, KC_PSLS, LCTL(KC_RGUI),
- KC_LCTL, KC_MPLY, KC_LEFT, KC_DOWN, KC_RGHT, KC_VOLD, KC_PPLS, KC_P4, KC_P5, KC_P6, KC_PAST, RCTL_T(KC_PEQL),
- KC_LSFT, KC_MPRV, KC_END, KC_DEL, KC_PGDN, KC_MUTE, KC_LPRN, KC_RPRN, KC_P0, KC_P1, KC_P2, KC_P3, C_S_T(KC_PDOT), KC_RSFT,
- KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS
- )
-};
-
-#ifdef OLED_ENABLE
-oled_rotation_t oled_init_user(oled_rotation_t rotation) {
- if (!is_keyboard_master()) return OLED_ROTATION_180;
- else return rotation;
-}
-
-static void render_status(void) {
- oled_write_P(PSTR(" layer "), false);
-
- switch (get_highest_layer(layer_state)) {
- case 0:
- oled_write_P(PSTR(" 0"), false);
- break;
- case 1:
- oled_write_P(PSTR(" 1"), false);
- break;
- default:
- oled_write_P(PSTR(" ?"), false);
- break;
- }
-
- oled_write_P(PSTR("\n\n "), false);
- sprintf(wpm, "%03d", get_current_wpm());
- oled_write(wpm, false);
- oled_write_P(PSTR(" wpm"), false);
-}
-
-static void render_anim(void) {
- static const char PROGMEM idle[IDLE_FRAMES][ANIM_SIZE] = {
- {
- 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,128,64,64,32,32,32,32,16,16,16,16,16,8,8,4,4,4,8,48,64,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,128,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,24,100,130,2,2,2,2,2,1,0,0,0,0,128,128,0,0,0,0,0,0,0,0,0,128,0,48,48,0,192,193,193,194,4,8,16,32,64,128,0,0,0,128,128,128,128,64,64,
- 64,64,32,32,32,32,16,16,16,16,8,8,8,8,8,4,4,4,4,4,2,2,2,2,1,1,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,192,56,4,3,0,0,0,0,0,0,0,12,12,12,13,1,0,64,160,33,34,18,17,17,17,9,8,8,8,8,4,4,8,8,16,16,16,16,16,17,15,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,128,128,128,128,128,64,64,64,64,64,32,32,32,32,32,16,16,16,16,16,8,8,8,8,8,4,4,4,4,4,2,3,2,2,1,1,1,1,1,1,2,2,4,4,8,8,8,8,8,7,
- 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
- },
- {
- 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,128,64,64,32,32,32,32,16,16,16,16,16,8,8,4,4,4,8,48,64,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,128,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,24,100,130,2,2,2,2,2,1,0,0,0,0,128,128,0,0,0,0,0,0,0,0,0,128,0,48,48,0,192,193,193,194,4,8,16,32,64,128,0,0,0,128,128,128,128,64,64,
- 64,64,32,32,32,32,16,16,16,16,8,8,8,8,8,4,4,4,4,4,2,2,2,2,1,1,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,192,56,4,3,0,0,0,0,0,0,0,12,12,12,13,1,0,64,160,33,34,18,17,17,17,9,8,8,8,8,4,4,8,8,16,16,16,16,16,17,15,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,128,128,128,128,128,64,64,64,64,64,32,32,32,32,32,16,16,16,16,16,8,8,8,8,8,4,4,4,4,4,2,3,2,2,1,1,1,1,1,1,2,2,4,4,8,8,8,8,8,
- 7,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
- },
- {
- 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,128,128,64,64,64,64,32,32,32,32,16,8,4,2,2,4,24,96,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,128,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,60,194,1,1,2,2,4,4,2,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,96,96,0,129,130,130,132,8,16,32,64,128,0,0,0,0,128,128,128,128,64,64,64,64,32,
- 32,32,32,16,16,16,16,8,8,8,8,8,4,4,4,4,4,2,2,2,2,1,1,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,128,112,25,6,0,0,0,0,0,0,0,24,24,24,27,3,0,64,160,34,36,20,18,18,18,11,8,8,8,8,5,5,9,9,16,16,16,16,16,17,15,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,128,128,128,128,128,64,64,64,64,64,32,32,32,32,32,16,16,16,16,16,8,8,8,8,8,4,4,4,4,4,2,3,2,2,1,1,1,1,1,1,2,2,4,4,8,8,8,8,8,7,0,0,0,
- 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
- },
- {
- 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,128,128,0,0,0,0,0,128,64,64,32,32,32,32,16,16,16,16,8,4,2,1,1,2,12,48,64,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,128,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,30,225,0,0,1,1,2,2,1,0,0,0,0,128,128,0,0,0,0,0,0,0,0,0,128,0,48,48,0,192,193,193,194,4,8,16,32,64,128,0,0,0,128,128,128,128,64,64,
- 64,64,32,32,32,32,16,16,16,16,8,8,8,8,8,4,4,4,4,4,2,2,2,2,1,1,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,128,112,12,3,0,0,0,0,0,0,0,12,12,12,13,1,0,64,160,33,34,18,17,17,17,9,8,8,8,8,4,4,8,8,16,16,16,16,16,17,15,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,128,128,128,128,128,64,64,64,64,64,32,32,32,32,32,16,16,16,16,16,8,8,8,8,8,4,4,4,4,4,2,3,2,2,1,1,1,1,1,1,2,2,4,4,8,8,8,8,8,
- 7,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
- },
- {
- 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,128,64,64,32,32,32,32,16,16,16,16,8,8,4,2,2,2,4,56,64,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,128,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,28,226,1,1,2,2,2,2,1,0,0,0,0,128,128,0,0,0,0,0,0,0,0,0,128,0,48,48,0,192,193,193,194,4,8,16,32,64,128,0,0,0,128,128,128,128,64,64,64,64,
- 32,32,32,32,16,16,16,16,8,8,8,8,8,4,4,4,4,4,2,2,2,2,1,1,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,128,112,12,3,0,0,0,0,0,0,0,12,12,12,13,1,0,64,160,33,34,18,17,17,17,9,8,8,8,8,4,4,8,8,16,16,16,16,16,17,15,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,128,128,128,128,128,64,64,64,64,64,32,32,32,32,32,16,16,16,16,16,8,8,8,8,8,4,4,4,4,4,2,3,2,2,1,1,1,1,1,1,2,2,4,4,8,8,8,8,8,7,0,0,
- 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
- }
- };
- static const char PROGMEM prep[][ANIM_SIZE] = {
- {
- 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,128,128,0,0,0,0,0,128,64,64,32,32,32,32,16,16,16,16,8,4,2,1,1,2,12,48,64,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,128,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,30,225,0,0,1,1,2,2,129,128,128,0,0,128,128,0,0,0,0,0,0,0,0,0,128,0,48,48,0,0,1,225,26,6,9,49,53,1,138,124,0,0,128,128,128,128,64,64,
- 64,64,32,32,32,32,16,16,16,16,8,8,8,8,8,4,4,4,4,4,2,2,2,2,1,1,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,128,112,12,3,0,0,24,6,5,152,153,132,195,124,65,65,64,64,32,33,34,18,17,17,17,9,8,8,8,8,4,4,4,4,4,4,2,2,2,1,1,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,128,128,128,128,128,64,64,64,64,64,32,32,32,32,32,16,16,16,16,16,8,8,8,8,8,4,4,4,4,4,2,3,2,2,1,1,1,1,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
- }
- };
- static const char PROGMEM tap[TAP_FRAMES][ANIM_SIZE] = {
- {
- 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,128,128,0,0,0,0,0,128,64,64,32,32,32,32,16,16,16,16,8,4,2,1,1,2,12,48,64,128,0,0,0,0,0,0,0,248,248,248,248,0,0,0,0,0,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,128,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,30,225,0,0,1,1,2,2,129,128,128,0,0,128,128,0,0,0,0,0,0,0,0,0,128,0,48,48,0,0,1,1,2,4,8,16,32,67,135,7,1,0,184,188,190,159,
- 95,95,79,76,32,32,32,32,16,16,16,16,8,8,8,8,8,4,4,4,4,4,2,2,2,2,1,1,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,128,112,12,3,0,0,24,6,5,152,153,132,67,124,65,65,64,64,32,33,34,18,17,17,17,9,8,8,8,8,4,4,8,8,16,16,16,16,16,17,15,1,61,124,252,252,252,252,252,60,12,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,128,128,128,128,128,64,64,64,64,64,32,32,32,32,32,16,16,16,16,16,8,8,8,8,8,4,4,4,4,4,2,3,2,2,1,1,1,
- 1,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,1,3,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,0,0,0,0,0,128,128,0,0,0,0,0,128,64,64,32,32,32,32,16,16,16,16,8,4,2,1,1,2,12,48,64,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,128,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,30,225,0,0,1,1,2,2,1,0,0,0,0,128,128,0,0,0,0,0,0,0,0,0,128,0,48,48,0,0,1,225,26,6,9,49,53,1,138,124,0,0,128,128,128,128,64,64,64,64,32,
- 32,32,32,16,16,16,16,8,8,8,8,8,4,4,4,4,4,2,2,2,2,1,1,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,128,112,12,3,0,0,0,0,0,0,0,0,0,0,1,1,0,64,160,33,34,18,17,17,17,9,8,8,8,8,4,4,4,4,4,4,2,2,2,1,1,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,128,128,128,128,128,64,64,64,64,64,32,32,32,32,32,16,16,16,16,16,8,8,8,8,8,4,4,4,4,4,2,3,122,122,121,121,121,121,57,49,2,2,4,4,8,8,8,136,136,135,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
- }
- };
-
- void animation_phase(void) {
- if (get_current_wpm() <= IDLE_SPEED) {
- current_idle_frame = (current_idle_frame + 1) % IDLE_FRAMES;
-
- oled_write_raw_P(idle[abs((IDLE_FRAMES - 1) - current_idle_frame)], ANIM_SIZE);
- }
-
- if (get_current_wpm() > IDLE_SPEED && get_current_wpm() < TAP_SPEED) {
- oled_write_raw_P(prep[0], ANIM_SIZE);
- }
-
- if (get_current_wpm() >= TAP_SPEED) {
- current_tap_frame = (current_tap_frame + 1) % TAP_FRAMES;
-
- oled_write_raw_P(tap[abs((TAP_FRAMES - 1) - current_tap_frame)], ANIM_SIZE);
- }
- }
-
- sprintf(wpm, "%03d", get_current_wpm());
-
- if (strcmp(wpm, "000") != 0) {
- anim_sleep = timer_read32();
- } else {
- if (timer_elapsed32(anim_sleep) > oled_timeout) {
- anim_sleep = 0;
- }
- }
-
- if (timer_elapsed32(anim_sleep) > oled_timeout) {
- oled_off();
- } else {
- oled_on();
-
- if (timer_elapsed32(anim_timer) > ANIM_FRAME_DURATION) {
- anim_timer = timer_read32();
-
- animation_phase();
- }
- }
-}
-
-bool oled_task_user(void) {
- if (is_keyboard_master()) {
- render_status();
- } else {
- render_anim();
- }
- return false;
-}
-#endif
diff --git a/keyboards/lily58/keymaps/muuko/rules.mk b/keyboards/lily58/keymaps/muuko/rules.mk
deleted file mode 100644
index 004fc910f6..0000000000
--- a/keyboards/lily58/keymaps/muuko/rules.mk
+++ /dev/null
@@ -1,4 +0,0 @@
-OLED_ENABLE = yes
-WPM_ENABLE = yes
-EXTRAKEY_ENABLE = yes
-COMBO_ENABLE = yes
diff --git a/keyboards/lily58/keymaps/niolang/config.h b/keyboards/lily58/keymaps/niolang/config.h
deleted file mode 100644
index dedefc2fcf..0000000000
--- a/keyboards/lily58/keymaps/niolang/config.h
+++ /dev/null
@@ -1,46 +0,0 @@
-/*
-This is the c configuration file for the keymap
-
-Copyright 2012 Jun Wako <wakojun@gmail.com>
-Copyright 2015 Jack Humbert
-
-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
-
-/* Select hand configuration */
-#define MASTER_LEFT
-// #define MASTER_RIGHT
-// #define EE_HANDS
-
-/* RGB light */
-#ifdef RGBLIGHT_ENABLE
-#define RGBLIGHT_EFFECT_BREATHING
-#define RGBLIGHT_EFFECT_RAINBOW_MOOD
-#define RGBLIGHT_EFFECT_RAINBOW_SWIRL
-#define RGBLIGHT_EFFECT_SNAKE
-#define RGBLIGHT_EFFECT_KNIGHT
-#define RGBLIGHT_EFFECT_CHRISTMAS
-#define RGBLIGHT_EFFECT_STATIC_GRADIENT
-#define RGBLIGHT_EFFECT_RGB_TEST
-#define RGBLIGHT_EFFECT_ALTERNATING
-#define RGBLIGHT_EFFECT_TWINKLE
-# define RGBLIGHT_HUE_STEP 5 // number of steps to cycle through the hue by
-# define RGBLIGHT_SAT_STEP 10 // number of steps to increment the saturation by
-# define RGBLIGHT_VAL_STEP 10 // number of steps to increment the brightness by
-# define RGBLIGHT_SLEEP // the RGB lighting will be switched off when the host goes to sleep
-# define RGBLIGHT_LAYERS //
-# define RGBLIGHT_LAYERS_OVERRIDE_RGB_OFF
-#endif
diff --git a/keyboards/lily58/keymaps/niolang/keymap.c b/keyboards/lily58/keymaps/niolang/keymap.c
deleted file mode 100644
index 9a4b03668a..0000000000
--- a/keyboards/lily58/keymaps/niolang/keymap.c
+++ /dev/null
@@ -1,359 +0,0 @@
- /* Copyright 2017 F_YUUCHI
- * Copyright 2020 Drashna Jaelre <@drashna>
- * Copyright 2020 Ben Roesner (keycapsss.com)
- * Copyright 2022 Niolang
- *
- * 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_bepo.h"
-
-
-enum layers {
- _BEPO,
- _LOWER,
- _RAISE,
- _ADJUST,
-};
-
-#define RAISE MO(_RAISE)
-#define LOWER MO(_LOWER)
-
-//Modification of cut/copy/paste by their combination, works in more cases
-#define KC_COPY LCTL(KC_H)
-#define KC_CUT LCTL(KC_C)
-#define KC_PSTE2 LCTL(KC_U)
-
-const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
-
-/* BÉPO
- * ,-----------------------------------------. ,-----------------------------------------.
- * |ESC/VM| " 1 | « 2 | » 3 | ( 4 | ) 5 | | @ 6 | + 7 | - 8 | / 9 | * 0 | W |
- * |------+------+------+------+------+------| |------+------+------+------+------+------|
- * | Tab | B | | É | P & | O œ | È | | !^ | V | D | L | J | Z |
- * |------+------+------+------+------+------| |------+------+------+------+------+------|
- * |LCTRL | A | Uù | I¨ | E€ | ,;' |-------. ,-------| C/ç | Tᵉ | S | R | N | M |
- * |------+------+------+------+------+------|CtPtScn| |SUPPR |------+------+------+------+------+------|
- * |LShift| À \ | Y { | X } | .:… | K ~ |-------| |-------| ’? | Q | G | H | F |RShift|
- * `-----------------------------------------/ / \ \-----------------------------------------'
- * | LAlt | LGUI |LOWER | /Space / \Enter \ |RAISE |BackSP| AltGr|
- * | | | |/ / \ \ | | | |
- * `----------------------------' '------''--------------------'
- */
-
- [_BEPO] = LAYOUT(
- MT(KC_CAPS, KC_ESC), BP_DQUO, BP_LDAQ, BP_RDAQ, BP_LPRN, BP_RPRN, BP_AT, BP_PLUS, BP_MINS, BP_SLSH, BP_ASTR, BP_W,
- KC_TAB, BP_B, BP_EACU, BP_P, BP_O, BP_EGRV, BP_DCIR, BP_V, BP_D, BP_L, BP_J, BP_Z,
- KC_LCTL, BP_A, BP_U, BP_I, BP_E, BP_COMM, MT(BP_CCED, BP_C), BP_T, BP_S, BP_R, BP_N, BP_M,
- KC_LSFT, BP_AGRV, BP_Y, BP_X, BP_DOT, BP_K, LSFT(KC_PSCR), KC_DEL, BP_QUOT, BP_Q, BP_G, BP_H, BP_F, KC_RSFT,
- KC_LALT, KC_LGUI, LOWER, KC_SPC, KC_ENT, RAISE, KC_BSPC, KC_RALT
-),
-/* LOWER
- * ,-----------------------------------------. ,-----------------------------------------.
- * | F1 | F2 | F3 | F4 | F5 | F6 | | + | 7 | 8 | 9 | = | # |
- * |------+------+------+------+------+------| |------+------+------+------+------+------|
- * | F7 | F8 | F9 | F10 | F11 | F12 | | - | 4 | 5 | 6 | % | ^ |
- * |------+------+------+------+------+------| |------+------+------+------+------+------|
- * |LCTRL | c+c | c+v | Up | home | end |-------. ,-------| / | 1 | 2 | 3 | < | > |
- * |------+------+------+------+------+------|TGHi/Lo| |SUPPR |------+------+------+------+------+------|
- * |LShift| c+x | Left | Down | Right| pscr |-------| |-------| * | 0 | . | , | ( | ) |
- * `-----------------------------------------/ / \ \-----------------------------------------'
- * | LAlt | LGUI |LOWER | /Space / \Enter \ |RAISE |BackSP| AltGr|
- * | | | |/ / \ \ | | | |
- * `----------------------------' '------''--------------------'
- */
-[_LOWER] = LAYOUT(
- KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_PPLS, KC_P7, KC_P8, KC_P9, BP_EQL, BP_HASH,
- KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_PMNS, KC_P4, KC_P5, KC_P6, BP_PERC, BP_RABK,
- _______, KC_COPY, KC_PSTE2, KC_UP, KC_HOME, KC_END, KC_PSLS, KC_P1, KC_P2, KC_P3, BP_LABK, BP_RABK,
- _______, KC_CUT, KC_LEFT, KC_DOWN, KC_RGHT, KC_PSCR,TG(_RAISE), _______, KC_PAST, KC_P0, KC_PDOT, KC_PCMM, BP_LPRN, BP_RPRN,
- _______, _______, _______, _______, _______, _______, _______, _______
-),
-[_RAISE] = LAYOUT(
- KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_PPLS, KC_P7, KC_P8, KC_P9, BP_EQL, BP_HASH,
- KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_PMNS, KC_P4, KC_P5, KC_P6, BP_PERC, BP_CIRC,
- _______, KC_COPY, KC_PSTE2, KC_UP, KC_HOME, KC_END, KC_PSLS, KC_P1, KC_P2, KC_P3, BP_LABK, BP_RABK,
- _______, KC_CUT, KC_LEFT, KC_DOWN, KC_RGHT, KC_PSCR,TG(_LOWER), _______, KC_PAST, KC_P0, KC_PDOT, KC_PCMM, BP_LPRN, BP_RPRN,
- _______, _______, _______, _______, _______, _______, _______, _______
-),
-
-/* ADJUST
- * ,-----------------------------------------. ,-----------------------------------------.
- * | | | | | | | | ScLck| Ins | Pause| | | |
- * |------+------+------+------+------+------| |------+------+------+------+------+------|
- * | | | | | | | | NUML | | | | | |
- * |------+------+------+------+------+------| |------+------+------+------+------+------|
- * | | | | | | |-------. ,-------| | |RGB ON| HUE+ | SAT+ | VAL+ |
- * |------+------+------+------+------+------| | | |------+------+------+------+------+------|
- * | | | | | | |-------| |-------| | | MODE | HUE- | SAT- | VAL- |
- * `-----------------------------------------/ / \ \-----------------------------------------'
- * | LAlt | LGUI |LOWER | /Space / \Enter \ |RAISE |BackSP| RGUI |
- * | | | |/ / \ \ | | | |
- * `----------------------------' '------''--------------------'
- */
- [_ADJUST] = LAYOUT(
- XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, KC_SCRL, KC_INS, KC_PAUSE, XXXXXXX, XXXXXXX, XXXXXXX,
- XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, KC_NUM, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX,
- XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, RGB_TOG, RGB_HUI, RGB_SAI, RGB_VAI,
- XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, RGB_MOD, RGB_HUD, RGB_SAD, RGB_VAD,
- _______, _______, _______, _______, _______, _______, _______, _______
- )
-};
-
-layer_state_t layer_state_set_user(layer_state_t state) {
- state = update_tri_layer_state(state, _RAISE, _LOWER, _ADJUST);
- return state;
-}
-
-//SSD1306 OLED update loop, make sure to enable OLED_ENABLE=yes in rules.mk
-#ifdef OLED_ENABLE
-
-oled_rotation_t oled_init_user(oled_rotation_t rotation) {
- if (is_keyboard_master()) {
- return OLED_ROTATION_270;
- } else {
- return OLED_ROTATION_0;
- }
-}
-
-void render_lily58_logo(void) {
- static const char PROGMEM lily58_logo[] = {
- // 'logo', 128x32px
- 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x40, 0xc0, 0x40, 0x40, 0xc0, 0x80, 0x80, 0x80, 0x00, 0x00,
- 0x80, 0xe0, 0x70, 0x3c, 0x0e, 0x06, 0x0e, 0x3c, 0x70, 0xe0, 0x80, 0x00, 0x00, 0xc0, 0xc0, 0x00,
- 0xc0, 0xc0, 0x00, 0xc0, 0xc0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xc0, 0xc0, 0x00, 0x00,
- 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0xc0, 0x80, 0x00, 0x00, 0x00, 0x80,
- 0xc0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
- 0x00, 0x00, 0x00, 0x80, 0xc0, 0xc0, 0xc0, 0xc0, 0xc0, 0xc0, 0xc0, 0xc0, 0xc0, 0x80, 0x00, 0x00,
- 0x00, 0x00, 0x00, 0x00, 0x80, 0x80, 0xc0, 0xc0, 0xc0, 0xc0, 0xc0, 0x80, 0x80, 0x00, 0x00, 0x00,
- 0x00, 0x00, 0x00, 0x00, 0xc0, 0xc0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
- 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x3f, 0xfc, 0xc0, 0x80, 0x80, 0x80, 0x81, 0x83, 0x83,
- 0x07, 0x07, 0x0c, 0x18, 0x70, 0xe0, 0x80, 0x00, 0x00, 0x01, 0xff, 0xfc, 0x80, 0xb6, 0xb6, 0x80,
- 0xb0, 0xb0, 0x00, 0x36, 0x36, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00,
- 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xf0, 0xf1, 0x00, 0x00, 0x00, 0x00, 0xff,
- 0xff, 0x00, 0x00, 0x00, 0x30, 0xf0, 0xf0, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0xf0, 0xf0,
- 0x30, 0x00, 0x00, 0x7f, 0xff, 0xff, 0xe1, 0x71, 0x71, 0xf1, 0xf1, 0xe1, 0xc1, 0x81, 0x00, 0x00,
- 0x00, 0x00, 0x0c, 0x3f, 0xff, 0xf3, 0xe1, 0xc1, 0xc1, 0x81, 0x81, 0xc3, 0xff, 0x7f, 0x1c, 0x00,
- 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
- 0x20, 0x70, 0x78, 0xdc, 0xcc, 0x86, 0x06, 0x03, 0x03, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01,
- 0x01, 0x03, 0x02, 0x06, 0x84, 0xe1, 0xfb, 0x38, 0x1c, 0x0c, 0x02, 0x01, 0x01, 0x01, 0x01, 0x01,
- 0x01, 0x01, 0x03, 0x03, 0x06, 0x86, 0xcc, 0xdc, 0x78, 0x70, 0x20, 0x00, 0xff, 0xff, 0x80, 0x80,
- 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0xff,
- 0xff, 0x80, 0x00, 0x00, 0x00, 0x00, 0x03, 0x1f, 0x7e, 0xf8, 0xe0, 0xf0, 0x7e, 0x1f, 0x03, 0x00,
- 0x00, 0x00, 0x00, 0xe0, 0xe0, 0xc0, 0xc0, 0x80, 0x80, 0x80, 0xc0, 0xe1, 0xff, 0x7f, 0x3f, 0x00,
- 0x00, 0x00, 0x3e, 0xff, 0xff, 0xc1, 0xc0, 0x80, 0x81, 0x81, 0xc3, 0xc3, 0xff, 0xfe, 0x3c, 0x00,
- 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x00,
- 0x00, 0x00, 0x00, 0x00, 0x01, 0x01, 0x03, 0x03, 0x06, 0x06, 0x06, 0x04, 0x04, 0x04, 0x04, 0x06,
- 0x06, 0x02, 0x03, 0x01, 0x01, 0x00, 0x01, 0x01, 0x03, 0x02, 0x06, 0x06, 0x04, 0x04, 0x04, 0x04,
- 0x06, 0x06, 0x06, 0x03, 0x03, 0x01, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x01, 0x01, 0x01,
- 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x00, 0x00, 0x01, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00,
- 0x01, 0x01, 0x01, 0x00, 0x00, 0x60, 0x60, 0x70, 0x38, 0x1f, 0x0f, 0x03, 0x00, 0x00, 0x00, 0x00,
- 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x00, 0x00, 0x00, 0x00,
- 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x00, 0x00, 0x00, 0x00,
- 0x00, 0x00, 0x00, 0x00, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x00
-};
- oled_write_raw_P(lily58_logo, sizeof(lily58_logo));
-}
-
-
-# define KEYLOG_LEN 6
-char keylog_str[KEYLOG_LEN] = {};
-uint8_t keylogs_str_idx = 0;
-uint16_t log_timer = 0;
-
-const char code_to_name[60] = {
- ' ', ' ', ' ', ' ', 'a', 'k', 'x', 'i', 'p', 'e',
- ',', 'c', 'd', 't', 's', 'r', 'q', ' ', 'l', 'j',
- 'b', 'o', 'u', 'e', 'v', '.', 'e', 'y', '^', 'a',
- ' ', ' ', ' ', '(', ')', '@', '+', '-', '/', '*',
- 'R', 'E', 'B', 'T', '_', '-', '=', '[', ']', '\\',
- '#', ';', '\'', '`', ',', '.', '/', ' ', ' ', ' '};
-
-void add_keylog(uint16_t keycode) {
- if ((keycode >= QK_MOD_TAP && keycode <= QK_MOD_TAP_MAX) || (keycode >= QK_LAYER_TAP && keycode <= QK_LAYER_TAP_MAX)) {
- keycode = keycode & 0xFF;
- }
-
- for (uint8_t i = KEYLOG_LEN - 1; i > 0; i--) {
- keylog_str[i] = keylog_str[i - 1];
- }
- if (keycode < 60) {
- keylog_str[0] = code_to_name[keycode];
- }
- keylog_str[KEYLOG_LEN - 1] = 0;
-
- log_timer = timer_read();
-}
-
-void update_log(void) {
- if (timer_elapsed(log_timer) > 750) {
- add_keylog(0);
- }
-}
-
-void render_keylogger_status(void) {
- oled_write_P(PSTR("KLogr"), false);
- oled_write(keylog_str, false);
-}
-
-void render_default_layer_state(void) {
- oled_write_P(PSTR("Layer"), false);
- oled_write_P(PSTR(" "), false);
- switch (get_highest_layer(layer_state)) {
- case _BEPO:
- oled_write_P(PSTR("BEPO"), false);
- break;
- case _LOWER:
- oled_write_ln_P(PSTR("LOW"), false);
- break;
- case _RAISE:
- oled_write_P(PSTR("HIGH"), false);
- break;
- case _ADJUST:
- oled_write_ln_P(PSTR("ADJ"), false);
- break;
- default:
- oled_write_ln_P(PSTR("Undefined"), false);
- }
-}
-
-void render_keylock_status(led_t led_state) {
- oled_write_ln_P(PSTR("Lock"), false);
- oled_write_P(PSTR(" "), false);
- oled_write_P(PSTR("N"), led_state.num_lock);
- oled_write_P(PSTR("C"), led_state.caps_lock);
- oled_write_ln_P(PSTR("S"), led_state.scroll_lock);
-}
-
-void render_mod_status(uint8_t modifiers) {
- oled_write_ln_P(PSTR("Mods"), false);
- oled_write_P(PSTR(" "), false);
- oled_write_P(PSTR("S"), (modifiers & MOD_MASK_SHIFT));
- oled_write_P(PSTR("C"), (modifiers & MOD_MASK_CTRL));
- oled_write_P(PSTR("A"), (modifiers & MOD_MASK_ALT));
- oled_write_P(PSTR("G"), (modifiers & MOD_MASK_GUI));
-}
-
-void render_status_main(void) {
- // Show keyboard layout
- render_default_layer_state();
- // Add a empty line
- oled_write_P(PSTR("-----"), false);
- // Show host keyboard led status
- render_keylock_status(host_keyboard_led_state());
- // Add a empty line
- oled_write_P(PSTR("-----"), false);
- // Show modifier status
- render_mod_status(get_mods());
- // Add a empty line
- oled_write_P(PSTR("-----"), false);
- render_keylogger_status();
-}
-
-bool oled_task_user(void) {
- update_log();
- if (is_keyboard_master()) {
- render_status_main(); // Renders the current keyboard state (layer, lock, caps, scroll, etc)
- } else {
- render_lily58_logo();
- }
- return false;
-}
-
-bool process_record_user(uint16_t keycode, keyrecord_t *record) {
- if (record->event.pressed) {
- add_keylog(keycode);
- }
- //return true;
-
-//intercepting hold/tap to change hold function
- switch (keycode) {
- case MT(KC_CAPS, KC_ESC):
- if (!record->tap.count && record->event.pressed) {
- tap_code(KC_CAPS); // Intercept hold function to send Caps Lock
- return false;
- }
- return true; // Return true for normal processing of tap keycode
- case MT(BP_CCED, BP_C):
- if (!record->tap.count && record->event.pressed) {
- tap_code(BP_CCED); // Intercept hold function to send ç
- return false;
- }
- return true; // Return true for normal processing of tap keycode
- }
- return true;
-}
-#endif // OLED_ENABLE
-
-
-// Rotary encoder related code
-#ifdef ENCODER_ENABLE
-bool encoder_update_user(uint8_t index, bool clockwise) {
- if (index == 0) { // Encoder on master side
- if(IS_LAYER_ON(_RAISE)) { // on Raise layer
- // Cursor control
- if (clockwise) {
- tap_code(KC_MNXT);
- } else {
- tap_code(KC_MPRV);
- }
- }
- else {
- if (clockwise) {
- tap_code(KC_VOLD);
- } else {
- tap_code(KC_VOLU);
- }
- }
- }
- else if (index == 1) { // Encoder on slave side
- if(IS_LAYER_ON(_LOWER)) { // on Lower layer
- //
- if (clockwise) {
- tap_code(KC_RIGHT);
- } else {
- tap_code(KC_LEFT);
- }
- }
- else {
- if (clockwise) {
- tap_code(KC_DOWN);
- } else {
- tap_code(KC_UP);
- }
- }
- }
- return false;
-}
-#endif
-
-//layer led modification
-// Light LEDs 6 to 9 and 12 to 15 red when caps lock is active. Hard to ignore!
-const rgblight_segment_t PROGMEM my_capslock_layer[] = RGBLIGHT_LAYER_SEGMENTS(
- {0, 6, HSV_RED}, // Light 6 LEDs, starting with LED 0
- {35, 6, HSV_RED} // Light 6 LEDs, starting with LED 35
-);
-// Now define the array of layers. Later layers take precedence
-const rgblight_segment_t* const PROGMEM my_rgb_layers[] = RGBLIGHT_LAYERS_LIST(
- my_capslock_layer
-);
-void keyboard_post_init_user(void) {
- // Enable the LED layers
- rgblight_layers = my_rgb_layers;
-}
-bool led_update_user(led_t led_state) {
- rgblight_set_layer_state(0, led_state.caps_lock);
- return true;
-}
diff --git a/keyboards/lily58/keymaps/niolang/rules.mk b/keyboards/lily58/keymaps/niolang/rules.mk
deleted file mode 100644
index 83c24c8705..0000000000
--- a/keyboards/lily58/keymaps/niolang/rules.mk
+++ /dev/null
@@ -1,2 +0,0 @@
-EXTRAKEY_ENABLE = yes
-OLED_ENABLE = yes \ No newline at end of file
diff --git a/keyboards/lily58/keymaps/oldfieldtc/config.h b/keyboards/lily58/keymaps/oldfieldtc/config.h
deleted file mode 100644
index edfc9530b2..0000000000
--- a/keyboards/lily58/keymaps/oldfieldtc/config.h
+++ /dev/null
@@ -1,23 +0,0 @@
-/*
-This is the c configuration file for the keymap
-
-Copyright 2022 Tommy Oldfield <@oldfieldtc>
-
-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
-
-#define TAPPING_FORCE_HOLD
-#define TAPPING_TERM 100 \ No newline at end of file
diff --git a/keyboards/lily58/keymaps/oldfieldtc/keymap.c b/keyboards/lily58/keymaps/oldfieldtc/keymap.c
deleted file mode 100644
index 11750e82e8..0000000000
--- a/keyboards/lily58/keymaps/oldfieldtc/keymap.c
+++ /dev/null
@@ -1,191 +0,0 @@
-// Copyright 2022 Tommy Oldfield (@oldfieldtc)
-// SPDX-License-Identifier: GPL-2.0-or-later
-
-#include QMK_KEYBOARD_H
-
-enum layer_number {
- _QWERTY = 0,
- _LOWER,
- _RAISE,
- _ADJUST,
-};
-
-void render_logo(void);
-
-const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
-
-/* QWERTY
- * ,-----------------------------------------. ,-----------------------------------------.
- * | ESC | 1 | 2 | 3 | 4 | 5 | | 6 | 7 | 8 | 9 | 0 |BackSP|
- * |------+------+------+------+------+------| |------+------+------+------+------+------|
- * | Tab | Q | W | E | R | T | | Y | U | I | O | P | - |
- * |------+------+------+------+------+------| |------+------+------+------+------+------|
- * |LCTRL | A | S | D | F | G |-------. ,-------| H | J | K | L | ; | ' |
- * |------+------+------+------+------+------| [ | | ] |------+------+------+------+------+------|
- * |LShift| Z | X | C | V | B |-------| |-------| N | M | , | . | / |RShift|
- * `-----------------------------------------/ / \ \-----------------------------------------'
- * |LAlt/⌥|LGUI/⌘|LOWER| /Space / \Enter \ |RAISE | Play |RGUI/⌘ |
- * | | | |/ / \ \ | | | |
- * `----------------------------' '------''--------------------'
- */
-
- [_QWERTY] = LAYOUT(
- KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_BSPC,
- KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_MINS,
- KC_LCTL, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT,
- KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_LBRC, KC_RBRC, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT,
- KC_LALT, KC_LGUI, MO(1), KC_SPC, KC_ENT, MO(2), KC_MPLY, KC_RGUI
-),
-
-/* LOWER
- * ,-----------------------------------------. ,-----------------------------------------.
- * | Mute |Vol - |Vol + | Play | Rwd | Fwd | | | | | | | DEL |
- * |------+------+------+------+------+------| |------+------+------+------+------+------|
- * | F1 | F2 | F3 | F4 | F5 | F6 | | F7 | F8 | F9 | F10 | F11 | F12 |
- * |------+------+------+------+------+------| |------+------+------+------+------+------|
- * | ` | ! | @ | # | $ | % |-------. ,-------| ^ | & | * | ( | ) | ~ |
- * |------+------+------+------+------+------| | | |------+------+------+------+------+------|
- * | Caps | | | | | |-------| |-------| | _ | + | { | } | |\ |
- * `-----------------------------------------/ / \ \-----------------------------------------'
- * | | |LOWER | / / \ \ |RAISE | | |
- * | | | |/ / \ \ | | | |
- * `----------------------------' '------''--------------------'
- */
-[_LOWER] = LAYOUT(
- KC_MUTE, KC_VOLD, KC_VOLU, KC_MPLY, KC_MRWD, KC_MFFD, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_DEL,
- KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12,
- KC_GRV, KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, KC_CIRC, KC_AMPR, KC_ASTR, KC_LPRN, KC_RPRN, KC_NONUS_HASH,
- KC_CAPS, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_UNDS, KC_PLUS, KC_LCBR, KC_RCBR, KC_NONUS_BACKSLASH,
- KC_NO, KC_NO, KC_TRNS, KC_NO, KC_NO, KC_TRNS, KC_NO, KC_NO
-),
-
-/* RAISE
- * ,-----------------------------------------. ,-----------------------------------------.
- * | | | | | | | | | | | | | |
- * |------+------+------+------+------+------| |------+------+------+------+------+------|
- * | ` | 1 | 2 | 3 | 4 | 5 | | 6 | 7 | 8 | 9 | 0 | |
- * |------+------+------+------+------+------| |------+------+------+------+------+------|
- * | F1 | F2 | F3 | F4 | F5 | F6 |-------. ,-------| | Left | Down | Up |Right | |
- * |------+------+------+------+------+------| | | |------+------+------+------+------+------|
- * | F7 | F8 | F9 | F10 | F11 | F12 |-------| |-------| + | - | = | [ | ] | # |
- * `-----------------------------------------/ / \ \-----------------------------------------'
- * | | |LOWER | / / \ \ |RAISE | | |
- * | | | |/ / \ \ | | | |
- * `----------------------------' '------''--------------------'
- */
-
-[_RAISE] = LAYOUT(
- KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO,
- KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_NO,
- KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_NO, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT, KC_NO,
- KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_NO, KC_NO, KC_PLUS, KC_MINS, KC_EQL, KC_LBRC, KC_RBRC, KC_BSLS,
- KC_NO, KC_NO, KC_TRNS, KC_NO, KC_NO, KC_TRNS, KC_NO, KC_NO
- ),
-
-/* ADJUST
- * ,-----------------------------------------. ,-----------------------------------------.
- * | | | | | | | | | | | | | |
- * |------+------+------+------+------+------| |------+------+------+------+------+------|
- * | | | | | | | | | | | | | |
- * |------+------+------+------+------+------| |------+------+------+------+------+------|
- * | | | | | | |-------. ,-------| | |RGB ON| HUE+ | SAT+ | VAL+ |
- * |------+------+------+------+------+------| | | |------+------+------+------+------+------|
- * | | | | | | |-------| |-------| | | MODE | HUE- | SAT- | VAL- |
- * `-----------------------------------------/ / \ \-----------------------------------------'
- * | | |LOWER | / / \ \ |RAISE | | |
- * | | | |/ / \ \ | | | |
- * `----------------------------' '------''--------------------'
- */
- [_ADJUST] = LAYOUT(
- KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO,
- KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO,
- KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, RGB_TOG, RGB_HUI, RGB_SAI, RGB_VAI,
- KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, RGB_MOD, RGB_HUD, RGB_SAD, RGB_VAD,
- KC_NO, KC_NO, KC_TRNS, KC_NO, KC_NO, KC_TRNS, KC_NO, KC_NO)
-
-};
-
-layer_state_t layer_state_set_user(layer_state_t state) {
- return update_tri_layer_state(state, _LOWER, _RAISE, _ADJUST);
-}
-
-//SSD1306 OLED update loop, make sure to enable OLED_ENABLE=yes in rules.mk
-#ifdef OLED_ENABLE
-
-oled_rotation_t oled_init_user(oled_rotation_t rotation) {
- if (!is_keyboard_master())
- return OLED_ROTATION_180; // flips the display 180 degrees if offhand
- return rotation;
-}
-
-// When you add source files to SRC in rules.mk, you can use functions.
-const char *read_layer_state(void);
-const char *read_logo(void);
-void set_keylog(uint16_t keycode, keyrecord_t *record);
-const char *read_keylog(void);
-const char *read_keylogs(void);
-
-bool oled_task_user(void) {
- if (is_keyboard_master()) {
- // If you want to change the display of OLED, you need to change here
- oled_write_ln(read_layer_state(), false);
- oled_write_ln(read_keylog(), false);
- oled_write_ln(read_keylogs(), false);
-
- oled_write_P(PSTR("WPM: "), false);
- oled_write_ln(get_u8_str(get_current_wpm(), '0'), false);
- } else {
- render_logo();
- }
- return false;
-}
-#endif // OLED_ENABLE
-
-bool process_record_user(uint16_t keycode, keyrecord_t *record) {
- if (record->event.pressed) {
-#ifdef OLED_ENABLE
- set_keylog(keycode, record);
-#endif
-
- }
- return true;
-}
-
-void render_logo(void) {
- static const char PROGMEM my_logo[] = {
- // 'punpun 2', 128x32px
- 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
-0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
-0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
-0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
-0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 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, 0xe0, 0x70, 0x38, 0x1c, 0x0c, 0x06, 0x06, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02,
-0x02, 0x02, 0x02, 0x06, 0x06, 0x06, 0x04, 0x04, 0x0c, 0x0c, 0x08, 0x08, 0x18, 0x18, 0x18, 0x10,
-0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
-0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
-0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
-0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
-0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
-0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
-0x00, 0x00, 0x3f, 0xff, 0xc0, 0x00, 0x00, 0x00, 0x0c, 0x1c, 0x1c, 0x18, 0x00, 0x00, 0x00, 0x00,
-0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
-0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
-0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
-0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
-0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
-0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 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, 0x07, 0x0c, 0x18, 0x10, 0xf0, 0xe0, 0x00, 0x00, 0x00, 0x00, 0x00,
-0x80, 0x80, 0x80, 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, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
-0x00, 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, 0x70, 0x38, 0x1c, 0x06, 0x03,
-0x01, 0x01, 0x01, 0x01, 0x01, 0x03, 0x03, 0x03, 0x02, 0x06, 0x04, 0x04, 0x0c, 0x08, 0x18, 0x18
- };
- oled_write_raw_P(my_logo, sizeof(my_logo));
-} \ No newline at end of file
diff --git a/keyboards/lily58/keymaps/oldfieldtc/readme.md b/keyboards/lily58/keymaps/oldfieldtc/readme.md
deleted file mode 100644
index 8aa978d52e..0000000000
--- a/keyboards/lily58/keymaps/oldfieldtc/readme.md
+++ /dev/null
@@ -1,22 +0,0 @@
-# Lily58 keyboard keymap
-
-## Default layer
-![Default keymap layer](https://i.imgur.com/c5kbMww.jpg)
-
-[Default layer - Keyboard layout editor](http://www.keyboard-layout-editor.com/#/gists/8ff6160c16e9b9ee7e104538bfad4a59)
-
-## Lower layer
-![Lower keymap layer](https://i.imgur.com/GcLR3Uw.jpg)
-
-[Lower layer - Keyboard layout editor](http://www.keyboard-layout-editor.com/#/gists/7d77cd87c53d5eded50530242b852c20)
-
-## Raise layer
-![Raise keymap layer](https://i.imgur.com/aNVwlKJ.jpg)
-
-[Raise layer - Keyboard layout editor](http://www.keyboard-layout-editor.com/#/gists/c7a63881a13e339f1b5b847637677e5f)
-
-## Adjust layer
-![Adjust keymap layer](https://i.imgur.com/0l4c1Df.jpg)
-
-[Adjust layer - Keyboard layout editor](http://www.keyboard-layout-editor.com/#/gists/15a25bc84fa69a1b9f228574674728d3)
-
diff --git a/keyboards/lily58/keymaps/oldfieldtc/rules.mk b/keyboards/lily58/keymaps/oldfieldtc/rules.mk
deleted file mode 100644
index 004b46d641..0000000000
--- a/keyboards/lily58/keymaps/oldfieldtc/rules.mk
+++ /dev/null
@@ -1,11 +0,0 @@
-EXTRAKEY_ENABLE = yes
-WPM_ENABLE = yes
-
-# If you want to change the display of OLED, you need to change here
-SRC += ./lib/rgb_state_reader.c \
- ./lib/layer_state_reader.c \
- ./lib/logo_reader.c \
- ./lib/keylogger.c \
- ./lib/timelogger.c \
- # ./lib/mode_icon_reader.c \
- # ./lib/host_led_state_reader.c \ \ No newline at end of file
diff --git a/keyboards/lily58/keymaps/paulomp90/config.h b/keyboards/lily58/keymaps/paulomp90/config.h
deleted file mode 100644
index b2cfbdd69c..0000000000
--- a/keyboards/lily58/keymaps/paulomp90/config.h
+++ /dev/null
@@ -1,22 +0,0 @@
-/* Copyright 2023 Paulo Pereira
- *
- * 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 3 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
-
-
-#define QUICK_TAP_TERM 0
-#define TAPPING_TERM 150
-#define TAP_CODE_DELAY 10 \ No newline at end of file
diff --git a/keyboards/lily58/keymaps/paulomp90/features/custom_shift_keys.c b/keyboards/lily58/keymaps/paulomp90/features/custom_shift_keys.c
deleted file mode 100644
index f2e091c0b9..0000000000
--- a/keyboards/lily58/keymaps/paulomp90/features/custom_shift_keys.c
+++ /dev/null
@@ -1,67 +0,0 @@
-/* Copyright 2023 Paulo Pereira
- *
- * 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 3 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 "custom_shift_keys.h"
-
-bool process_custom_shift_keys(uint16_t keycode, keyrecord_t *record) {
- static uint16_t registered_keycode = KC_NO;
-
- // If a custom shift key is registered, then this event is either
- // releasing it or manipulating another key at the same time. Either way,
- // we release the currently registered key.
- if (registered_keycode != KC_NO) {
- unregister_code16(registered_keycode);
- registered_keycode = KC_NO;
- }
-
- if (record->event.pressed) { // Press event.
- const uint8_t mods = get_mods();
-#ifndef NO_ACTION_ONESHOT
- if ((mods | get_weak_mods() | get_oneshot_mods()) & MOD_MASK_SHIFT) {
-#else
- if ((mods | get_weak_mods()) & MOD_MASK_SHIFT) { // Shift is held.
-#endif // NO_ACTION_ONESHOT
- // Continue default handling if this is a tap-hold key being held.
- if ((IS_QK_MOD_TAP(keycode) || IS_QK_LAYER_TAP(keycode)) &&
- record->tap.count == 0) {
- return true;
- }
-
- // Search for a custom shift key whose keycode is `keycode`.
- for (int i = 0; i < NUM_CUSTOM_SHIFT_KEYS; ++i) {
- if (keycode == custom_shift_keys[i].keycode) {
- registered_keycode = custom_shift_keys[i].shifted_keycode;
- if (IS_QK_MODS(registered_keycode) && // Should key be shifted?
- (QK_MODS_GET_MODS(registered_keycode) & MOD_LSFT) != 0) {
- register_code16(registered_keycode); // If so, press directly.
- } else {
- // If not, cancel shift mods, press the key, and restore mods.
- del_weak_mods(MOD_MASK_SHIFT);
-#ifndef NO_ACTION_ONESHOT
- del_oneshot_mods(MOD_MASK_SHIFT);
-#endif // NO_ACTION_ONESHOT
- unregister_mods(MOD_MASK_SHIFT);
- register_code16(registered_keycode);
- set_mods(mods);
- }
- return false;
- }
- }
- }
- }
-
- return true; // Continue with default handling.
-}
diff --git a/keyboards/lily58/keymaps/paulomp90/features/custom_shift_keys.h b/keyboards/lily58/keymaps/paulomp90/features/custom_shift_keys.h
deleted file mode 100644
index 2097f2bb7e..0000000000
--- a/keyboards/lily58/keymaps/paulomp90/features/custom_shift_keys.h
+++ /dev/null
@@ -1,29 +0,0 @@
-/* Copyright 2023 Paulo Pereira
- *
- * 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 3 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
-#include QMK_KEYBOARD_H
-
-typedef struct {
- uint16_t keycode;
- uint16_t shifted_keycode;
-} custom_shift_key_t;
-
-extern const custom_shift_key_t custom_shift_keys[];
-extern uint8_t NUM_CUSTOM_SHIFT_KEYS;
-
-bool process_custom_shift_keys(uint16_t keycode, keyrecord_t *record); \ No newline at end of file
diff --git a/keyboards/lily58/keymaps/paulomp90/keymap.c b/keyboards/lily58/keymaps/paulomp90/keymap.c
deleted file mode 100644
index af0fafb337..0000000000
--- a/keyboards/lily58/keymaps/paulomp90/keymap.c
+++ /dev/null
@@ -1,264 +0,0 @@
-/* Copyright 2023 Paulo Pereira
- *
- * 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 3 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_portuguese.h"
-#include "features/custom_shift_keys.h"
-
-enum layer_number {
- _QWERTY = 0,
- _LOWER,
- _RAISE,
- _ADJUST,
-};
-
-/* tap dance shifts */
-typedef struct {
- bool is_press_action;
- int state;
-} tap;
-
-typedef enum {
- TD_NONE,
- TD_UNKNOWN,
- TD_SINGLE_TAP,
- TD_SINGLE_HOLD,
- TD_DOUBLE_TAP
-} td_state_t;
-
-enum { LEFT_SHIFT = 0, RIGHT_SHIFT = 1 };
-
-const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
-
- /* QWERTY
- * ,-----------------------------------------. ,-----------------------------------------.
- * | ESC | 1 | 2 | 3 | 4 | 5 | | 6 | 7 | 8 | 9 | 0 | '? |
- * |------+------+------+------+------+------| |------+------+------+------+------+------|
- * | Tab | Q | W | E | R | T | | Y | U | I | O | P | +* |
- * |------+------+------+------+------+------| |------+------+------+------+------+------|
- * |LShift| A | S | D | F | G |-------. ,-------| H | J | K | L | Ç | BACK |
- * |------+------+------+------+------+------| <> | | ´` |------+------+------+------+------+------|
- * |LCTRL | Z | X | C | V | B |-------| |-------| N | M | ,; | .: | _- |Shift|
- * `-----------------------------------------/ / \ \-----------------------------------------'
- * | LAlt | LGUI |LOWER | /Space / \Enter \ |RAISE | RGUI | RAlt |
- * | | | |/ / \ \ | | | |
- * `-------------------''-------' '------''--------------------'
- */
- [_QWERTY] = LAYOUT(
- KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS,
- KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_EQL,
- TD(LEFT_SHIFT), KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_BSPC,
- KC_LCTL, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_GRV, KC_RBRC, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, TD(RIGHT_SHIFT),
- KC_LALT, KC_LGUI, TL_LOWR, KC_SPC, KC_ENT, TL_UPPR, KC_RGUI, KC_RALT
- ),
-
- /* LOWER
- * ,-----------------------------------------. ,-----------------------------------------.
- * | | F2 | F3 | F4 | F5 | F6 | | F7 | F8 | F9 | F10 | F11 | |
- * |------+------+------+------+------+------| |------+------+------+------+------+------|
- * | F1 | | | | | | | PgUp | HOME | Up | END | ºª | F12 |
- * |------+------+------+------+------+------| |------+------+------+------+------+------|
- * | | | | | | |-------. ,-------| PgDn | Left | Down |Right | ~^ | DEL |
- * |------+------+------+------+------+------| <> | | ´` |------+------+------+------+------+------|
- * | | | | << | >|| | >> |-------| |-------| | Vol+ | Vol- | Mute | \| | |
- * `-----------------------------------------/ / \ \-----------------------------------------'
- * | LAlt | LGUI |LOWER | /Space / \Enter \ |RAISE | RGUI | RAlt |
- * | | | |/ / \ \ | | | |
- * `-------------------''-------' '------''--------------------'
- */
- [_LOWER] = LAYOUT(
- _______, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, _______,
- KC_F1, _______, _______, _______, _______, _______, KC_PGUP, KC_HOME, KC_UP, KC_END, KC_LBRC, KC_F12,
- _______, _______, _______, _______, _______, _______, KC_PGDN, KC_LEFT, KC_DOWN, KC_RGHT, KC_QUOT, KC_DEL,
- _______, _______, _______, KC_MPRV, KC_MPLY, KC_MNXT, _______, _______, _______, KC_VOLU, KC_VOLD, KC_MUTE, KC_BSLS, _______,
- _______, _______, _______, _______, _______, _______, _______, _______
- ),
-
- /* RAISE
- * ,-----------------------------------------. ,-----------------------------------------.
- * | | | | | | | | | | | | | |
- * |------+------+------+------+------+------| |------+------+------+------+------+------|
- * | | 1 | 2 | 3 | 4 | 5 | | PgUp | HOME | Up | END | ºª | |
- * |------+------+------+------+------+------| |------+------+------+------+------+------|
- * | | 6 | 7 | 8 | 9 | 0 |-------. ,-------| PgDn | Left | Down |Right | ~^ | |
- * |------+------+------+------+------+------| | | |------+------+------+------+------+------|
- * | | | | << | >|| | >> |-------| |-------| | Vol+ | Vol- | Mute | \| | |
- * `-----------------------------------------/ / \ \-----------------------------------------'
- * | LAlt | LGUI |LOWER | /Space / \Enter \ |RAISE | RGUI | RAlt |
- * | | | |/ / \ \ | | | |
- * `-------------------''-------' '------''--------------------'
- */
- [_RAISE] = LAYOUT(
- _______, _______, _______, _______, _______, _______, _______, _______, _______,_______, _______, _______,
- _______, KC_1, KC_2, KC_3, KC_4, KC_5, KC_PGUP, KC_HOME, KC_UP, KC_END, KC_LBRC, _______,
- _______, KC_6, KC_7, KC_8, KC_9, KC_0, KC_PGDN, KC_LEFT, KC_DOWN, KC_RGHT, KC_QUOT, _______,
- _______, _______, _______, KC_MPRV, KC_MPLY, KC_MNXT, _______, _______, _______, KC_VOLU, KC_VOLD, KC_MUTE, KC_BSLS, _______,
- _______, _______, _______, _______, _______, _______, _______, _______
- ),
-
- /* ADJUST
- * ,-----------------------------------------. ,-----------------------------------------.
- * | | | | | | | | | | | | | |
- * |------+------+------+------+------+------| |------+------+------+------+------+------|
- * | | | | | | | | | | | | | |
- * |------+------+------+------+------+------| |------+------+------+------+------+------|
- * |RGB ON| HUE+ | SAT+ | VAL+ | | BRG+ |-------. ,-------| | | | | | |
- * |------+------+------+------+------+------| | | |------+------+------+------+------+------|
- * | MODE | HUE- | SAT- | VAL- | | BRG- |-------| |-------| | | | | | |
- * `-----------------------------------------/ / \ \-----------------------------------------'
- * | LAlt | LGUI |LOWER | /Space / \Enter \ |RAISE | RGUI | RAlt |
- * | | | |/ / \ \ | | | |
- * `----------------------------' '------''--------------------'
- */
-
- [_ADJUST] = LAYOUT(
- XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX,
- XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX,
- RGB_TOG, RGB_HUI, RGB_SAI, RGB_VAI, XXXXXXX, KC_BRIU, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX,
- RGB_MOD, RGB_HUD, RGB_SAD, RGB_VAD, XXXXXXX, KC_BRID, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX,
- _______, _______, _______, _______, _______, _______, _______, _______
- )
-};
-
-// SSD1306 OLED update loop, make sure to enable OLED_ENABLE=yes in rules.mk
-#ifdef OLED_ENABLE
-
-oled_rotation_t oled_init_user(oled_rotation_t rotation) {
- if (!is_keyboard_master()) return OLED_ROTATION_180; // flips the display 180 degrees if offhand
- return rotation;
-}
-
-// When you add source files to SRC in rules.mk, you can use functions.
-const char *read_layer_state(void);
-const char *read_logo(void);
-void set_keylog(uint16_t keycode, keyrecord_t *record);
-const char *read_keylog(void);
-const char *read_keylogs(void);
-
-bool oled_task_user(void) {
- if (is_keyboard_master()) {
- oled_write_ln(read_layer_state(), false);
- oled_write_ln(read_keylog(), false);
- oled_write_ln(read_keylogs(), false);
- } else {
- oled_write(read_logo(), false);
- }
- return false;
-}
-#endif // OLED_ENABLE
-
-
-bool process_record_user(uint16_t keycode, keyrecord_t *record) {
- if (record->event.pressed) {
- #ifdef OLED_ENABLE
- set_keylog(keycode, record);
- #endif
- }
-
- return true;
-}
-
-/* Tap dance shifts */
-td_state_t cur_dance(tap_dance_state_t *state) {
- if (state->count == 1) {
- if (state->interrupted || !state->pressed) {
- return TD_SINGLE_TAP;
- } else {
- return TD_SINGLE_HOLD;
- }
- } else if (state->count == 2) {
- return TD_DOUBLE_TAP;
- }
-
- return TD_UNKNOWN;
-}
-
-static tap lshifttap_state = {.is_press_action = true, .state = TD_NONE};
-
-static tap rshifttap_state = {.is_press_action = true, .state = TD_NONE};
-
-void lshift_finished(tap_dance_state_t *state, void *user_data) {
- lshifttap_state.state = cur_dance(state);
-
- switch (lshifttap_state.state) {
- case TD_SINGLE_TAP:
- register_code16(LALT(KC_LEFT));
- break;
- case TD_SINGLE_HOLD:
- register_code(KC_LSFT);
- break;
- case TD_DOUBLE_TAP:
- tap_code16(LALT(KC_LEFT));
- register_code16(LALT(KC_LEFT));
- break;
- default:
- break;
- }
-}
-
-void lshift_reset(tap_dance_state_t *state, void *user_data) {
- switch (lshifttap_state.state) {
- case TD_SINGLE_TAP:
- unregister_code16(LALT(KC_LEFT));
- break;
- case TD_SINGLE_HOLD:
- unregister_code(KC_LSFT);
- break;
- case TD_DOUBLE_TAP:
- unregister_code16(LALT(KC_LEFT));
- break;
- }
- lshifttap_state.state = TD_NONE;
-}
-
-void rshift_finished(tap_dance_state_t *state, void *user_data) {
- rshifttap_state.state = cur_dance(state);
-
- switch (rshifttap_state.state) {
- case TD_SINGLE_TAP:
- register_code16(LALT(KC_RGHT));
- break;
- case TD_SINGLE_HOLD:
- register_code(KC_RSFT);
- break;
- case TD_DOUBLE_TAP:
- tap_code16(LALT(KC_RGHT));
- register_code16(LALT(KC_RGHT));
- break;
- default:
- break;
- }
-}
-
-void rshift_reset(tap_dance_state_t *state, void *user_data) {
- switch (rshifttap_state.state) {
- case TD_SINGLE_TAP:
- unregister_code16(LALT(KC_RGHT));
- break;
- case TD_SINGLE_HOLD:
- unregister_code(KC_RSFT);
- break;
- case TD_DOUBLE_TAP:
- unregister_code16(LALT(KC_RGHT));
- break;
- }
- rshifttap_state.state = TD_NONE;
-}
-
-tap_dance_action_t tap_dance_actions[] = {
- [LEFT_SHIFT] = ACTION_TAP_DANCE_FN_ADVANCED(NULL, lshift_finished, lshift_reset),
- [RIGHT_SHIFT] = ACTION_TAP_DANCE_FN_ADVANCED(NULL, rshift_finished, rshift_reset),
-};
diff --git a/keyboards/lily58/keymaps/paulomp90/readme.md b/keyboards/lily58/keymaps/paulomp90/readme.md
deleted file mode 100644
index 9ab72cd0b2..0000000000
--- a/keyboards/lily58/keymaps/paulomp90/readme.md
+++ /dev/null
@@ -1,10 +0,0 @@
-# Paulo Lily58
-
-Lily58 is 6×4 column-staggered split keyboard.
-
-![Keymap first layer](https://i.postimg.cc/HWcgcxb8/lily58.png "Keymap first layer")
-
-- Add portuguese include
-- Add custom shift behaviour, when tap move by 1 word left <> right, when held act as shift.
-idea taken from [here](https://getreuer.info/posts/keyboards/custom-shift-keys/index.html).
-
diff --git a/keyboards/lily58/keymaps/paulomp90/rules.mk b/keyboards/lily58/keymaps/paulomp90/rules.mk
deleted file mode 100644
index d7bfc97394..0000000000
--- a/keyboards/lily58/keymaps/paulomp90/rules.mk
+++ /dev/null
@@ -1,14 +0,0 @@
-EXTRAKEY_ENABLE = yes # Audio control and System control
-OLED_ENABLE= yes # OLED display
-TAP_DANCE_ENABLE = yes
-TRI_LAYER_ENABLE = yes
-
-# If you want to change the display of OLED, you need to change here
-SRC += ./lib/rgb_state_reader.c \
- ./lib/layer_state_reader.c \
- ./lib/logo_reader.c \
- ./lib/keylogger.c \
- features/custom_shift_keys.c \
- # ./lib/mode_icon_reader.c \
- # ./lib/host_led_state_reader.c \
- # ./lib/timelogger.c \
diff --git a/keyboards/lily58/keymaps/pomodoro/config.h b/keyboards/lily58/keymaps/pomodoro/config.h
deleted file mode 100644
index ce2b0e4bcd..0000000000
--- a/keyboards/lily58/keymaps/pomodoro/config.h
+++ /dev/null
@@ -1,56 +0,0 @@
-/*
-This is the c configuration file for the keymap
-
-Copyright 2012 Jun Wako <wakojun@gmail.com>
-Copyright 2015 Jack Humbert
-
-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
-
-/* Select hand configuration */
-
-#define MASTER_LEFT
-// #define MASTER_RIGHT
-// #define EE_HANDS
-
-#define QUICK_TAP_TERM 0
-#define TAPPING_TERM 100
-
-#undef RGBLED_NUM
-#define RGBLIGHT_EFFECT_BREATHING
-#define RGBLIGHT_EFFECT_RAINBOW_MOOD
-#define RGBLIGHT_EFFECT_RAINBOW_SWIRL
-#define RGBLIGHT_EFFECT_SNAKE
-#define RGBLIGHT_EFFECT_KNIGHT
-#define RGBLIGHT_EFFECT_CHRISTMAS
-#define RGBLIGHT_EFFECT_STATIC_GRADIENT
-#define RGBLIGHT_EFFECT_RGB_TEST
-#define RGBLIGHT_EFFECT_ALTERNATING
-#define RGBLIGHT_EFFECT_TWINKLE
-#define RGBLED_NUM 27
-#define RGBLIGHT_LIMIT_VAL 120
-#define RGBLIGHT_HUE_STEP 10
-#define RGBLIGHT_SAT_STEP 17
-#define RGBLIGHT_VAL_STEP 17
-
-#define SPLIT_TRANSACTION_IDS_USER SYNC_POMODORO_RUNNING
-
-// Underglow
-/*
-#undef RGBLED_NUM
-#define RGBLED_NUM 14 // Number of LEDs
-#define RGBLIGHT_SLEEP
-*/
diff --git a/keyboards/lily58/keymaps/pomodoro/keymap.c b/keyboards/lily58/keymaps/pomodoro/keymap.c
deleted file mode 100644
index 7689a391f2..0000000000
--- a/keyboards/lily58/keymaps/pomodoro/keymap.c
+++ /dev/null
@@ -1,154 +0,0 @@
-/*
-Copyright 2023 Casey Borders
-
-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
-
-enum layer_number {
- _QWERTY = 0,
- _LOWER,
- _RAISE,
- _ADJUST,
-};
-
-const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
- /* QWERTY
- * ,-----------------------------------------. ,-----------------------------------------.
- * | ESC | 1 | 2 | 3 | 4 | 5 | | 6 | 7 | 8 | 9 | 0 |Backsp|
- * |------+------+------+------+------+------| |------+------+------+------+------+------|
- * | Tab | Q | W | E | R | T | | Y | U | I | O | P | - |
- * |------+------+------+------+------+------| |------+------+------+------+------+------|
- * |LCTRL | A | S | D | F | G |-------. ,-------| H | J | K | L | ; | ' |
- * |------+------+------+------+------+------| [ | | ] |------+------+------+------+------+------|
- * |LShift| Z | X | C | V | B |-------| |-------| N | M | , | . | / |RShift|
- * `-----------------------------------------/ / \ \-----------------------------------------'
- * | Play |LOWER | LGUI | / Enter / \Space \ | RGUI |RAISE | Mute |
- * | | | |/ / \ \ | | | |
- * `----------------------------' '------''--------------------'
- */
- [_QWERTY] = LAYOUT(
- KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_BSPC,
- KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_MINS,
- KC_LCTL, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT,
- KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_LBRC, KC_RBRC, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT,
- KC_MPLY, MO(_LOWER), KC_LGUI, KC_ENT, KC_SPC, KC_RGUI, MO(_RAISE), KC_MUTE
- ),
- /* LOWER
- * ,-----------------------------------------. ,-----------------------------------------.
- * | | | | | | | | | | | | | |
- * |------+------+------+------+------+------| |------+------+------+------+------+------|
- * | | | | | | | | | | Up | | \ | |
- * |------+------+------+------+------+------| |------+------+------+------+------+------|
- * | | | | | | |-------. ,-------| | Left | Down |Right | = | |
- * |------+------+------+------+------+------| < | | > |------+------+------+------+------+------|
- * | | | | | | |-------| |-------| | | | | | |
- * `-----------------------------------------/ / \ \-----------------------------------------'
- * | Play |LOWER | LGUI | / Enter / \Space \ | RGUI |RAISE | Mute |
- * | | | |/ / \ \ | | | |
- * `----------------------------' '------''--------------------'
- */
- [_LOWER] = LAYOUT(
- _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
- _______, _______, _______, _______, _______, _______, _______, _______, KC_UP, _______, _______, _______,
- _______, _______, _______, _______, _______, _______, _______, KC_LEFT, KC_DOWN, KC_RIGHT, _______, _______,
- _______, _______, _______, _______, _______, _______, KC_LT, KC_GT, _______, _______, _______, _______, _______, _______,
- _______, _______, _______, _______, _______, _______, _______, _______
-
- ),
- /* RAISE
- * ,-----------------------------------------. ,-----------------------------------------.
- * | ` | F1 | F2 | F3 | F4 | F5 | | F6 | F7 | F8 | F9 | F10 | F11 |
- * |------+------+------+------+------+------| |------+------+------+------+------+------|
- * | | | Vol+ | | | | | | | | | | |
- * |------+------+------+------+------+------| |------+------+------+------+------+------|
- * | | Prev | Vol- | Next | | |-------. ,-------| | | | | | |
- * |------+------+------+------+------+------| | | |------+------+------+------+------+------|
- * | | | | | | |-------| |-------| | | | | | |
- * `-----------------------------------------/ / \ \-----------------------------------------'
- * | Play |LOWER | LGUI | / Enter / \Space \ | RGUI |RAISE | Mute |
- * | | | |/ / \ \ | | | |
- * `----------------------------' '------''--------------------'
- */
- [_RAISE] = LAYOUT(
- KC_GRV, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F12,
- _______, _______, KC_VOLU, _______, _______, _______, _______, _______, KC_UP, _______, _______, _______,
- _______, KC_MPRV, KC_VOLD, KC_MNXT, _______, _______, _______, _______, _______, _______, _______, _______,
- _______, _______, _______, _______, _______, _______, KC_LT, KC_GT, _______, _______, _______, _______, _______, _______,
- _______, _______, _______, _______, _______, _______, _______, _______
-
- ),
- /* ADJUST
- * ,-----------------------------------------. ,-----------------------------------------.
- * | | | | | | | | | | | | | |
- * |------+------+------+------+------+------| |------+------+------+------+------+------|
- * | | | | | | | | | | | | Oper | Out |
- * |------+------+------+------+------+------| |------+------+------+------+------+------|
- * | | | | | | |-------. ,-------| | | | | | |
- * |------+------+------+------+------+------| | | |------+------+------+------+------+------|
- * | | | | | | |-------| |-------| | | | | | |
- * `-----------------------------------------/ / \ \-----------------------------------------'
- * | Play |LOWER | LGUI | / Enter / \Space \ | RGUI |RAISE | Mute |
- * | | | |/ / \ \ | | | |
- * `----------------------------' '------''--------------------'
- */
- [_ADJUST] = LAYOUT(
- _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
- _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_OPER, KC_OUT,
- _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
- _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
- _______, _______, _______, _______, _______, _______, _______, _______
- )
-};
-
-layer_state_t layer_state_set_user(layer_state_t state) {
- return update_tri_layer_state(state, _LOWER, _RAISE, _ADJUST);
-}
-
-// SSD1306 OLED update loop, make sure to enable OLED_ENABLE=yes in rules.mk
-#ifdef OLED_ENABLE
-
-// When you add source files to SRC in rules.mk, you can use functions.
-const char *read_layer_state(void);
-const char *read_logo(void);
-const char *read_timelog(void);
-
-void toggle_pomodoro(void);
-const char* read_pomodoro_running(void);
-void update_pomodoro_display(void);
-
-oled_rotation_t oled_init_user(oled_rotation_t rotation) {
- if (!is_keyboard_master())
- return OLED_ROTATION_90;
- return rotation;
-}
-
-bool oled_task_user(void) {
- if (is_keyboard_master()) {
- oled_write_ln(read_layer_state(), false);
- oled_write_ln(read_pomodoro_running(), false);
- } else {
- update_pomodoro_display();
- }
- return false;
-}
-
-bool process_record_user(uint16_t keycode, keyrecord_t *record) {
- if (record->event.pressed && keycode == KC_OPER) {
- toggle_pomodoro();
- }
- return true;
-}
-
-#endif // OLED_ENABLE
diff --git a/keyboards/lily58/keymaps/pomodoro/pomodoro.c b/keyboards/lily58/keymaps/pomodoro/pomodoro.c
deleted file mode 100644
index 1c0641978d..0000000000
--- a/keyboards/lily58/keymaps/pomodoro/pomodoro.c
+++ /dev/null
@@ -1,249 +0,0 @@
-/*
-Copyright 2023 Casey Borders
-
-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 <string.h>
-
-#include "transactions.h"
-
-#ifdef OLED_ENABLE
-
-#define HEADER_SIZE 32
-const char headerBase[] PROGMEM = {
- 0xFF, 0x81, 0x81, 0x81, 0x81, 0x81, 0x81, 0xFF,
- 0xFF, 0x81, 0x81, 0x81, 0x81, 0x81, 0x81, 0xFF,
- 0xFF, 0x81, 0x81, 0x81, 0x81, 0x81, 0x81, 0xFF,
- 0xFF, 0x81, 0x81, 0x81, 0x81, 0x81, 0x81, 0xFF
-};
-char header[HEADER_SIZE];
-
-#define STATUS_WIDTH 15
-#define STATUS_HEIGHT 32
-#define STATUS_PIXELS (STATUS_WIDTH * 8)
-#define STATUS_SIZE (STATUS_WIDTH * STATUS_HEIGHT)
-const char logoBase[] PROGMEM = {
- 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x80, 0x60, 0x60, 0x60, 0x60, 0x60, 0x60, 0x60, 0x60, 0x80, 0x80, 0x00, 0x00, 0x00,
- 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x7F, 0x7F, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x7F, 0x7F, 0x00, 0x00, 0x00,
- 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x80, 0x61, 0x61, 0x81, 0x81, 0x01, 0x01, 0xC1, 0xC1, 0x30, 0x30, 0x00, 0x00, 0x00,
- 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFF, 0xFF, 0xC0, 0xC0, 0xFF, 0xFF, 0xC3, 0xC3, 0xC0, 0xC0, 0xC0, 0xC0, 0x00, 0x00, 0x00,
- 0x00, 0x00, 0x00, 0xF0, 0xF0, 0x0C, 0x0C, 0x0C, 0x0C, 0x0C, 0x0C, 0x0C, 0x0C, 0xF0, 0xF0, 0x00, 0x00, 0xF0, 0xF0, 0x0C, 0x0C, 0x0C, 0x0C, 0x0C, 0x0C, 0x0C, 0x0C, 0xF0, 0xF0, 0x00, 0x00, 0x00,
- 0x00, 0x00, 0x00, 0x0F, 0x0F, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x0F, 0x0F, 0x00, 0x00, 0x0F, 0x0F, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x0F, 0x0F, 0x00, 0x00, 0x00,
- 0x00, 0x00, 0x00, 0x06, 0x06, 0x9E, 0x9E, 0x66, 0x66, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x00, 0x00, 0xF8, 0xF8, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0xF8, 0xF8, 0x00, 0x00, 0x00,
- 0x00, 0x00, 0x00, 0x86, 0x86, 0x67, 0x67, 0x66, 0x66, 0x66, 0x66, 0x66, 0x66, 0x86, 0x86, 0x00, 0x00, 0x07, 0x07, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x07, 0x07, 0x00, 0x00, 0x00,
- 0x00, 0x00, 0x00, 0x7F, 0x7F, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x7F, 0x7F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
- 0x00, 0x00, 0x00, 0xC0, 0xC0, 0x31, 0x31, 0xC1, 0xC1, 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, 0x3F, 0x3F, 0x30, 0x30, 0x3F, 0x3F, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
- 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0xC0, 0xC0, 0xC0, 0x80, 0x00, 0x00, 0x00, 0x00, 0x80, 0x80, 0xC0, 0xC0, 0xC0, 0xC0, 0xC0, 0x80, 0x80, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
- 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x81, 0xF3, 0x7F, 0x3F, 0x7F, 0xFF, 0xFF, 0x3B, 0xF1, 0xF7, 0xFF, 0x3F, 0x39, 0x30, 0x00, 0x01, 0x01, 0x01, 0x83, 0x86, 0x0C, 0xF8, 0xF0, 0x80, 0x00,
- 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFF, 0xFF, 0xCF, 0x07, 0x1F, 0x3F, 0x3F, 0x03, 0x03, 0x03, 0x03, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x1F, 0xDF, 0xFC, 0x7F, 0x07, 0x00, 0x00,
- 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x07, 0x0E, 0x1C, 0x18, 0x30, 0x30, 0x30, 0x60, 0x60, 0x60, 0x60, 0x30, 0x30, 0x30, 0x30, 0x18, 0x0C, 0x06, 0x03, 0x01, 0x00, 0x00, 0x00, 0x00
-};
-
-const char workBase[] PROGMEM = {
- 0x00, 0x00, 0x00, 0x00, 0xE0, 0xE0, 0xE0, 0xE0, 0xE0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xE0, 0xE0, 0xE0, 0xE0, 0xE0, 0xE0, 0xE0, 0x00, 0x00, 0x00,
- 0x00, 0x00, 0x00, 0x00, 0x01, 0x01, 0x01, 0x01, 0x01, 0x3E, 0x3E, 0x3E, 0x3E, 0xC0, 0xC0, 0xC0, 0xC0, 0xC0, 0x3E, 0x3E, 0x3E, 0x3E, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x00, 0x00, 0x00,
- 0x00, 0x00, 0xF0, 0xF0, 0xF0, 0xF0, 0xF0, 0xF0, 0xF0, 0xF0, 0xF0, 0xF0, 0xF0, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xF0, 0xF0, 0xF0, 0xF0, 0xF0, 0xF0, 0xF0, 0xF0, 0xF0, 0xF0, 0xF0, 0x00, 0x00, 0x00,
- 0x00, 0x00, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0xC1, 0xC1, 0xC1, 0xC1, 0xC1, 0x00, 0x00, 0x00,
- 0x00, 0x00, 0xF0, 0xF0, 0xF0, 0xF0, 0x0F, 0x0F, 0x0F, 0x0F, 0x0F, 0xF0, 0xF0, 0xF0, 0xF0, 0x80, 0x80, 0x80, 0x80, 0x80, 0x7C, 0x7C, 0x7C, 0x7C, 0x03, 0x03, 0x03, 0x03, 0x03, 0x00, 0x00, 0x00,
- 0x00, 0x00, 0xFF, 0xFF, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFF, 0xFF, 0xFF, 0xFF, 0x07, 0x07, 0x07, 0x07, 0x07, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
- 0x00, 0x00, 0xFF, 0xFF, 0xFF, 0xFF, 0xF0, 0xF0, 0xF0, 0xF0, 0xF0, 0xFF, 0xFF, 0xFF, 0xFF, 0xF0, 0xF0, 0xF0, 0xF0, 0xF0, 0xF0, 0xF0, 0xF0, 0xF0, 0xF0, 0xF0, 0xF0, 0xF0, 0xF0, 0x00, 0x00, 0x00,
- 0x00, 0x00, 0x01, 0x01, 0x01, 0x01, 0xC1, 0xC1, 0xC1, 0xC1, 0xC1, 0xC1, 0xC1, 0xC1, 0xC1, 0xC1, 0xC1, 0xC1, 0xC1, 0xC1, 0xC1, 0xC1, 0xC1, 0xC1, 0x01, 0x01, 0x01, 0x01, 0x01, 0x00, 0x00, 0x00,
- 0x00, 0x00, 0xFC, 0xFC, 0xFC, 0xFC, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0xFC, 0xFC, 0xFC, 0xFC, 0xFC, 0x00, 0x00, 0x00,
- 0x00, 0x00, 0xFF, 0xFF, 0xFF, 0xFF, 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, 0x0F, 0x0F, 0x0F, 0x0F, 0xF0, 0xF0, 0xF0, 0xF0, 0xF0, 0xF0, 0xF0, 0xF0, 0xF0, 0xF0, 0xF0, 0xF0, 0xF0, 0xF0, 0xF0, 0xF0, 0xF0, 0xF0, 0x0F, 0x0F, 0x0F, 0x0F, 0x0F, 0x00, 0x00, 0x00,
- 0x00, 0x00, 0xC0, 0xC0, 0xC0, 0xC0, 0xC1, 0xC1, 0xC1, 0xC1, 0xC1, 0xC1, 0xC1, 0xC1, 0xC1, 0xC1, 0xC1, 0xC1, 0xC1, 0xC1, 0xC1, 0xC1, 0xC1, 0xC1, 0xC0, 0xC0, 0xC0, 0xC0, 0xC0, 0x00, 0x00, 0x00,
- 0x00, 0x00, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x83, 0x83, 0x83, 0x83, 0x83, 0x7F, 0x7F, 0x7F, 0x7F, 0x03, 0x03, 0x03, 0x03, 0x03, 0x00, 0x00, 0x00,
- 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x07, 0x07, 0x07, 0x07, 0x07, 0xF8, 0xF8, 0xF8, 0xF8, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
- 0x00, 0x00, 0x0F, 0x0F, 0x0F, 0x0F, 0x0F, 0x0F, 0x0F, 0x0F, 0x0F, 0x0F, 0x0F, 0x0F, 0x0F, 0x0F, 0x0F, 0x0F, 0x0F, 0x0F, 0x0F, 0x0F, 0x0F, 0x0F, 0x0F, 0x0F, 0x0F, 0x0F, 0x0F, 0x00, 0x00, 0x00
-};
-
-const char restBase[] PROGMEM = {
- 0x00, 0x00, 0x80, 0x80, 0x80, 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, 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, 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, 0x00, 0x00, 0x00,
- 0x00, 0x00, 0x3F, 0x3F, 0x3F, 0x3F, 0x00, 0x00, 0x00, 0x00, 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, 0xFC, 0xFC, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x80, 0x80, 0x80, 0x7C, 0x7C, 0x7C, 0x7C, 0x7C, 0x7C, 0x7C, 0x7C, 0x7C, 0x80, 0x80, 0x80, 0x80, 0x80, 0x00, 0x00, 0x00,
- 0x00, 0x00, 0xFF, 0xFF, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFF, 0xFF, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x00, 0x00, 0x00,
- 0x00, 0x00, 0x03, 0x03, 0x03, 0x03, 0x3C, 0x3C, 0x3C, 0x3C, 0x3C, 0x03, 0x03, 0x03, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x3F, 0x3F, 0x3F, 0x3F, 0x3F, 0x00, 0x00, 0x00,
- 0x00, 0x00, 0xF8, 0xF8, 0xF8, 0xF8, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF8, 0xF8, 0xF8, 0xF8, 0xF8, 0x00, 0x00, 0x00,
- 0x00, 0x00, 0xFF, 0xFF, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x80, 0x80, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x00, 0x00, 0x00,
- 0x00, 0x00, 0xFF, 0xFF, 0xFF, 0xFF, 0xE0, 0xE0, 0xE0, 0xE0, 0xE0, 0xFF, 0xFF, 0xFF, 0xFF, 0xE0, 0xE0, 0xE0, 0xE0, 0xE0, 0xE0, 0xE0, 0xE0, 0xE0, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x00, 0x00, 0x00,
- 0x00, 0x00, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0xC3, 0xC3, 0xC3, 0xC3, 0xC3, 0x00, 0x00, 0x00,
- 0x00, 0x00, 0xF0, 0xF0, 0xF0, 0xF0, 0x0F, 0x0F, 0x0F, 0x0F, 0x0F, 0xF0, 0xF0, 0xF0, 0xF0, 0x80, 0x80, 0x80, 0x80, 0x80, 0x7C, 0x7C, 0x7C, 0x7C, 0x03, 0x03, 0x03, 0x03, 0x03, 0x00, 0x00, 0x00,
- 0x00, 0x00, 0xFF, 0xFF, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFF, 0xFF, 0xFF, 0xFF, 0x07, 0x07, 0x07, 0x07, 0x07, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
- 0x00, 0x00, 0xFF, 0xFF, 0xFF, 0xFF, 0xF0, 0xF0, 0xF0, 0xF0, 0xF0, 0xFF, 0xFF, 0xFF, 0xFF, 0xF0, 0xF0, 0xF0, 0xF0, 0xF0, 0xF0, 0xF0, 0xF0, 0xF0, 0xF0, 0xF0, 0xF0, 0xF0, 0xF0, 0x00, 0x00, 0x00,
- 0x00, 0x00, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x00, 0x00, 0x00
-};
-char displayBuffer[STATUS_SIZE];
-
-#define WORK_TIME ((uint32_t)25 * 60 * 1000)
-#define REST_TIME ((uint32_t)5 * 60 * 1000)
-
-typedef enum pomo_state {
- _STOPPED,
- _WORK,
- _REST,
-} pomo_state;
-
-/* The master only needs to know if the timer is running or not */
-bool isRunning = false;
-
-/* The slave needs more info about the state and what's going on */
-pomo_state state = _STOPPED;
-uint8_t pomoCount = 0;
-uint32_t pomoTimer;
-uint32_t totalTime = 0;
-uint32_t currTime = 0;
-uint32_t lastTime = 0;
-uint16_t lastProgress = 0;
-
-const char* read_pomodoro_state(void) {
- switch (state) {
- case _STOPPED: return "STOPPED";
- case _REST: return "REST";
- case _WORK: return "WORK";
- default: return "UNKNOWN";
- }
-}
-
-const char* read_pomodoro_running(void) {
- if (isRunning) { return "RUNNING"; }
- else { return "STOPPED"; }
-}
-
-void update_display_base(void) {
- switch (state) {
- case _STOPPED: {
- memcpy_P(displayBuffer, logoBase, STATUS_SIZE);
- memset(header, 0, HEADER_SIZE);
- } break;
- case _WORK: {
- memcpy_P(displayBuffer, workBase, STATUS_SIZE);
- memcpy_P(header, headerBase, HEADER_SIZE);
- } break;
- case _REST: {
- memcpy_P(displayBuffer, restBase, STATUS_SIZE);
- memcpy_P(header, headerBase, HEADER_SIZE);
- } break;
- }
-}
-
-void update_cycle_display(void) {
- if (state == _STOPPED) { return; }
- uint8_t start = (HEADER_SIZE / 4) * (4 - pomoCount);
- for (uint8_t i = start; i < HEADER_SIZE; i++) {
- header[i] = ~header[i];
- }
-}
-
-bool syncRunning = false;
-void toggle_pomodoro(void) {
- isRunning = !isRunning;
- syncRunning = true;
-}
-
-void set_slave_pomodoro_running(uint8_t in_buflen, const void *in_data, uint8_t out_buflen, void *out_data) {
- isRunning = *(bool*)in_data;
- if (isRunning) {
- /* Reset stuff and start the timer */
- pomoTimer = timer_read32();
- state = _WORK;
- totalTime = WORK_TIME;
- lastTime = 0;
- lastProgress = 0;
- currTime = 0;
- pomoCount = 1;
- update_display_base();
- update_cycle_display();
- } else {
- state = _STOPPED;
- update_display_base();
- }
-}
-
-void keyboard_post_init_user(void) {
- memcpy_P(displayBuffer, logoBase, STATUS_SIZE);
- memset(header, 0, HEADER_SIZE);
- transaction_register_rpc(SYNC_POMODORO_RUNNING, set_slave_pomodoro_running);
-}
-
-void update_pomodoro_display(void) {
- oled_set_cursor(0, 0);
- oled_write_raw(displayBuffer, STATUS_SIZE);
- oled_set_cursor(0, STATUS_WIDTH);
- oled_write_raw(header, HEADER_SIZE);
-}
-
-void update_time_display(void) {
- if (currTime > lastTime) {
- float ratio = (float)currTime / totalTime;
- uint16_t progress = (uint16_t)(ratio * STATUS_PIXELS);
-
- for (int i = lastProgress + 1; i <= progress; i++) {
- uint16_t row = i / 8;
- uint16_t bit = i % 8;
- char mask = 1 << bit;
- for (int j = 0; j < STATUS_HEIGHT; j++) {
- uint16_t index = row * STATUS_HEIGHT + j;
- if (index > STATUS_SIZE) break;
- displayBuffer[index] = displayBuffer[index] ^ mask;
- }
- }
-
- lastTime = currTime;
- lastProgress = progress;
- }
-}
-
-void housekeeping_task_user(void) {
- if (is_keyboard_master()) {
- if (syncRunning && transaction_rpc_send(SYNC_POMODORO_RUNNING, sizeof(bool), &isRunning)) {
- syncRunning = false;
- }
- } else {
- /* This is where the time will be updated */
- if (isRunning) {
- currTime = timer_elapsed32(pomoTimer);
- if (currTime >= totalTime) {
- if (state == _WORK) {
- state = _REST;
- totalTime = REST_TIME;
- } else if (state == _REST) {
- state = _WORK;
- totalTime = WORK_TIME;
- pomoCount++;
- }
-
- if (pomoCount > 4) {
- isRunning = false;
- state = _STOPPED;
- }
-
- pomoTimer = timer_read32();
- currTime = 0;
- lastTime = 0;
- lastProgress = 0;
- update_display_base();
- update_cycle_display();
- } else {
- update_time_display();
- }
- }
- }
-}
-
-#endif // OLED_ENABLE
diff --git a/keyboards/lily58/keymaps/pomodoro/rules.mk b/keyboards/lily58/keymaps/pomodoro/rules.mk
deleted file mode 100644
index a6666f7fc1..0000000000
--- a/keyboards/lily58/keymaps/pomodoro/rules.mk
+++ /dev/null
@@ -1,23 +0,0 @@
-BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite
-MOUSEKEY_ENABLE = no # Mouse keys
-CONSOLE_ENABLE = no # Console for debug
-COMMAND_ENABLE = no # Commands for debug and configuration
-NKRO_ENABLE = no
-BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
-AUDIO_ENABLE = no # Audio output
-RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight.
-SWAP_HANDS_ENABLE = no # Enable one-hand typing
-OLED_ENABLE = yes # OLED display
-LTO_ENABLE = yes # Link time optimisations
-EXTRAKEY_ENABLE = yes # Audio control and System control
-
-# If you want to change the display of OLED, you need to change here
-SRC += ./lib/rgb_state_reader.c \
- ./lib/layer_state_reader.c \
- ./lib/logo_reader.c \
- ./lib/keylogger.c \
- ./lib/mode_icon_reader.c \
- ./lib/host_led_state_reader.c \
- ./lib/timelogger.c \
- ./lib/keylogger.c \
- pomodoro.c \
diff --git a/keyboards/lily58/keymaps/pttbx/config.h b/keyboards/lily58/keymaps/pttbx/config.h
deleted file mode 100644
index b16e63b6d7..0000000000
--- a/keyboards/lily58/keymaps/pttbx/config.h
+++ /dev/null
@@ -1,54 +0,0 @@
-/*
-This is the c configuration file for the keymap
-
-Copyright 2012 Jun Wako <wakojun@gmail.com>
-Copyright 2015 Jack Humbert
-
-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
-
-/* Select hand configuration */
-
-#define MASTER_LEFT
-// #define MASTER_RIGHT
-// #define EE_HANDS
-
-#define QUICK_TAP_TERM 0
-#define TAPPING_TERM 100
-
-#undef RGBLED_NUM
-#define RGBLIGHT_EFFECT_BREATHING
-#define RGBLIGHT_EFFECT_RAINBOW_MOOD
-#define RGBLIGHT_EFFECT_RAINBOW_SWIRL
-#define RGBLIGHT_EFFECT_SNAKE
-#define RGBLIGHT_EFFECT_KNIGHT
-#define RGBLIGHT_EFFECT_CHRISTMAS
-#define RGBLIGHT_EFFECT_STATIC_GRADIENT
-#define RGBLIGHT_EFFECT_RGB_TEST
-#define RGBLIGHT_EFFECT_ALTERNATING
-#define RGBLIGHT_EFFECT_TWINKLE
-#define RGBLED_NUM 27
-#define RGBLIGHT_LIMIT_VAL 120
-#define RGBLIGHT_HUE_STEP 10
-#define RGBLIGHT_SAT_STEP 17
-#define RGBLIGHT_VAL_STEP 17
-
-// Underglow
-/*
-#undef RGBLED_NUM
-#define RGBLED_NUM 14 // Number of LEDs
-#define RGBLIGHT_SLEEP
-*/
diff --git a/keyboards/lily58/keymaps/pttbx/keymap.c b/keyboards/lily58/keymaps/pttbx/keymap.c
deleted file mode 100644
index a4977663b3..0000000000
--- a/keyboards/lily58/keymaps/pttbx/keymap.c
+++ /dev/null
@@ -1,164 +0,0 @@
-/* Copyright 2021 Paul Tan
- *
- * 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
-
-enum layer_number {
- _QWERTY = 0,
- _LOWER,
- _RAISE,
- _ADJUST,
-};
-
-const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
-
-/* QWERTY
- * ,-----------------------------------------. ,-----------------------------------------.
- * | ESC | 1 | 2 | 3 | 4 | 5 | | 6 | 7 | 8 | 9 | 0 | ` |
- * |------+------+------+------+------+------| |------+------+------+------+------+------|
- * | Tab | Q | W | E | R | T | | Y | U | I | O | P | - |
- * |------+------+------+------+------+------| |------+------+------+------+------+------|
- * |LCTRL | A | S | D | F | G |-------. ,-------| H | J | K | L | ; | ' |
- * |------+------+------+------+------+------| [ | | ] |------+------+------+------+------+------|
- * |LShift| Z | X | C | V | B |-------| |-------| N | M | , | . | / |RShift|
- * `-----------------------------------------/ / \ \-----------------------------------------'
- * | LOWER| LGUI |LAlt | /Space / \Enter \ |BackSP| RGUI |RAISE |
- * | | | |/ / \ \ | | | |
- * `----------------------------' '------''--------------------'
- */
-
- [_QWERTY] = LAYOUT(
- KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_GRV,
- KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_MINS,
- KC_LCTL, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT,
- KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_LBRC, KC_RBRC, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT,
- MO(_LOWER), KC_LGUI, KC_LALT, KC_SPC, KC_ENT, KC_BSPC, KC_RGUI, MO(_RAISE)
-),
-/* LOWER
- * ,-----------------------------------------. ,-----------------------------------------.
- * | | | | | | | | | | | | | |
- * |------+------+------+------+------+------| |------+------+------+------+------+------|
- * | F1 | F2 | F3 | F4 | F5 | F6 | | F7 | F8 | F9 | F10 | F11 | F12 |
- * |------+------+------+------+------+------| |------+------+------+------+------+------|
- * | ` | ! | @ | # | $ | % |-------. ,-------| ^ | & | * | ( | ) | - |
- * |------+------+------+------+------+------| [ | | ] |------+------+------+------+------+------|
- * | | | | | | |-------| |-------| | _ | + | { | } | | |
- * `-----------------------------------------/ / \ \-----------------------------------------'
- * | LAlt | LGUI |LOWER | /Space / \Enter \ |RAISE |BackSP| RGUI |
- * | | | |/ / \ \ | | | |
- * `----------------------------' '------''--------------------'
- */
-[_LOWER] = LAYOUT(
- _______, _______, _______, _______, _______, _______, _______, _______, _______,_______, _______, _______,
- KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12,
- KC_GRV, KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, KC_CIRC, KC_AMPR, KC_ASTR, KC_LPRN, KC_RPRN, KC_TILD,
- _______, _______, _______, _______, _______, _______, _______, _______, XXXXXXX, KC_UNDS, KC_PLUS, KC_LCBR, KC_RCBR, KC_PIPE,
- _______, _______, _______, _______, _______, _______, _______, _______
-),
-/* RAISE
- * ,-----------------------------------------. ,-----------------------------------------.
- * | | | | | | | | | | | | | |
- * |------+------+------+------+------+------| |------+------+------+------+------+------|
- * | ` | 1 | 2 | 3 | 4 | 5 | | 6 | 7 | 8 | 9 | 0 | |
- * |------+------+------+------+------+------| |------+------+------+------+------+------|
- * | F1 | F2 | F3 | F4 | F5 | F6 |-------. ,-------| | Left | Down | Up |Right | |
- * |------+------+------+------+------+------| [ | | ] |------+------+------+------+------+------|
- * | F7 | F8 | F9 | F10 | F11 | F12 |-------| |-------| + | - | = | [ | ] | \ |
- * `-----------------------------------------/ / \ \-----------------------------------------'
- * | LAlt | LGUI |LOWER | /Space / \Enter \ |RAISE |BackSP| RGUI |
- * | | | |/ / \ \ | | | |
- * `----------------------------' '------''--------------------'
- */
-
-[_RAISE] = LAYOUT(
- _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
- KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, _______,
- KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, XXXXXXX, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT, XXXXXXX,
- KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, _______, _______, KC_PLUS, KC_MINS, KC_EQL, KC_LBRC, KC_RBRC, KC_BSLS,
- _______, _______, _______, _______, _______, _______, _______, _______
-),
-/* ADJUST
- * ,-----------------------------------------. ,-----------------------------------------.
- * | | | | | | | | | | | | | |
- * |------+------+------+------+------+------| |------+------+------+------+------+------|
- * | | | | | | | | | | | | | |
- * |------+------+------+------+------+------| |------+------+------+------+------+------|
- * | | | | | | |-------. ,-------| | |RGB ON| HUE+ | SAT+ | VAL+ |
- * |------+------+------+------+------+------| | | |------+------+------+------+------+------|
- * | | | | | | |-------| |-------| | | MODE | HUE- | SAT- | VAL- |
- * `-----------------------------------------/ / \ \-----------------------------------------'
- * | LAlt | LGUI |LOWER | /Space / \Enter \ |RAISE |BackSP| RGUI |
- * | | | |/ / \ \ | | | |
- * `----------------------------' '------''--------------------'
- */
- [_ADJUST] = LAYOUT(
- XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX,
- XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX,
- XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX,
- XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX,
- _______, _______, _______, _______, _______, _______, _______, _______
- )
-};
-
-layer_state_t layer_state_set_user(layer_state_t state) {
- return update_tri_layer_state(state, _LOWER, _RAISE, _ADJUST);
-}
-
-//SSD1306 OLED update loop, make sure to enable OLED_ENABLE=yes in rules.mk
-#ifdef OLED_ENABLE
-
-oled_rotation_t oled_init_user(oled_rotation_t rotation) {
- if (!is_keyboard_master())
- return OLED_ROTATION_180; // flips the display 180 degrees if offhand
- return rotation;
-}
-
-// When you add source files to SRC in rules.mk, you can use functions.
-const char *read_layer_state(void);
-const char *read_logo(void);
-void set_keylog(uint16_t keycode, keyrecord_t *record);
-const char *read_keylog(void);
-const char *read_keylogs(void);
-
-// const char *read_mode_icon(bool swap);
-// const char *read_host_led_state(void);
-// void set_timelog(void);
-// const char *read_timelog(void);
-
-void oled_task_user(void) {
- if (is_keyboard_master()) {
- // If you want to change the display of OLED, you need to change here
- oled_write_ln(read_layer_state(), false);
- oled_write_ln(read_keylog(), false);
- oled_write_ln(read_keylogs(), false);
- //oled_write_ln(read_mode_icon(keymap_config.swap_lalt_lgui), false);
- //oled_write_ln(read_host_led_state(), false);
- //oled_write_ln(read_timelog(), false);
- } else {
- oled_write(read_logo(), false);
- }
-}
-#endif // OLED_ENABLE
-
-bool process_record_user(uint16_t keycode, keyrecord_t *record) {
- if (record->event.pressed) {
-#ifdef OLED_ENABLE
- set_keylog(keycode, record);
-#endif
- // set_timelog();
- }
- return true;
-}
diff --git a/keyboards/lily58/keymaps/pttbx/rules.mk b/keyboards/lily58/keymaps/pttbx/rules.mk
deleted file mode 100644
index e2c8a6f746..0000000000
--- a/keyboards/lily58/keymaps/pttbx/rules.mk
+++ /dev/null
@@ -1,5 +0,0 @@
-# If you want to change the display of OLED, you need to change here
-SRC += ./lib/rgb_state_reader.c \
- ./lib/layer_state_reader.c \
- ./lib/logo_reader.c \
- ./lib/keylogger.c
diff --git a/keyboards/lily58/keymaps/yuchi/config.h b/keyboards/lily58/keymaps/yuchi/config.h
deleted file mode 100644
index 55d05464bc..0000000000
--- a/keyboards/lily58/keymaps/yuchi/config.h
+++ /dev/null
@@ -1,32 +0,0 @@
-/*
-This is the c configuration file for the keymap
-
-Copyright 2012 Jun Wako <wakojun@gmail.com>
-Copyright 2015 Jack Humbert
-
-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
-
-//#define USE_MATRIX_I2C
-
-/* Select hand configuration */
-
-#define MASTER_LEFT
-// #define MASTER_RIGHT
-// #define EE_HANDS
-
-#define QUICK_TAP_TERM 0
-#define TAPPING_TERM 100
diff --git a/keyboards/lily58/keymaps/yuchi/keymap.c b/keyboards/lily58/keymaps/yuchi/keymap.c
deleted file mode 100644
index c8c9eea5e9..0000000000
--- a/keyboards/lily58/keymaps/yuchi/keymap.c
+++ /dev/null
@@ -1,164 +0,0 @@
-#include QMK_KEYBOARD_H
-
-#ifdef PROTOCOL_LUFA
- #include "lufa.h"
- #include "split_util.h"
-#endif
-
-extern uint8_t is_master;
-
-enum layer_number {
- _QWERTY = 0,
- _LOWER,
- _RAISE,
- _ADJUST,
-};
-
-
-const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
-
-/* QWERTY
- * ,-----------------------------------------. ,-----------------------------------------.
- * | ESC | 1 | 2 | 3 | 4 | 5 | | 6 | 7 | 8 | 9 | 0 | ~ |
- * |------+------+------+------+------+------| |------+------+------+------+------+------|
- * | Tab | Q | W | E | R | T | | Y | U | I | O | P | - |
- * |------+------+------+------+------+------| |------+------+------+------+------+------|
- * |LCTRL | A | S | D | F | G |-------. ,-------| H | J | K | L | ; | ' |
- * |------+------+------+------+------+------| [ | | ] |------+------+------+------+------+------|
- * |LShift| Z | X | C | V | B |-------| |-------| N | M | , | . | / |RShift|
- * `-----------------------------------------/ / \ \-----------------------------------------'
- * |LOWER | LGUI | Alt | /Space / \Enter \ |BackSP| RGUI |RAISE |
- * | | | |/ / \ \ | | | |
- * `-------------------''-------' '------''--------------------'
- */
-
- [_QWERTY] = LAYOUT(
- KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_GRV,
- KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_MINS,
- KC_LCTL, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT,
- KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_LBRC, KC_RBRC, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT,
- MO(_LOWER),KC_LGUI, KC_LALT, LT(_LOWER,KC_SPC), LT(_RAISE,KC_ENT), KC_BSPC, KC_RGUI, MO(_RAISE)
-),
-/* LOWER
- * ,-----------------------------------------. ,-----------------------------------------.
- * | | | | | | | | | | | | | |
- * |------+------+------+------+------+------| |------+------+------+------+------+------|
- * | | ! | @ | # | $ | % | | ^ | & | * | ( | ) | |
- * |------+------+------+------+------+------| |------+------+------+------+------+------|
- * | | 1 | 2 | 3 | 4 | 5 |-------. ,-------| 6 | 7 | 8 | 9 | 0 | |
- * |------+------+------+------+------+------| [ | | ] |------+------+------+------+------+------|
- * | | | | | | |-------| |-------| | | ` | + | { | } | |
- * `-----------------------------------------/ / \ \-----------------------------------------'
- * |LOWER | LGUI | Alt | /Space / \Enter \ |BackSP| RGUI |RAISE |
- * | | | |/ / \ \ | | | |
- * `-------------------''-------' '------''--------------------'
- */
-[_LOWER] = LAYOUT(
- _______, _______, _______, _______, _______, _______, _______, _______, _______,_______, _______, _______,
- _______, KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, KC_CIRC, KC_AMPR, KC_ASTR, KC_LPRN, KC_RPRN, _______,
- _______, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, _______,
- _______, _______, _______, _______, _______, _______, _______, _______, KC_PIPE, KC_GRAVE, KC_PLUS, KC_LCBR, KC_RCBR, _______,
- _______, _______, _______, _______, _______, _______, _______, _______
-),
-/* RAISE
- * ,-----------------------------------------. ,-----------------------------------------.
- * | | | | | | | | | | | | | |
- * |------+------+------+------+------+------| |------+------+------+------+------+------|
- * | F1 | F2 | F3 | F4 | F5 | F6 | | F7 | F8 | F9 | F10 | F11 | F12 |
- * |------+------+------+------+------+------| |------+------+------+------+------+------|
- * | | | | | | |-------. ,-------| | Left | Down | Up |Right | |
- * |------+------+------+------+------+------| [ | | ] |------+------+------+------+------+------|
- * | | | | | | |-------| |-------| + | = | [ | ] | \ | |
- * `-----------------------------------------/ / \ \-----------------------------------------'
- * |LOWER | LGUI | Alt | /Space / \Enter \ |BackSP| RGUI |RAISE |
- * | | | |/ / \ \ | | | |
- * `-------------------''-------' '------''--------------------'
- */
-
-[_RAISE] = LAYOUT(
- _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
- KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12,
- _______, _______, _______, _______, _______, _______, XXXXXXX, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT, XXXXXXX,
- _______, _______, _______, _______, _______, _______, _______, _______, KC_PLUS, KC_EQL, KC_LBRC, KC_RBRC, KC_BSLS, _______,
- _______, _______, _______, _______, _______, _______, _______, _______
-),
-
-/* ADJUST
- * ,-----------------------------------------. ,-----------------------------------------.
- * | | | | | | | | | | | | | |
- * |------+------+------+------+------+------| |------+------+------+------+------+------|
- * | | | | | | | | | | | | | |
- * |------+------+------+------+------+------| |------+------+------+------+------+------|
- * | | | | | | |-------. ,-------| | | | | | |
- * |------+------+------+------+------+------| | | |------+------+------+------+------+------|
- * | | | | | | |-------| |-------| | | | | | |
- * `-----------------------------------------/ / \ \-----------------------------------------'
- * |LOWER | LGUI | Alt | /Space / \Enter \ |BackSP| RGUI |RAISE |
- * | | | |/ / \ \ | | | |
- * `----------------------------' '------''--------------------'
- */
- [_ADJUST] = LAYOUT(
- XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX,
- XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX,
- XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX,
- XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX,
- _______, _______, _______, _______, _______, _______, _______, _______
- )
-};
-
-
-// Setting ADJUST layer RGB back to default
-void update_tri_layer_RGB(uint8_t layer1, uint8_t layer2, uint8_t layer3) {
- if (IS_LAYER_ON(layer1) && IS_LAYER_ON(layer2)) {
- layer_on(layer3);
- } else {
- layer_off(layer3);
- }
-}
-
-//SSD1306 OLED update loop, make sure to enable OLED_ENABLE=yes in rules.mk
-#ifdef OLED_ENABLE
-
-oled_rotation_t oled_init_user(oled_rotation_t rotation) {
- if (!is_keyboard_master())
- return OLED_ROTATION_180; // flips the display 180 degrees if offhand
- return rotation;
-}
-
-// When you add source files to SRC in rules.mk, you can use functions.
-const char *read_layer_state(void);
-const char *read_logo(void);
-void set_keylog(uint16_t keycode, keyrecord_t *record);
-const char *read_keylog(void);
-const char *read_keylogs(void);
-
-// const char *read_mode_icon(bool swap);
-// const char *read_host_led_state(void);
-// void set_timelog(void);
-// const char *read_timelog(void);
-
-bool oled_task_user(void) {
- if (is_keyboard_master()) {
- // If you want to change the display of OLED, you need to change here
- oled_write_ln(read_layer_state(), false);
- oled_write_ln(read_keylog(), false);
- oled_write_ln(read_keylogs(), false);
- //oled_write_ln(read_mode_icon(keymap_config.swap_lalt_lgui), false);
- //oled_write_ln(read_host_led_state(), false);
- //oled_write_ln(read_timelog(), false);
- } else {
- oled_write(read_logo(), false);
- }
- return false;
-}
-#endif // OLED_ENABLE
-
-bool process_record_user(uint16_t keycode, keyrecord_t *record) {
- if (record->event.pressed) {
-#ifdef OLED_ENABLE
- set_keylog(keycode, record);
-#endif
- // set_timelog();
- }
- return true;
-}
diff --git a/keyboards/lily58/keymaps/yuchi/rules.mk b/keyboards/lily58/keymaps/yuchi/rules.mk
deleted file mode 100644
index f714be7c6a..0000000000
--- a/keyboards/lily58/keymaps/yuchi/rules.mk
+++ /dev/null
@@ -1,30 +0,0 @@
-# Build Options
-# change to "no" to disable the options, or define them in the Makefile in
-# the appropriate keymap folder that will get included automatically
-#
-BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite
-MOUSEKEY_ENABLE = no # Mouse keys(+4700)
-EXTRAKEY_ENABLE = no # Audio control and System control(+450)
-CONSOLE_ENABLE = no # Console for debug(+400)
-COMMAND_ENABLE = no # Commands for debug and configuration
-NKRO_ENABLE = no # Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
-BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
-MIDI_ENABLE = no # MIDI controls
-AUDIO_ENABLE = no # Audio output on port C6
-UNICODE_ENABLE = no # Unicode
-BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID
-RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight.
-SWAP_HANDS_ENABLE = no # Enable one-hand typing
-OLED_ENABLE= yes # OLED display
-
-# Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE
-SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
-
-# If you want to change the display of OLED, you need to change here
-SRC += ./lib/rgb_state_reader.c \
- ./lib/layer_state_reader.c \
- ./lib/logo_reader.c \
- ./lib/keylogger.c \
- # ./lib/mode_icon_reader.c \
- # ./lib/host_led_state_reader.c \
- # ./lib/timelogger.c \