summaryrefslogtreecommitdiff
path: root/keyboards/splitkb
diff options
context:
space:
mode:
authorfauxpark <fauxpark@gmail.com>2023-12-20 16:03:14 +1100
committerfauxpark <fauxpark@gmail.com>2023-12-20 16:03:14 +1100
commit2c191e21c280a78e71767a73f31cd7017382186c (patch)
tree9712dc3c8fb836c708ac67a2c4ab0dbf2fa6d674 /keyboards/splitkb
parent8812a095814fdad3ab245fa2c00e29cb50ee2e92 (diff)
parentc8728880de198f5797463efbbba3eba7f1e4444a (diff)
Merge remote-tracking branch 'upstream/master' into develop
Diffstat (limited to 'keyboards/splitkb')
-rw-r--r--keyboards/splitkb/kyria/keymaps/gotham/README.md56
-rw-r--r--keyboards/splitkb/kyria/keymaps/gotham/config.h47
-rw-r--r--keyboards/splitkb/kyria/keymaps/gotham/encoder_utils.c94
-rw-r--r--keyboards/splitkb/kyria/keymaps/gotham/encoder_utils.h37
-rw-r--r--keyboards/splitkb/kyria/keymaps/gotham/keycodes.h16
-rw-r--r--keyboards/splitkb/kyria/keymaps/gotham/keymap.c130
-rw-r--r--keyboards/splitkb/kyria/keymaps/gotham/oled_utils.c103
-rw-r--r--keyboards/splitkb/kyria/keymaps/gotham/oled_utils.h25
-rw-r--r--keyboards/splitkb/kyria/keymaps/gotham/rules.mk22
-rw-r--r--keyboards/splitkb/kyria/keymaps/gotham/thumbstick.c195
-rw-r--r--keyboards/splitkb/kyria/keymaps/gotham/thumbstick.h98
-rw-r--r--keyboards/splitkb/kyria/keymaps/kejadlen/config.h56
-rw-r--r--keyboards/splitkb/kyria/keymaps/kejadlen/keymap.c63
-rw-r--r--keyboards/splitkb/kyria/keymaps/kejadlen/rules.mk5
-rw-r--r--keyboards/splitkb/kyria/keymaps/pierrec83/config.h72
-rw-r--r--keyboards/splitkb/kyria/keymaps/pierrec83/encoders.c64
-rw-r--r--keyboards/splitkb/kyria/keymaps/pierrec83/keymap.c18
-rw-r--r--keyboards/splitkb/kyria/keymaps/pierrec83/keymap.json1
-rw-r--r--keyboards/splitkb/kyria/keymaps/pierrec83/layers.h7
-rw-r--r--keyboards/splitkb/kyria/keymaps/pierrec83/readme.md44
-rw-r--r--keyboards/splitkb/kyria/keymaps/pierrec83/rules.mk5
-rw-r--r--keyboards/splitkb/kyria/keymaps/shinze/config.h41
-rw-r--r--keyboards/splitkb/kyria/keymaps/shinze/keymap.c249
-rw-r--r--keyboards/splitkb/kyria/keymaps/shinze/rules.mk3
24 files changed, 0 insertions, 1451 deletions
diff --git a/keyboards/splitkb/kyria/keymaps/gotham/README.md b/keyboards/splitkb/kyria/keymaps/gotham/README.md
deleted file mode 100644
index 1598e95a73..0000000000
--- a/keyboards/splitkb/kyria/keymaps/gotham/README.md
+++ /dev/null
@@ -1,56 +0,0 @@
-# Gotham's Keymap for [Kyria](https://github.com/splitkb/kyria)
-
-## Keymap
-This is my personal keymap for Kyria with some mods.
-
-More information about the Kyria keyboard can be found [here](https://blog.splitkb.com/blog/introducing-the-kyria)
-
-### Rotary Encoders
-
-Press the encoder on each half to cycle between:
-- Volume
-- Word Nav (Ctrl + Left / Right)
-- Left / Right
-- Up / Down
-- Page Up / Page Down
-
-### OLEDs
-
-Master-side OLED displays dynamic data:
-- Current layer
-- Current mode of each rotary encoder
-- Current mode of thumbstick
-
-Slave-side OLED currently only displays a static content.
-
-### Thumbstick
-
-A PSP 2000 thumbstick is attached to the right half. It will currently only function when the USB cable is connected to the right half. When I figure out how to transfer data between halves using serial link, I will make this work regardless of which side is the master.
-
-#### Thumbstick Configuration
-
-- __THUMBSTICK_ENABLE:__ Enable thumbstick.
-- __THUMBSTICK_PIN_X/Y (mandatory):__ The QMK pins to use for the respective axis. The values are from the [QMK's ADC driver](https://docs.qmk.fm/#/adc_driver). I used F0 and F1, for example.
-- __THUMBSTICK_FLIP_X/Y:__ Mirror the direction of the respective axis. Use to compensate for actual orientation of thumbstick.
-- __THUMBSTICK_DEBUG:__ Print raw and calculated values from analogReadPin to console. Will only work with CONSOLE_ENABLE turned on.
-
-#### Thumbstick Fine-tuning
-
-More tunables are described here. Values like deadzone threshold are hardware-specific. The theoretical range for analog readings is [0, 1023], but emperical readings don't extend the entire range. To find the right values, turn on CONSOLE_ENABLE in rules.mk and THUMBSTICK_DEBUG in config.h to look at the raw values from the pins using hid_listen (or QMK Toolbox).
-
-- __THUMBSTICK_DEAD_ZONE 90:__ Values below this are ignored (deadzone).
-- __THUMBSTICK_FINE_ZONE 180:__ Values below this enable fine movement.
-
-- __THUMBSTICK_MODE <mode>:__ One of THUMBSTICK_MODE_MOUSE, THUMBSTICK_MODE_ARROWS and THUMBSTICK_MODE_SCROLL. This is just the default mode, it can be changed by calling ```void thumbstick_mode_cycle(bool reverse)``` within code.
-
-- __THUMBSTICK_SPEED 127:__ Cursor speed in THUMBSTICK_MODE_MOUSE.
-- __THUMBSTICK_FINE_SPEED 64:__ Fine cursor speed in THUMBSTICK_MODE_MOUSE (kicks in when slightly nudging the thumbstick).
-- __THUMBSTICK_SCROLL_SPEED 1:__ Scrolling speed in THUMBSTICK_MODE_SCROLL.
-
-- __THUMBSTICK_EIGHT_AXIS true:__ 8-axis toggle for ARROW and SCROLL modes. Disable to fall back to 4 axes (think D-pads vs analog stick).
-- __THUMBSTICK_AXIS_SEPARATION 0.5f:__ Float value between 0 and 1, used to discretize the circular range into distinct zones for 8-axis. Imagine the top-right quadrant on a graph, and picture the diagonal. This value indicates the angular "distance" from the diagonal to either axis. Moving from the diagonal to each of the axes, this value changes from 0 to 1. So, a value of 0.5 will "sweep" from the center to half-way towards each axis, creating a zone across the diagonal. Smaller values make narrower diagonal zones, and vice versa.
-
-#### Thanks
-
-- @pyrho and u/\_GEIST\_ for the inspiration and initial reference code.
-- @zvecr and @drashna for code review and more pointers.
diff --git a/keyboards/splitkb/kyria/keymaps/gotham/config.h b/keyboards/splitkb/kyria/keymaps/gotham/config.h
deleted file mode 100644
index 8feb6042f5..0000000000
--- a/keyboards/splitkb/kyria/keymaps/gotham/config.h
+++ /dev/null
@@ -1,47 +0,0 @@
-/* Copyright 2019 Thomas Baart <thomas@splitkb.com>
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
-
-#pragma once
-
-#define EE_HANDS
-
-// Fix for Elite C rev3
-#define SPLIT_USB_DETECT
-// Speed up slave half startup
-#define SPLIT_USB_TIMEOUT 1000
-
-#ifdef OLED_ENABLE
-# define OLED_DISPLAY_128X64
-# define OLED_TIMEOUT 10000
-#endif
-
-#ifdef RGBLIGHT_ENABLE
-# define RGBLIGHT_EFFECT_BREATHING
-# define RGBLIGHT_EFFECT_RAINBOW_MOOD
-# define RGBLIGHT_EFFECT_RAINBOW_SWIRL
-# define RGBLIGHT_EFFECT_KNIGHT
-#endif
-
-#ifdef ENCODER_ENABLE
-# define ENCODER_DIRECTION_FLIP
-# define ENCODER_RESOLUTION 2
-#endif
-
-#ifdef THUMBSTICK_ENABLE
-# define THUMBSTICK_FLIP_X
-# define THUMBSTICK_PIN_X F0
-# define THUMBSTICK_PIN_Y F1
-#endif
diff --git a/keyboards/splitkb/kyria/keymaps/gotham/encoder_utils.c b/keyboards/splitkb/kyria/keymaps/gotham/encoder_utils.c
deleted file mode 100644
index 1c2962339d..0000000000
--- a/keyboards/splitkb/kyria/keymaps/gotham/encoder_utils.c
+++ /dev/null
@@ -1,94 +0,0 @@
-#include "encoder_utils.h"
-
-void encoder_utils_init(void) {
- encoder_left_mode = ENC_MODE_VOLUME;
- encoder_right_mode = ENC_MODE_LEFT_RIGHT;
-}
-
-void set_encoder_mode(bool left, encoder_mode_t mode) {
- if (left) {
- encoder_left_mode = mode;
- } else {
- encoder_right_mode = mode;
- }
-}
-
-encoder_mode_t get_encoder_mode(bool left) {
- if (left) {
- return encoder_left_mode;
- } else {
- return encoder_right_mode;
- }
-}
-
-void cycle_encoder_mode(bool left, bool reverse) {
- encoder_mode_t mode = get_encoder_mode(left);
- if (reverse) {
- mode = (mode == 0) ? (_ENC_MODE_LAST - 1) : (mode - 1);
- } else {
- mode = (mode == (_ENC_MODE_LAST - 1)) ? 0 : (mode + 1);
- }
- set_encoder_mode(left, mode);
-}
-
-void encoder_action_volume(uint8_t clockwise) {
- if (clockwise) {
- tap_code(KC_VOLU);
- } else {
- tap_code(KC_VOLD);
- }
-}
-
-void encoder_action_word_nav(uint8_t clockwise) {
- if (clockwise) {
- tap_code16(C(KC_RIGHT));
- } else {
- tap_code16(C(KC_LEFT));
- }
-}
-
-void encoder_action_left_right(uint8_t clockwise) {
- if (clockwise) {
- tap_code(KC_RIGHT);
- } else {
- tap_code(KC_LEFT);
- }
-}
-
-void encoder_action_up_down(uint8_t clockwise) {
- if (clockwise) {
- tap_code(KC_UP);
- } else {
- tap_code(KC_DOWN);
- }
-}
-
-void encoder_action_paging(uint8_t clockwise) {
- if (clockwise) {
- tap_code(KC_PGUP);
- } else {
- tap_code(KC_PGDN);
- }
-}
-
-void encoder_action(encoder_mode_t mode, uint8_t clockwise) {
- switch (mode) {
- case ENC_MODE_VOLUME:
- encoder_action_volume(clockwise);
- break;
- case ENC_MODE_WORD_NAV:
- encoder_action_word_nav(clockwise);
- break;
- case ENC_MODE_LEFT_RIGHT:
- encoder_action_left_right(clockwise);
- break;
- case ENC_MODE_UP_DOWN:
- encoder_action_up_down(clockwise);
- break;
- case ENC_MODE_PAGING:
- encoder_action_paging(clockwise);
- break;
- default:
- encoder_action_volume(clockwise);
- }
-}
diff --git a/keyboards/splitkb/kyria/keymaps/gotham/encoder_utils.h b/keyboards/splitkb/kyria/keymaps/gotham/encoder_utils.h
deleted file mode 100644
index 60db6c6bd8..0000000000
--- a/keyboards/splitkb/kyria/keymaps/gotham/encoder_utils.h
+++ /dev/null
@@ -1,37 +0,0 @@
-#pragma once
-
-#include <stdbool.h>
-
-#include "quantum.h"
-
-typedef enum {
- ENC_MODE_VOLUME = 0,
- ENC_MODE_WORD_NAV,
- ENC_MODE_LEFT_RIGHT,
- ENC_MODE_UP_DOWN,
- ENC_MODE_PAGING,
- _ENC_MODE_LAST // Do not use, except for looping through enum values
-} encoder_mode_t;
-
-encoder_mode_t encoder_left_mode;
-encoder_mode_t encoder_right_mode;
-
-void encoder_utils_init(void);
-
-void set_encoder_mode(bool left, encoder_mode_t mode);
-
-encoder_mode_t get_encoder_mode(bool left);
-
-void cycle_encoder_mode(bool left, bool reverse);
-
-void encoder_action_volume(uint8_t clockwise);
-
-void encoder_action_word_nav(uint8_t clockwise);
-
-void encoder_action_left_right(uint8_t clockwise);
-
-void encoder_action_up_down(uint8_t clockwise);
-
-void encoder_action_paging(uint8_t clockwise);
-
-void encoder_action(encoder_mode_t mode, uint8_t clockwise);
diff --git a/keyboards/splitkb/kyria/keymaps/gotham/keycodes.h b/keyboards/splitkb/kyria/keymaps/gotham/keycodes.h
deleted file mode 100644
index 0730d49250..0000000000
--- a/keyboards/splitkb/kyria/keymaps/gotham/keycodes.h
+++ /dev/null
@@ -1,16 +0,0 @@
-#pragma once
-
-#include "quantum.h"
-
-enum layers { _QWERTY = 0, _LOWER, _RAISE, _ADJUST };
-
-enum custom_keycodes {
- ENC_MODE_L = SAFE_RANGE,
- ENC_MODE_R,
- TMB_MODE,
-};
-
-#define ESC_RAISE LT(_RAISE, KC_ESC)
-#define BSLS_RAISE LT(_RAISE, KC_BSLS)
-#define SFT_QUOT MT(MOD_RSFT, KC_QUOT)
-#define CTL_MINS MT(MOD_RCTL, KC_MINS)
diff --git a/keyboards/splitkb/kyria/keymaps/gotham/keymap.c b/keyboards/splitkb/kyria/keymaps/gotham/keymap.c
deleted file mode 100644
index 5fdeb494e6..0000000000
--- a/keyboards/splitkb/kyria/keymaps/gotham/keymap.c
+++ /dev/null
@@ -1,130 +0,0 @@
-/* Copyright 2019 Thomas Baart <thomas@splitkb.com>
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
-
-#include QMK_KEYBOARD_H
-
-#include "keycodes.h"
-
-#ifdef ENCODER_ENABLE
-# include "encoder_utils.h"
-#endif
-
-#ifdef OLED_ENABLE
-# include "oled_utils.h"
-#endif
-
-#ifdef THUMBSTICK_ENABLE
-# include "thumbstick.h"
-#endif
-
-// clang-format off
-const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
-/*
- * Base Layer: QWERTY
-*/
- [_QWERTY] = LAYOUT(
- ESC_RAISE, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, BSLS_RAISE,
- KC_LSFT, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, SFT_QUOT,
- KC_LCTL, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_LGUI, KC_NO, TMB_MODE, KC_NO, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, CTL_MINS,
- ENC_MODE_L, KC_LALT, LT(_LOWER, KC_SPC), LT(_RAISE, KC_TAB), KC_LSFT, KC_EQL, LT(_RAISE, KC_ENT), LT(_LOWER, KC_BSPC), KC_DEL, ENC_MODE_R
- ),
-/*
- * Lower Layer: Symbols, Navigation
- */
- [_LOWER] = LAYOUT(
- _______, KC_HASH, KC_DLR, KC_LCBR, KC_RCBR, KC_PIPE, _______, _______, _______, _______, _______, KC_PIPE,
- _______, KC_EXLM, KC_AT, KC_LPRN, KC_RPRN, KC_GRV, KC_PGUP, KC_LEFT, KC_UP, KC_RGHT, _______, KC_QUOT,
- _______, KC_PERC, KC_CIRC, KC_LBRC, KC_RBRC, KC_TILD, _______, _______, _______, _______, KC_PGDN, KC_HOME, KC_DOWN, KC_END, _______, KC_MINS,
- _______, _______, _______, KC_SCLN, KC_EQL, KC_EQL, KC_SCLN, _______, _______, _______
- ),
-/*
- * Raise Layer: Number keys, media, more symbols
- */
- [_RAISE] = LAYOUT(
- _______, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, _______,
- _______, _______, KC_MPRV, KC_MPLY, KC_MNXT, KC_VOLU, KC_MINS, KC_PLUS, KC_ASTR, KC_SLSH, KC_PERC, _______,
- _______, _______, _______, _______, KC_MUTE, KC_VOLD, _______, _______, _______, _______, KC_AMPR, KC_PIPE, KC_COMM, KC_DOT, KC_SLSH, _______,
- _______, _______, _______, _______, _______, _______, _______, _______, _______, _______
- ),
-/*
- * Adjust Layer: Function keys, RGB
- */
- [_ADJUST] = LAYOUT(
- _______, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, _______,
- _______, RGB_TOG, RGB_SAI, RGB_HUI, RGB_VAI, RGB_MOD, _______, _______, _______, KC_F11, KC_F12, _______,
- _______, _______, RGB_SAD, RGB_HUD, RGB_VAD, RGB_RMOD,_______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
- _______, _______, _______, _______, _______, _______, _______, _______, _______, _______
- ),
-};
-// clang-format on
-
-void matrix_init_user(void) {
-#ifdef ENCODER_ENABLE
- encoder_utils_init();
-#endif
-}
-
-layer_state_t layer_state_set_user(layer_state_t state) { return update_tri_layer_state(state, _LOWER, _RAISE, _ADJUST); }
-
-bool process_record_user(uint16_t keycode, keyrecord_t *record) {
- switch (keycode) {
-#ifdef ENCODER_ENABLE
- case ENC_MODE_L:
- if (record->event.pressed) {
- cycle_encoder_mode(true, false);
- }
- break;
- case ENC_MODE_R:
- if (record->event.pressed) {
- cycle_encoder_mode(false, false);
- }
- break;
-#endif
-#ifdef THUMBSTICK_ENABLE
- case TMB_MODE:
- if (record->event.pressed) {
- thumbstick_mode_cycle(false);
- }
-#endif
- }
- return true;
-}
-
-#ifdef OLED_ENABLE
-oled_rotation_t oled_init_user(oled_rotation_t rotation) { return OLED_ROTATION_180; }
-
-bool oled_task_user(void) {
- render_status();
- return false;
-}
-#endif
-
-#ifdef ENCODER_ENABLE
-bool encoder_update_user(uint8_t index, bool clockwise) {
- if (index == 0) {
- encoder_action(get_encoder_mode(true), clockwise);
-# ifdef OLED_ENABLE
- oled_on();
-# endif
- } else if (index == 1) {
- encoder_action(get_encoder_mode(false), clockwise);
-# ifdef OLED_ENABLE
- oled_on();
-# endif
- }
- return true;
-}
-#endif
diff --git a/keyboards/splitkb/kyria/keymaps/gotham/oled_utils.c b/keyboards/splitkb/kyria/keymaps/gotham/oled_utils.c
deleted file mode 100644
index 9d76c97491..0000000000
--- a/keyboards/splitkb/kyria/keymaps/gotham/oled_utils.c
+++ /dev/null
@@ -1,103 +0,0 @@
-#include "oled_utils.h"
-
- void render_qmk_logo(void) {
- static const char PROGMEM qmk_logo[] = {
- 0x80, 0x81, 0x82, 0x83, 0x84, 0x85, 0x86, 0x87, 0x88, 0x89, 0x8A, 0x8B, 0x8C, 0x8D, 0x8E, 0x8F, 0x90, 0x91, 0x92, 0x93, 0x94,
- 0xA0, 0xA1, 0xA2, 0xA3, 0xA4, 0xA5, 0xA6, 0xA7, 0xA8, 0xA9, 0xAA, 0xAB, 0xAC, 0xAD, 0xAE, 0xAF, 0xB0, 0xB1, 0xB2, 0xB3, 0xB4,
- 0xC0, 0xC1, 0xC2, 0xC3, 0xC4, 0xC5, 0xC6, 0xC7, 0xC8, 0xC9, 0xCA, 0xCB, 0xCC, 0xCD, 0xCE, 0xCF, 0xD0, 0xD1, 0xD2, 0xD3, 0xD4, 0x00
- };
-
- oled_write_P(qmk_logo, false);
- }
-
-void render_layer(void) {
- oled_write_P(PSTR("\nLayer: "), false);
- switch (get_highest_layer(layer_state)) {
- case _QWERTY:
- oled_write_P(PSTR("Default\n"), false);
- break;
- case _LOWER:
- oled_write_P(PSTR("Lower\n"), false);
- break;
- case _RAISE:
- oled_write_P(PSTR("Raise\n"), false);
- break;
- case _ADJUST:
- oled_write_P(PSTR("Adjust\n"), false);
- break;
- default:
- oled_write_P(PSTR("???\n"), false);
- }
-}
-
-#ifdef ENCODER_ENABLE
-void render_encoder(encoder_mode_t mode) {
- switch (mode) {
- case ENC_MODE_VOLUME:
- oled_write_P(PSTR("Volume\n"), false);
- break;
- case ENC_MODE_WORD_NAV:
- oled_write_P(PSTR("Word Nav\n"), false);
- break;
- case ENC_MODE_LEFT_RIGHT:
- oled_write_P(PSTR("Left / Right\n"), false);
- break;
- case ENC_MODE_UP_DOWN:
- oled_write_P(PSTR("Up / Down\n"), false);
- break;
- case ENC_MODE_PAGING:
- oled_write_P(PSTR("PgUp / PgDwn\n"), false);
- break;
- default:
- oled_write_P(PSTR("???\n"), false);
- }
-}
-#endif
-
-#ifdef THUMBSTICK_ENABLE
-void render_thumbstick(thumbstick_mode_t mode) {
- switch (mode) {
- case THUMBSTICK_MODE_MOUSE:
- oled_write_P(PSTR("Mouse"), false);
- break;
- case THUMBSTICK_MODE_ARROWS:
- oled_write_P(PSTR("Arrows"), false);
- break;
- case THUMBSTICK_MODE_SCROLL:
- oled_write_P(PSTR("Scroll"), false);
- break;
- default:
- oled_write_P(PSTR("???\n"), false);
- }
-}
-#endif
-
-void render_status(void) {
- if (is_keyboard_master()) {
- // Host Keyboard Layer Status
- render_layer();
-#ifdef ENCODER_ENABLE
- // Encoder state
- oled_write_P(PSTR("L-Enc: "), false);
- render_encoder(encoder_left_mode);
- oled_write_P(PSTR("R-Enc: "), false);
- render_encoder(encoder_right_mode);
-#endif
-#ifdef THUMBSTICK_ENABLE
- if (!isLeftHand) {
- // Thumbstick state
- oled_write_P(PSTR("Joystick: "), false);
- render_thumbstick(thumbstick_state.config.mode);
- }
-#endif
- // Host Keyboard LED Status
- led_t led_state = host_keyboard_led_state();
- oled_write_P(led_state.num_lock ? PSTR("NUMLCK ") : PSTR(" "), false);
- oled_write_P(led_state.caps_lock ? PSTR("CAPLCK ") : PSTR(" "), false);
- oled_write_P(led_state.scroll_lock ? PSTR("SCRLCK ") : PSTR(" "), false);
- } else {
- // QMK Logo and version information
- render_qmk_logo();
- oled_write_P(PSTR("\n Kyria v1.0\n"), false);
- }
-}
diff --git a/keyboards/splitkb/kyria/keymaps/gotham/oled_utils.h b/keyboards/splitkb/kyria/keymaps/gotham/oled_utils.h
deleted file mode 100644
index 7e3bf44c82..0000000000
--- a/keyboards/splitkb/kyria/keymaps/gotham/oled_utils.h
+++ /dev/null
@@ -1,25 +0,0 @@
-#pragma once
-
-#include "keycodes.h"
-
-#ifdef ENCODER_ENABLE
-# include "encoder_utils.h"
-#endif
-
-#ifdef THUMBSTICK_ENABLE
-# include "thumbstick.h"
-#endif
-
-void render_kyria_logo(void);
-
-void render_layer(void);
-
-#ifdef ENCODER_ENABLE
-void render_encoder(encoder_mode_t mode);
-#endif
-
-#ifdef THUMBSTICK_ENABLE
-void render_thumbstick(thumbstick_mode_t mode);
-#endif
-
-void render_status(void);
diff --git a/keyboards/splitkb/kyria/keymaps/gotham/rules.mk b/keyboards/splitkb/kyria/keymaps/gotham/rules.mk
deleted file mode 100644
index 00b2868c1f..0000000000
--- a/keyboards/splitkb/kyria/keymaps/gotham/rules.mk
+++ /dev/null
@@ -1,22 +0,0 @@
-CONSOLE_ENABLE = yes # Console for debug
-ENCODER_ENABLE = yes # ENables the use of one or more encoders
-RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow
-MOUSEKEY_ENABLE = no # Mouse keys
-OLED_ENABLE = yes
-THUMBSTICK_ENABLE = yes # Enables analog thumbstick code
-
-ifeq ($(strip $(ENCODER_ENABLE)), yes)
- SRC += encoder_utils.c
-endif
-
-ifeq ($(strip $(OLED_ENABLE)), yes)
- SRC += oled_utils.c
-endif
-
-ifeq ($(strip $(THUMBSTICK_ENABLE)), yes)
- ANALOG_DRIVER_REQUIRED = yes
- POINTING_DEVICE_ENABLE = yes
- POINTING_DEVICE_DRIVER = custom
- OPT_DEFS += -DTHUMBSTICK_ENABLE
- SRC += thumbstick.c
-endif
diff --git a/keyboards/splitkb/kyria/keymaps/gotham/thumbstick.c b/keyboards/splitkb/kyria/keymaps/gotham/thumbstick.c
deleted file mode 100644
index bb307b149f..0000000000
--- a/keyboards/splitkb/kyria/keymaps/gotham/thumbstick.c
+++ /dev/null
@@ -1,195 +0,0 @@
-#include "thumbstick.h"
-
-void thumbstick_init(void) {
- thumbstickTimer = 0;
- thumbstickScrollTimer = 0;
-
- thumbstick_state.config.mode = THUMBSTICK_MODE_MOUSE;
- thumbstick_state.config.deadZone = THUMBSTICK_DEAD_ZONE;
- thumbstick_state.config.fineZone = THUMBSTICK_FINE_ZONE;
- thumbstick_state.config.speed = THUMBSTICK_SPEED;
- thumbstick_state.config.fineSpeed = THUMBSTICK_FINE_SPEED;
- thumbstick_state.config.axisSeparation = THUMBSTICK_AXIS_SEPARATION;
- thumbstick_state.config.eightAxis = THUMBSTICK_EIGHT_AXIS;
-
-#if defined THUMBSTICK_DEBUG
- rawX = 0;
- rawY = 0;
- distX = 0;
- distY = 0;
- thumbstickLogTimer = 0;
-#endif
-}
-
-// Axis-level wrapper to read raw value, do logging and calculate speed
-int16_t thumbstick_get_component(uint8_t pin) {
- uint16_t analogValue = analogReadPin(pin);
- // Compute direction
- bool directionIsPositive = (analogValue > THUMBSTICK_RANGE_CENTER);
- // Compute distance from the center
- uint16_t distance = directionIsPositive ? (analogValue - THUMBSTICK_RANGE_CENTER) : (THUMBSTICK_RANGE_CENTER - analogValue);
-#if defined THUMBSTICK_DEBUG
- if (pin == THUMBSTICK_PIN_X) {
- rawX = analogValue;
- distX = distance;
- } else {
- rawY = analogValue;
- distY = distance;
- }
-#endif
- // Compute component (range of [0 to 1023])
- return directionIsPositive ? distance : -(int16_t)distance;
-}
-
-void thumbstick_mode_set(thumbstick_mode_t mode) { thumbstick_state.config.mode = mode; }
-
-thumbstick_mode_t thumbstick_mode_get(void) { return thumbstick_state.config.mode; }
-
-void thumbstick_mode_cycle(bool reverse) {
- thumbstick_mode_t mode = thumbstick_mode_get();
- if (reverse) {
- mode = (mode == 0) ? (_THUMBSTICK_MODE_LAST - 1) : (mode - 1);
- } else {
- mode = (mode == (_THUMBSTICK_MODE_LAST - 1)) ? 0 : (mode + 1);
- }
- thumbstick_mode_set(mode);
-}
-
-// Get mouse speed
-int16_t thumbstick_get_mouse_speed(int16_t component) {
- int16_t maxSpeed;
- uint16_t distance = abs(component);
- if (distance > THUMBSTICK_FINE_ZONE) {
- maxSpeed = THUMBSTICK_SPEED;
- } else if (distance > THUMBSTICK_DEAD_ZONE) {
- maxSpeed = THUMBSTICK_FINE_SPEED;
- } else {
- return 0;
- }
- return (float)maxSpeed * component / THUMBSTICK_RANGE_CENTER;
-}
-
-// Fix direction within one of 8 axes (or 4 if 8-axis is disabled)
-thumbstick_direction_t thumbstick_get_discretized_direction(thumbstick_vector_t vector, float axisSeparation, bool eightAxis) {
- thumbstick_direction_t direction;
- uint16_t absX = abs(vector.x);
- uint16_t absY = abs(vector.y);
- uint16_t maxComponent = (absX > absY) ? absX : absY;
- bool insideDeadZone = (maxComponent <= THUMBSTICK_DEAD_ZONE);
- bool outsideDiagonalZone = ((abs(absX - absY) / (float)maxComponent) >= axisSeparation);
- if (insideDeadZone) {
- direction.up = direction.down = direction.left = direction.right = false;
- } else {
- direction.up = (vector.y < 0);
- direction.down = (vector.y > 0);
- direction.left = (vector.x < 0);
- direction.right = (vector.x > 0);
- // Let only the dominant direction remain under the right conditions
- if (outsideDiagonalZone || !eightAxis) {
- if (absX > absY) {
- direction.up = direction.down = false;
- } else {
- direction.left = direction.right = false;
- }
- }
- }
- return direction;
-}
-
-thumbstick_direction_t scrollDirection; // Declaring global to save stack space
-void thumbstick_process(void) {
- if (timer_elapsed(thumbstickTimer) > THUMBSTICK_TIMEOUT) {
- thumbstickTimer = timer_read();
-#ifndef THUMBSTICK_FLIP_X
- thumbstick_state.vector.x = thumbstick_get_component(THUMBSTICK_PIN_X);
-#else
- thumbstick_state.vector.x = -thumbstick_get_component(THUMBSTICK_PIN_X);
-#endif
-#ifndef THUMBSTICK_FLIP_Y
- thumbstick_state.vector.y = thumbstick_get_component(THUMBSTICK_PIN_Y);
-#else
- thumbstick_state.vector.y = -thumbstick_get_component(THUMBSTICK_PIN_Y);
-#endif
- switch (thumbstick_state.config.mode) {
- case THUMBSTICK_MODE_MOUSE:
- thumbstick_state.report.x = thumbstick_get_mouse_speed(thumbstick_state.vector.x);
- thumbstick_state.report.y = thumbstick_get_mouse_speed(thumbstick_state.vector.y);
- break;
- case THUMBSTICK_MODE_ARROWS:
- thumbstick_state.direction = thumbstick_get_discretized_direction(thumbstick_state.vector, thumbstick_state.config.axisSeparation, thumbstick_state.config.eightAxis);
- break;
- case THUMBSTICK_MODE_SCROLL:
- if (timer_elapsed(thumbstickScrollTimer) > THUMBSTICK_SCROLL_TIMEOUT) {
- thumbstickScrollTimer = timer_read();
- scrollDirection = thumbstick_get_discretized_direction(thumbstick_state.vector, thumbstick_state.config.axisSeparation, false);
- thumbstick_state.report.v = (scrollDirection.up || scrollDirection.down) ? (scrollDirection.up ? THUMBSTICK_SCROLL_SPEED : -THUMBSTICK_SCROLL_SPEED) : 0;
- thumbstick_state.report.h = (scrollDirection.left || scrollDirection.right) ? (scrollDirection.left ? -THUMBSTICK_SCROLL_SPEED : THUMBSTICK_SCROLL_SPEED) : 0;
- } else {
- thumbstick_state.report.v = thumbstick_state.report.h = 0;
- }
- break;
- default:
- break;
- }
- }
-}
-
-void update_keycode_status(uint16_t keycode, bool last, bool current) {
- if (last != current) {
- if (current) {
- register_code16(keycode);
- } else {
- unregister_code16(keycode);
- }
- }
-}
-
-void pointing_device_init(void) { thumbstick_init(); }
-
-bool pointing_device_task(void) {
- report_mouse_t report = pointing_device_get_report();
-
- if (!isLeftHand) {
- thumbstick_process();
- switch (thumbstick_state.config.mode) {
- case THUMBSTICK_MODE_MOUSE:
- report.x = thumbstick_state.report.x;
- report.y = thumbstick_state.report.y;
-#ifdef THUMBSTICK_DEBUG
- if (timer_elapsed(thumbstickLogTimer) > 100) {
- thumbstickLogTimer = timer_read();
- uprintf("Raw (%d, %d); Dist (%u, %u); Vec (%d, %d);\n", rawX, rawY, distX, distY, thumbstick_state.vector.x, thumbstick_state.vector.y);
- }
-#endif
- break;
- case THUMBSTICK_MODE_ARROWS:
- update_keycode_status(KC_UP, thumbstick_state.lastDirection.up, thumbstick_state.direction.up);
- update_keycode_status(KC_DOWN, thumbstick_state.lastDirection.down, thumbstick_state.direction.down);
- update_keycode_status(KC_LEFT, thumbstick_state.lastDirection.left, thumbstick_state.direction.left);
- update_keycode_status(KC_RIGHT, thumbstick_state.lastDirection.right, thumbstick_state.direction.right);
- thumbstick_state.lastDirection = thumbstick_state.direction;
-#ifdef THUMBSTICK_DEBUG
- if (timer_elapsed(thumbstickLogTimer) > 100) {
- thumbstickLogTimer = timer_read();
- uprintf("Up %d; Down %d; Left: %d; Right %d; Vec (%d, %d);\n", direction.up, direction.down, direction.left, direction.right, thumbstick_state.vector.x, thumbstick_state.vector.y);
- }
-#endif
- break;
- case THUMBSTICK_MODE_SCROLL:
- report.v = thumbstick_state.report.v;
- report.h = thumbstick_state.report.h;
-#ifdef THUMBSTICK_DEBUG
- if (timer_elapsed(thumbstickLogTimer) > 100) {
- thumbstickLogTimer = timer_read();
- uprintf("Scroll (%d, %d)\n", report.h, report.v);
- }
-#endif
- break;
- default:
- break;
- }
- }
-
- pointing_device_set_report(report);
- return pointing_device_send();
-}
diff --git a/keyboards/splitkb/kyria/keymaps/gotham/thumbstick.h b/keyboards/splitkb/kyria/keymaps/gotham/thumbstick.h
deleted file mode 100644
index aff939c746..0000000000
--- a/keyboards/splitkb/kyria/keymaps/gotham/thumbstick.h
+++ /dev/null
@@ -1,98 +0,0 @@
-#pragma once
-
-typedef enum {
- THUMBSTICK_MODE_MOUSE = 0,
- THUMBSTICK_MODE_ARROWS,
- THUMBSTICK_MODE_SCROLL,
- _THUMBSTICK_MODE_LAST // Do not use, except for looping through enum values
-} thumbstick_mode_t;
-
-// Parameters
-#define THUMBSTICK_DEAD_ZONE 90 // Values below this are ignored (deadzone)
-#define THUMBSTICK_FINE_ZONE 180 // Values below this enable fine movement
-
-#define THUMBSTICK_MODE THUMBSTICK_MODE_MOUSE
-#define THUMBSTICK_SPEED 256
-#define THUMBSTICK_FINE_SPEED 96
-#define THUMBSTICK_SCROLL_SPEED 1
-
-#define THUMBSTICK_EIGHT_AXIS true
-#define THUMBSTICK_AXIS_SEPARATION 0.5f
-
-// Implicit and derived constants
-#define THUMBSTICK_TIMEOUT 10 // Mouse report throttling time in ms
-#define THUMBSTICK_SCROLL_TIMEOUT 200 // Mouse scroll throttling time in ms
-#define THUMBSTICK_RANGE_START 0
-#define THUMBSTICK_RANGE_STOP 1023
-#define THUMBSTICK_RANGE_CENTER (THUMBSTICK_RANGE_STOP - THUMBSTICK_RANGE_START + 1) / 2
-#define THUMBSTICK_RANGE_MOVEMENT (THUMBSTICK_RANGE_CENTER - THUMBSTICK_DEAD_ZONE)
-
-#include "timer.h"
-#include "analog.h"
-#include "split_util.h"
-#include "pointing_device.h"
-
-#if defined THUMBSTICK_DEBUG
-# include "print.h"
-uint16_t rawX;
-uint16_t rawY;
-uint16_t distX;
-uint16_t distY;
-uint16_t thumbstickLogTimer;
-#endif
-
-typedef struct {
- thumbstick_mode_t mode;
- uint16_t deadZone;
- uint16_t fineZone;
- uint16_t speed;
- uint16_t fineSpeed;
- float axisSeparation;
- bool eightAxis;
-} thumbstick_config_t;
-
-typedef struct {
- int16_t x;
- int16_t y;
-} thumbstick_vector_t;
-
-typedef struct {
- bool up;
- bool right;
- bool down;
- bool left;
-} thumbstick_direction_t;
-
-typedef struct {
- thumbstick_config_t config;
- thumbstick_vector_t vector;
- thumbstick_direction_t direction;
- thumbstick_direction_t lastDirection;
- report_mouse_t report;
-} thumbstick_state_t;
-
-uint16_t thumbstickTimer;
-uint16_t thumbstickScrollTimer;
-
-thumbstick_state_t thumbstick_state;
-
-void thumbstick_mode_set(thumbstick_mode_t mode);
-
-thumbstick_mode_t thumbstick_mode_get(void);
-
-void thumbstick_mode_cycle(bool reverse);
-
-void thumbstick_init(void);
-
-// Axis-level wrapper to read raw value, do logging and calculate speed
-int16_t thumbstick_get_component(uint8_t pin);
-
-// Get mouse speed
-int16_t thumbstick_get_mouse_speed(int16_t component);
-
-// Fix direction within one of 8 axes (or 4 if 8-axis is disabled)
-thumbstick_direction_t thumbstick_get_discretized_direction(thumbstick_vector_t vector, float axisSeparation, bool eightAxis);
-
-void thumbstick_process(void);
-
-void update_keycode_status(uint16_t keycode, bool last, bool current);
diff --git a/keyboards/splitkb/kyria/keymaps/kejadlen/config.h b/keyboards/splitkb/kyria/keymaps/kejadlen/config.h
deleted file mode 100644
index 0e2fd449da..0000000000
--- a/keyboards/splitkb/kyria/keymaps/kejadlen/config.h
+++ /dev/null
@@ -1,56 +0,0 @@
-/* Copyright 2019 Thomas Baart <thomas@splitkb.com>
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
-
-#pragma once
-
-#ifdef OLED_ENABLE
- #define OLED_DISPLAY_128X64
-#endif
-
-#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 8
- #define RGBLIGHT_SAT_STEP 8
- #define RGBLIGHT_VAL_STEP 8
- #define RGBLIGHT_SLEEP
-#endif
-
-// EC11K encoders have a different resolution than other EC11 encoders.
-// When using the default resolution of 4, if you notice your encoder skipping
-// every other tick, lower the resolution to 2.
-#define ENCODER_RESOLUTION 2
-
-// The Leader key allows to flexibly assign macros to key sequences.
-#define LEADER_PER_KEY_TIMING
-#define LEADER_TIMEOUT 350
-
-#define TAPPING_TERM 200
-
-// Allows to use either side as the master. Look at the documentation for info:
-// https://docs.qmk.fm/#/config_options?id=setting-handedness
-#define EE_HANDS
-
-// Allows media codes to properly register in macros and rotary encoder code
-#define TAP_CODE_DELAY 10
diff --git a/keyboards/splitkb/kyria/keymaps/kejadlen/keymap.c b/keyboards/splitkb/kyria/keymaps/kejadlen/keymap.c
deleted file mode 100644
index 9de9be5552..0000000000
--- a/keyboards/splitkb/kyria/keymaps/kejadlen/keymap.c
+++ /dev/null
@@ -1,63 +0,0 @@
-/* Copyright 2019 Thomas Baart <thomas@splitkb.com>
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
-#include QMK_KEYBOARD_H
-
-
-enum layers {
- NOR = 0,
- NAV,
- SYM,
- ETC,
-};
-
-const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
- [NOR] = LAYOUT(
- KC_NO, KC_Q, KC_W, KC_D, KC_F, KC_K, KC_J, KC_U, KC_R, KC_L, KC_SCLN, KC_BSLS,
- KC_LSFT, KC_A, KC_S, KC_E, KC_T, KC_G, KC_Y, KC_N, KC_I, KC_O, KC_H, KC_QUOT,
- KC_NO, KC_Z, KC_X, KC_C, KC_V, KC_B, MO(NAV), MO(ETC), MO(ETC), MO(NAV), KC_P, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT,
- LCAG_T(KC_NO), KC_LALT, GUI_T(KC_TAB), LT(SYM,KC_BSPC), CTL_T(KC_ESC), SFT_T(KC_ENT), LT(SYM,KC_SPC), GUI_T(KC_TAB), KC_LALT, RCAG_T(KC_NO)
- ),
-
- [NAV] = LAYOUT(
- KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_MUTE, KC_NO, KC_NO, KC_NO, KC_NO, KC_TRNS,
- KC_TRNS, KC_LSFT, KC_LCTL, KC_LOPT, KC_LCMD, KC_TRNS, KC_VOLU, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT, KC_TRNS,
- KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_VOLD, KC_NO, KC_NO, KC_NO, KC_NO, KC_TRNS,
- KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS
- ),
-
- [SYM] = LAYOUT(
- KC_TRNS, KC_EXLM, KC_AT, KC_LCBR, KC_RCBR, KC_PIPE, KC_EQL, KC_7, KC_8, KC_9, KC_PLUS, KC_TRNS,
- KC_AMPR, KC_HASH, KC_DLR, KC_LPRN, KC_RPRN, KC_BSLS, KC_MINS, KC_4, KC_5, KC_6, KC_QUOT, KC_TRNS,
- KC_GRV, KC_PERC, KC_CIRC, KC_LBRC, KC_RBRC, KC_ASTR, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_UNDS, KC_1, KC_2, KC_3, KC_DQUO, KC_TRNS,
- KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_0, KC_DOT, KC_TRNS
- ),
-
- [ETC] = LAYOUT(
- KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_F7, KC_F8, KC_F9, KC_TRNS, KC_TRNS,
- KC_TRNS, KC_LSFT, KC_LCTL, KC_LOPT, KC_LCMD, KC_TRNS, KC_TRNS, KC_F4, KC_F5, KC_F6, KC_TRNS, KC_TRNS,
- KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_F1, KC_F2, KC_F3, KC_TRNS, KC_TRNS,
- KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS
- ),
-
- /*
- [__TEMPLATE__] = LAYOUT(
- KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
- KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
- KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
- KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
- ),
- */
-};
diff --git a/keyboards/splitkb/kyria/keymaps/kejadlen/rules.mk b/keyboards/splitkb/kyria/keymaps/kejadlen/rules.mk
deleted file mode 100644
index e11b7e936d..0000000000
--- a/keyboards/splitkb/kyria/keymaps/kejadlen/rules.mk
+++ /dev/null
@@ -1,5 +0,0 @@
-OLED_ENABLE = no # Enables the use of OLED displays
-ENCODER_ENABLE = no # Enables the use of one or more encoders
-RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
-LEADER_ENABLE = no # Enable the Leader Key feature
-MOUSEKEY_ENABLE = no
diff --git a/keyboards/splitkb/kyria/keymaps/pierrec83/config.h b/keyboards/splitkb/kyria/keymaps/pierrec83/config.h
deleted file mode 100644
index 280e6b1d12..0000000000
--- a/keyboards/splitkb/kyria/keymaps/pierrec83/config.h
+++ /dev/null
@@ -1,72 +0,0 @@
-/* Copyright 2020 Pierre Chevalier <pierrechevalier83@gmail.com>
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
-
-#pragma once
-
-#ifdef OLED_ENABLE
- #define OLED_DISPLAY_128X64
-#endif
-
-#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 8
- #define RGBLIGHT_SAT_STEP 8
- #define RGBLIGHT_VAL_STEP 8
-#endif
-
-#ifdef ENCODER_ENABLE
- #define ENCODER_DIRECTION_FLIP
- #define ENCODER_RESOLUTION 2
-#endif
-
-#define TAPPING_TERM 200
-#define PERMISSIVE_HOLD
-#define QUICK_TAP_TERM 0
-// Allows to use either side as the master. Look at the documentation for info:
-// https://docs.qmk.fm/#/config_options?id=setting-handedness
-#define EE_HANDS
-
-// Allows media codes to properly register in macros and rotary encoder code
-#define TAP_CODE_DELAY 10
-
-// If you are using an Elite C rev3 on the slave side, uncomment the lines below:
-// #define SPLIT_USB_DETECT
-// #define NO_USB_STARTUP_CHECK
-
-// Set the mouse settings to a comfortable speed/accuracy trade-off
-// Assume the screen refresh rate is 60 Htz or higher
-// The default is 50. This makes the mouse ~3 times faster and more accurate
-#define MOUSEKEY_INTERVAL 16
-// The default is 20. Since we made the mouse about 3 times faster with the previous setting,
-// give it more time to accelerate to max speed to retain precise control over short distances.
-#define MOUSEKEY_TIME_TO_MAX 40
-// The default is 300. Let's try and make this as low as possible while keeping the cursor responsive
-#define MOUSEKEY_DELAY 100
-// It makes sense to use the same delay for the mouseweel
-#define MOUSEKEY_WHEEL_DELAY 100
-// The default is 100
-#define MOUSEKEY_WHEEL_INTERVAL 50
-// The default is 40
-#define MOUSEKEY_WHEEL_TIME_TO_MAX 100
diff --git a/keyboards/splitkb/kyria/keymaps/pierrec83/encoders.c b/keyboards/splitkb/kyria/keymaps/pierrec83/encoders.c
deleted file mode 100644
index 7505925e72..0000000000
--- a/keyboards/splitkb/kyria/keymaps/pierrec83/encoders.c
+++ /dev/null
@@ -1,64 +0,0 @@
-#include QMK_KEYBOARD_H
-#include "layers.h"
-
-#ifdef ENCODER_ENABLE
-
-bool encoder_update_user(uint8_t index, bool clockwise) {
- if (index == 0) {
- switch (get_highest_layer(layer_state)) {
- case WORKMAN:
- if (clockwise) {
- tap_code(KC_VOLU);
- } else {
- tap_code(KC_VOLD);
- }
- break;
- case SYMBOLS:
- case FN:
- if (clockwise) {
- tap_code(KC_PGDN);
- } else {
- tap_code(KC_PGUP);
- }
- break;
- case NAV:
- case RNAV:
- default:
- if (clockwise) {
- tap_code16(C(A(KC_RIGHT)));
- } else {
- tap_code16(C(A(KC_LEFT)));
- }
- break;
- }
- } else if (index == 1) {
- switch (get_highest_layer(layer_state)) {
- case WORKMAN:
- if (clockwise) {
- tap_code(KC_BRIU);
- } else {
- tap_code(KC_BRID);
- }
- break;
- case SYMBOLS:
- case FN:
- if (clockwise) {
- tap_code16(C(KC_RIGHT));
- } else {
- tap_code16(C(KC_LEFT));
- }
- break;
- case NAV:
- case RNAV:
- default:
- if (clockwise) {
- tap_code16(C(KC_TAB));
- } else {
- tap_code16(C(S(KC_TAB)));
- }
- break;
- }
- }
- return true;
-}
-#endif
diff --git a/keyboards/splitkb/kyria/keymaps/pierrec83/keymap.c b/keyboards/splitkb/kyria/keymaps/pierrec83/keymap.c
deleted file mode 100644
index 204895dc10..0000000000
--- a/keyboards/splitkb/kyria/keymaps/pierrec83/keymap.c
+++ /dev/null
@@ -1,18 +0,0 @@
-#include QMK_KEYBOARD_H
-
-/* THIS FILE WAS GENERATED!
- *
- * This file was generated by qmk json2c. You may or may not want to
- * edit it directly.
- */
-
-const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
- [0] = LAYOUT(KC_NO, KC_Q, KC_D, KC_R, KC_W, KC_B, KC_J, KC_F, KC_U, KC_P, KC_SCLN, KC_NO, KC_NO, LSFT_T(KC_A), LT(5,KC_S), LT(1,KC_H), LT(3,KC_T), KC_G, KC_Y, LT(4,KC_N), LT(2,KC_E), LT(6,KC_O), LSFT_T(KC_I), KC_NO, KC_NO, KC_Z, KC_X, KC_M, KC_C, KC_V, TG(2), TG(2), TG(1), TG(1), KC_K, KC_L, LALT_T(KC_COMM), LCTL_T(KC_DOT), KC_SLSH, KC_NO, KC_NO, KC_NO, LCA(KC_LEFT), KC_BSPC, KC_NO, KC_NO, LT(7,KC_SPC), LCA(KC_RGHT), KC_NO, KC_NO),
- [1] = LAYOUT(KC_TRNS, KC_TRNS, LCTL(LSFT(KC_C)), KC_PGUP, LCTL(LSFT(KC_V)), KC_TRNS, RGB_MOD, KC_BTN1, KC_WH_U, KC_BTN2, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_BTN2, KC_NO, KC_BTN1, KC_TRNS, RGB_RMOD, KC_MS_L, KC_MS_D, KC_MS_U, KC_MS_R, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_PGDN, KC_TRNS, KC_TRNS, TG(1), TG(1), KC_TRNS, KC_TRNS, RGB_TOG, KC_WH_L, KC_WH_D, KC_WH_R, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, LCTL(LSFT(KC_TAB)), KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, LCTL(KC_TAB), KC_TRNS, KC_TRNS),
- [2] = LAYOUT(KC_TRNS, KC_TRNS, KC_TRNS, KC_PGUP, KC_TRNS, KC_TRNS, RGB_MOD, KC_TRNS, KC_WH_U, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_LEFT, KC_UP, KC_DOWN, KC_RGHT, KC_TRNS, RGB_RMOD, KC_LGUI, KC_NO, LCTL(KC_LALT), LCA(KC_LSFT), KC_TRNS, KC_TRNS, KC_TRNS, KC_HOME, KC_PGDN, KC_END, KC_TRNS, KC_TRNS, KC_TRNS, TG(2), TG(2), RGB_TOG, KC_TRNS, KC_WH_D, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, LGUI(KC_LEFT), KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, LGUI(KC_RGHT), KC_TRNS, KC_TRNS),
- [3] = LAYOUT(KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_UNDS, KC_PIPE, KC_QUOT, KC_TRNS, KC_TRNS, KC_TRNS, KC_CIRC, KC_ASTR, KC_AMPR, KC_NO, KC_TRNS, KC_HASH, KC_TILD, KC_SLSH, KC_DQUO, KC_DLR, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_MINS, KC_BSLS, KC_GRV, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_BRID, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_BRIU, KC_TRNS, KC_TRNS),
- [4] = LAYOUT(KC_TRNS, KC_TRNS, KC_COLN, KC_LT, KC_GT, KC_SCLN, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_LCBR, KC_RCBR, KC_LPRN, KC_RPRN, KC_AT, KC_TRNS, KC_NO, KC_EQL, KC_PLUS, KC_PERC, KC_TRNS, KC_TRNS, KC_TRNS, KC_EXLM, KC_LBRC, KC_RBRC, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_VOLD, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_VOLU, KC_TRNS, KC_TRNS),
- [5] = LAYOUT(KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_F7, KC_F8, KC_F9, KC_F10, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_NO, KC_TRNS, KC_TRNS, KC_TRNS, KC_F4, KC_F5, KC_F6, KC_F11, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_F1, KC_F2, KC_F3, KC_F12, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, LCTL(KC_LALT), KC_TRNS, KC_TRNS, KC_TRNS),
- [6] = LAYOUT(KC_TRNS, KC_PSLS, KC_7, KC_8, KC_9, KC_PPLS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_0, KC_4, KC_5, KC_6, KC_PMNS, KC_TRNS, KC_TRNS, KC_NO, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_PAST, KC_1, KC_2, KC_3, KC_PEQL, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS),
- [7] = LAYOUT(KC_TRNS, KC_TRNS, KC_ESC, KC_COLN, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_DEL, KC_TRNS, KC_TRNS, KC_TRNS, KC_PERC, KC_SLSH, KC_ENT, KC_EXLM, KC_TRNS, KC_LGUI, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, RALT_T(KC_COMM), RCTL_T(KC_DOT), KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TAB, KC_TRNS, KC_TRNS, KC_NO, KC_TRNS, KC_TRNS, KC_TRNS)
-};
diff --git a/keyboards/splitkb/kyria/keymaps/pierrec83/keymap.json b/keyboards/splitkb/kyria/keymaps/pierrec83/keymap.json
deleted file mode 100644
index 79d88009c1..0000000000
--- a/keyboards/splitkb/kyria/keymaps/pierrec83/keymap.json
+++ /dev/null
@@ -1 +0,0 @@
-{"version":1,"notes":"My awesome keymap","documentation":"\"This file is a QMK Configurator export. You can import this at <https://config.qmk.fm>. It can also be used directly with QMK's source code.\n\nTo setup your QMK environment check out the tutorial: <https://docs.qmk.fm/#/newbs>\n\nYou can convert this file to a keymap.c using this command: `qmk json2c {keymap}`\n\nYou can compile this keymap using this command: `qmk compile {keymap}`\"\n","keyboard":"kyria/rev1","keymap":"pierrec83","layout":"LAYOUT","layers":[["KC_NO","KC_Q","KC_D","KC_R","KC_W","KC_B","KC_J","KC_F","KC_U","KC_P","KC_SCLN","KC_NO","KC_NO","LSFT_T(KC_A)","LT(5,KC_S)","LT(1,KC_H)","LT(3,KC_T)","KC_G","KC_Y","LT(4,KC_N)","LT(2,KC_E)","LT(6,KC_O)","LSFT_T(KC_I)","KC_NO","KC_NO","KC_Z","KC_X","KC_M","KC_C","KC_V","TG(2)","TG(2)","TG(1)","TG(1)","KC_K","KC_L","LALT_T(KC_COMM)","LCTL_T(KC_DOT)","KC_SLSH","KC_NO","KC_NO","KC_NO","LCA(KC_LEFT)","KC_BSPC","KC_NO","KC_NO","LT(7,KC_SPC)","LCA(KC_RGHT)","KC_NO","KC_NO"],["KC_TRNS","KC_TRNS","ANY(LCTL(LSFT(KC_C)))","KC_PGUP","ANY(LCTL(LSFT(KC_V)))","KC_TRNS","RGB_MOD","KC_BTN1","KC_WH_U","KC_BTN2","KC_TRNS","KC_TRNS","KC_TRNS","KC_TRNS","KC_BTN2","KC_NO","KC_BTN1","KC_TRNS","RGB_RMOD","KC_MS_L","KC_MS_D","KC_MS_U","KC_MS_R","KC_TRNS","KC_TRNS","KC_TRNS","KC_TRNS","KC_PGDN","KC_TRNS","KC_TRNS","TG(1)","TG(1)","KC_TRNS","KC_TRNS","RGB_TOG","KC_WH_L","KC_WH_D","KC_WH_R","KC_TRNS","KC_TRNS","KC_TRNS","KC_TRNS","ANY(LCTL(LSFT(KC_TAB)))","KC_TRNS","KC_TRNS","KC_TRNS","KC_TRNS","LCTL(KC_TAB)","KC_TRNS","KC_TRNS"],["KC_TRNS","KC_TRNS","KC_TRNS","KC_PGUP","KC_TRNS","KC_TRNS","RGB_MOD","KC_TRNS","KC_WH_U","KC_TRNS","KC_TRNS","KC_TRNS","KC_TRNS","KC_LEFT","KC_UP","KC_DOWN","KC_RGHT","KC_TRNS","RGB_RMOD","KC_LGUI","KC_NO","LCTL(KC_LALT)","LCA(KC_LSFT)","KC_TRNS","KC_TRNS","KC_TRNS","KC_HOME","KC_PGDN","KC_END","KC_TRNS","KC_TRNS","KC_TRNS","TG(2)","TG(2)","RGB_TOG","KC_TRNS","KC_WH_D","KC_TRNS","KC_TRNS","KC_TRNS","KC_TRNS","KC_TRNS","LGUI(KC_LEFT)","KC_TRNS","KC_TRNS","KC_TRNS","KC_TRNS","LGUI(KC_RGHT)","KC_TRNS","KC_TRNS"],["KC_TRNS","KC_TRNS","KC_TRNS","KC_TRNS","KC_TRNS","KC_TRNS","KC_TRNS","KC_UNDS","KC_PIPE","KC_QUOT","KC_TRNS","KC_TRNS","KC_TRNS","KC_CIRC","KC_ASTR","KC_AMPR","KC_NO","KC_TRNS","KC_HASH","KC_TILD","KC_SLSH","KC_DQUO","KC_DLR","KC_TRNS","KC_TRNS","KC_TRNS","KC_TRNS","KC_TRNS","KC_TRNS","KC_TRNS","KC_TRNS","KC_TRNS","KC_TRNS","KC_TRNS","KC_TRNS","KC_MINS","KC_BSLS","KC_GRV","KC_TRNS","KC_TRNS","KC_TRNS","KC_TRNS","KC_BRID","KC_TRNS","KC_TRNS","KC_TRNS","KC_TRNS","KC_BRIU","KC_TRNS","KC_TRNS"],["KC_TRNS","KC_TRNS","KC_COLN","KC_LT","KC_GT","KC_SCLN","KC_TRNS","KC_TRNS","KC_TRNS","KC_TRNS","KC_TRNS","KC_TRNS","KC_TRNS","KC_LCBR","KC_RCBR","KC_LPRN","KC_RPRN","KC_AT","KC_TRNS","KC_NO","KC_EQL","KC_PLUS","KC_PERC","KC_TRNS","KC_TRNS","KC_TRNS","KC_EXLM","KC_LBRC","KC_RBRC","KC_TRNS","KC_TRNS","KC_TRNS","KC_TRNS","KC_TRNS","KC_TRNS","KC_TRNS","KC_TRNS","KC_TRNS","KC_TRNS","KC_TRNS","KC_TRNS","KC_TRNS","KC_VOLD","KC_TRNS","KC_TRNS","KC_TRNS","KC_TRNS","KC_VOLU","KC_TRNS","KC_TRNS"],["KC_TRNS","KC_TRNS","KC_TRNS","KC_TRNS","KC_TRNS","KC_TRNS","KC_TRNS","KC_F7","KC_F8","KC_F9","KC_F10","KC_TRNS","KC_TRNS","KC_TRNS","KC_TRNS","KC_NO","KC_TRNS","KC_TRNS","KC_TRNS","KC_F4","KC_F5","KC_F6","KC_F11","KC_TRNS","KC_TRNS","KC_TRNS","KC_TRNS","KC_TRNS","KC_TRNS","KC_TRNS","KC_TRNS","KC_TRNS","KC_TRNS","KC_TRNS","KC_TRNS","KC_F1","KC_F2","KC_F3","KC_F12","KC_TRNS","KC_TRNS","KC_TRNS","KC_TRNS","KC_TRNS","KC_TRNS","KC_TRNS","LCTL(KC_LALT)","KC_TRNS","KC_TRNS","KC_TRNS"],["KC_TRNS","KC_PSLS","KC_7","KC_8","KC_9","KC_PPLS","KC_TRNS","KC_TRNS","KC_TRNS","KC_TRNS","KC_TRNS","KC_TRNS","KC_TRNS","KC_0","KC_4","KC_5","KC_6","KC_PMNS","KC_TRNS","KC_TRNS","KC_NO","KC_TRNS","KC_TRNS","KC_TRNS","KC_TRNS","KC_PAST","KC_1","KC_2","KC_3","KC_PEQL","KC_TRNS","KC_TRNS","KC_TRNS","KC_TRNS","KC_TRNS","KC_TRNS","KC_TRNS","KC_TRNS","KC_TRNS","KC_TRNS","KC_TRNS","KC_TRNS","KC_TRNS","KC_TRNS","KC_TRNS","KC_TRNS","KC_TRNS","KC_TRNS","KC_TRNS","KC_TRNS"],["KC_TRNS","KC_TRNS","KC_ESC","KC_COLN","KC_TRNS","KC_TRNS","KC_TRNS","KC_TRNS","KC_TRNS","KC_TRNS","KC_DEL","KC_TRNS","KC_TRNS","KC_TRNS","KC_PERC","KC_SLSH","KC_ENT","KC_EXLM","KC_TRNS","KC_LGUI","KC_TRNS","KC_TRNS","KC_TRNS","KC_TRNS","KC_TRNS","KC_TRNS","KC_TRNS","KC_TRNS","KC_TRNS","KC_TRNS","KC_TRNS","KC_TRNS","KC_TRNS","KC_TRNS","KC_TRNS","KC_TRNS","RALT_T(KC_COMM)","RCTL_T(KC_DOT)","KC_TRNS","KC_TRNS","KC_TRNS","KC_TRNS","KC_TRNS","KC_TAB","KC_TRNS","KC_TRNS","KC_NO","KC_TRNS","KC_TRNS","KC_TRNS"]],"author":"Anonymous"} \ No newline at end of file
diff --git a/keyboards/splitkb/kyria/keymaps/pierrec83/layers.h b/keyboards/splitkb/kyria/keymaps/pierrec83/layers.h
deleted file mode 100644
index 12a988d37e..0000000000
--- a/keyboards/splitkb/kyria/keymaps/pierrec83/layers.h
+++ /dev/null
@@ -1,7 +0,0 @@
-enum layers {
- WORKMAN = 0,
- RNAV,
- NAV,
- SYMBOLS,
- FN,
-};
diff --git a/keyboards/splitkb/kyria/keymaps/pierrec83/readme.md b/keyboards/splitkb/kyria/keymaps/pierrec83/readme.md
deleted file mode 100644
index fae22f8366..0000000000
--- a/keyboards/splitkb/kyria/keymaps/pierrec83/readme.md
+++ /dev/null
@@ -1,44 +0,0 @@
-@pierrec83's keymap for the Kyria
-===
-
-A comfortable for me using 34 keys.
-
-This keymap has evolved over a period of time from iterating as I observed pain points in my interacting with my home and work computers (MacOS and Linux. I edited many of the shortcuts in MacOS to match those in Linux for consistency).
-
-Features
----
-* Mouse keys with constants tuned so the keyboard usable for me as my sole pointing device
-* Homerow layers activation
-* Minimal unhoming of the thumbs (the one side thumb key I do use does not overlap with typing english or code)
-* Minimal side-index motion thanks to workman base layer and similar principles in other layers
-* Two symbol layers, both activated with one homerow key and either another key on the same hand's homerow or a key from the other hand
-* Mousing around, including left and right clicking can be done either one-handed or fully on the homerow with both hands
-* Easy chaining of common command line or vim patterns, such as `~/`, `()`, `ESC : w ENTER` etc.
-* Outer pinky columns unused for ergonomic reasons
-* Common OS shortcuts like switching workspaces on gnome or MacOS easily accessible (for the shortcuts I use. This may not apply to others)
-
-Instructions to update the keymap
----
-
-For now, I am still more comfortable updating the keymap through the qmk configurator as I don't trust myself to manually keep comments describing the keymap in sync with the code itself. This means that my keymap.c is generated and not really readable. For a readble view of my keymap, one must import keymap.json into [qmk configurator](https://config.qmk.fm) and use the web UI or print it.
-
-To update the keymap,
-* Load keymap.json into qmk configurator
-* Perform any edits
-* Export the keymap. This should save a json file in `~/Downloads/pierrec83.json` or equivalent for your OS
-* From the root of qmk_firmware, move the keymap to its destination:
-```
-mv ~/Downloads/pierrec83.json keyboards/kyria/keymaps/pierrec83/keymap.json
-```
-* Regenerate the `keymap.c`:
-```
-qmk json2c keyboards/kyria/keymaps/pierrec83/keymap.json -o keyboards/kyria/keymaps/pierrec83/keymap.c
-```
-* Flash the firmware (for instance, if left hand is plugged):
-```
-qmk flash -kb kyria -km pierrec83 -bl dfu-split-left
-```
-
-Author
----
-I am @pierrec83 on Twitter, @pierrechevalier83 on github. I chose the shorter nickname for my keymap.
diff --git a/keyboards/splitkb/kyria/keymaps/pierrec83/rules.mk b/keyboards/splitkb/kyria/keymaps/pierrec83/rules.mk
deleted file mode 100644
index fbccedd565..0000000000
--- a/keyboards/splitkb/kyria/keymaps/pierrec83/rules.mk
+++ /dev/null
@@ -1,5 +0,0 @@
-OLED_ENABLE = no # Enables the use of OLED displays
-ENCODER_ENABLE = yes # ENables the use of one or more encoders
-RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow
-
-SRC += encoders.c
diff --git a/keyboards/splitkb/kyria/keymaps/shinze/config.h b/keyboards/splitkb/kyria/keymaps/shinze/config.h
deleted file mode 100644
index f722e8b8e0..0000000000
--- a/keyboards/splitkb/kyria/keymaps/shinze/config.h
+++ /dev/null
@@ -1,41 +0,0 @@
-/* Copyright 2019 Thomas Baart <thomas@splitkb.com>
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
-
-#pragma once
-
-#ifdef OLED_ENABLE
- #define OLED_DISPLAY_128X64
-#endif
-
-#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 8
- #define RGBLIGHT_SAT_STEP 8
- #define RGBLIGHT_VAL_STEP 8
-#endif
-
-// If you are using an Elite C rev3 on the slave side, uncomment the lines below:
-// #define SPLIT_USB_DETECT
-// #define NO_USB_STARTUP_CHECK
diff --git a/keyboards/splitkb/kyria/keymaps/shinze/keymap.c b/keyboards/splitkb/kyria/keymaps/shinze/keymap.c
deleted file mode 100644
index ecc70055b2..0000000000
--- a/keyboards/splitkb/kyria/keymaps/shinze/keymap.c
+++ /dev/null
@@ -1,249 +0,0 @@
-/* Copyright 2019 Thomas Baart <thomas@splitkb.com>
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
-#include QMK_KEYBOARD_H
-#include "keymap_bepo.h"
-
-enum layers {
- _BEPO = 0,
- _LOWER,
- _RAISE,
- _ADJUST
-};
-
-#define RESC LT(_RAISE, KC_ESC)
-#define BP_EA BP_EACU
-#define BP_AG BP_AGRV
-#define BP_EG BP_EGRV
-#define BP_DC BP_DCIR
-#define BP_AP BP_QUOT
-#define BP_CO BP_COMM
-#define BP_DT BP_DOT
-#define LS KC_LSFT
-#define BP_DOL BP_DLR
-
-/* Bottom Row */
-#define BR01 KC_LCTL
-#define BR02 KC_LALT
-#define BR03 MT(MOD_LGUI, KC_ENT)
-#define BR04 LT(_LOWER, KC_SPC)
-#define BR05 LT(_RAISE, KC_ESC)
-#define BR06 LT(_LOWER, KC_ENT)
-#define BR07 LT(_RAISE, KC_SPC)
-#define BR08 KC_TAB
-#define BR09 KC_BSPC
-#define BR10 KC_RALT
-
-/* Under the screen row */
-#define U1 KC_LSFT
-
-const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
-
-/*
- * Base Layer: BÉPO
- *
- * ,-------------------------------------------. ,-------------------------------------------.
- * |RAIS/ESC| B | É | P | O | È | | ^ | V | D | L | J | | Z |
- * |--------+------+------+------+------+------| |------+------+------+------+------+--------|
- * | W | A | U | I | E | , | | C | T | S | R | N | M |
- * |--------+------+------+------+------+------+-------------. ,-------------+------+------+------+------+------+--------|
- * | LShift | À | Y | X | . | K | SPC |LShift| |LShift|LShift| ’ | Q | G | H | F | Ç |
- * `----------------------+------+------+------+------+------| |------+------+------+------+------+----------------------'
- * | CTRL | Alt | Enter| Space| Esc | | Enter| Space| Tab | Bksp | AltGr|
- * | | | CMD | Lower| Raise| | Lower| Raise| | | |
- * `----------------------------------' `----------------------------------'
- */
- [_BEPO] = LAYOUT(
- RESC, BP_B, BP_EA, BP_P, BP_O, BP_EG, BP_DC, BP_V, BP_D, BP_L, BP_J, BP_Z,
- BP_W, BP_A, BP_U, BP_I, BP_E, BP_CO, BP_C, BP_T, BP_S, BP_R, BP_N, BP_M,
- LS, BP_AG, BP_Y, BP_X, BP_DT, BP_K, KC_SPC, U1, U1, U1, BP_AP, BP_Q, BP_G, BP_H, BP_F, BP_CCED,
- BR01, BR02, BR03, BR04, BR05, BR06, BR07, BR08, BR09, BR10
- ),
-/*
- * Lower Layer: Numbers and symbols ?
- *
- * ,-------------------------------------------. ,-------------------------------------------.
- * | $ | " | « | » | ( | ) | | @ | + | - | / | * | = |
- * |--------+------+------+------+------+------| |------+------+------+------+------+--------|
- * | # | 1 | 2 | 3 | 4 | 5 | | 6 | 7 | 8 | 9 | 0 | ° |
- * |--------+------+------+------+------+------+-------------. ,-------------+------+------+------+------+------+--------|
- * | % | | | | | | | | | | | | | | | | ` |
- * `----------------------+------+------+------+------+------| |------+------+------+------+------+----------------------'
- * | | | | | | | | | | | |
- * | | | | | | | | | | | |
- * `----------------------------------' `----------------------------------'
- */
- [_LOWER] = LAYOUT(
- BP_DOL , BP_DQUO, BP_LDAQ, BP_RDAQ, BP_LPRN, BP_RPRN, BP_AT, BP_PLUS, BP_MINS, BP_SLSH, BP_ASTR, BP_EQL,
- BP_HASH, BP_1, BP_2, BP_3, BP_4, BP_5, BP_6, BP_7, BP_8, BP_9, BP_0, BP_DEG,
- BP_PERC, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, BP_GRV,
- _______, _______, _______, _______, _______, _______, _______, _______, _______, _______
- ),
-/*
- * Raise Layer: Media
- *
- * ,-------------------------------------------. ,-------------------------------------------.
- * | | | | | | | | | | | | | |
- * |--------+------+------+------+------+------| |------+------+------+------+------+--------|
- * | | | Prev | Play | Next | VolUp| | Left | Down | Up | Right| | |
- * |--------+------+------+------+------+------+-------------. ,-------------+------+------+------+------+------+--------|
- * | | | | | Mute | VolDn| | | | | | MLeft| Mdown| MUp |MRight| | |
- * `----------------------+------+------+------+------+------| |------+------+------+------+------+----------------------'
- * | | | | | | | | | | | |
- * | | | | | | | | | | | |
- * `----------------------------------' `----------------------------------'
- */
- [_RAISE] = LAYOUT(
- _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
- _______, _______, KC_MPRV, KC_MPLY, KC_MNXT, KC_VOLU, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT, _______, _______,
- _______, _______, _______, _______, KC_MUTE, KC_VOLD, _______, _______, _______, _______, KC_MS_L, KC_MS_D, KC_MS_U, KC_MS_R, _______, _______,
- _______, _______, _______, _______, _______, _______, _______, _______, _______, _______
- ),
-/*
- * Adjust Layer: Function keys, RGB
- *
- * ,-------------------------------------------. ,-------------------------------------------.
- * | | F1 | F2 | F3 | F4 | F5 | | F6 | F7 | F8 | F9 | F10 | |
- * |--------+------+------+------+------+------| |------+------+------+------+------+--------|
- * | | TOG | SAI | HUI | VAI | MOD | | | | | F11 | F12 | |
- * |--------+------+------+------+------+------+-------------. ,-------------+------+------+------+------+------+--------|
- * | | | SAD | HUD | VAD | RMOD | | | | | | | | | | | |
- * `----------------------+------+------+------+------+------| |------+------+------+------+------+----------------------'
- * | | | | | | | | | | | |
- * | | | | | | | | | | | |
- * `----------------------------------' `----------------------------------'
- */
- [_ADJUST] = LAYOUT(
- _______, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, _______,
- _______, RGB_TOG, RGB_SAI, RGB_HUI, RGB_VAI, RGB_MOD, _______, _______, _______, KC_F11, KC_F12, _______,
- _______, _______, RGB_SAD, RGB_HUD, RGB_VAD, RGB_RMOD,_______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
- _______, _______, _______, _______, _______, _______, _______, _______, _______, _______
- ),
-// /*
-// * Layer template
-// *
-// * ,-------------------------------------------. ,-------------------------------------------.
-// * | | | | | | | | | | | | | |
-// * |--------+------+------+------+------+------| |------+------+------+------+------+--------|
-// * | | | | | | | | | | | | | |
-// * |--------+------+------+------+------+------+-------------. ,-------------+------+------+------+------+------+--------|
-// * | | | | | | | | | | | | | | | | | |
-// * `----------------------+------+------+------+------+------| |------+------+------+------+------+----------------------'
-// * | | | | | | | | | | | |
-// * | | | | | | | | | | | |
-// * `----------------------------------' `----------------------------------'
-// */
-// [_LAYERINDEX] = LAYOUT(
-// _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
-// _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
-// _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
-// _______, _______, _______, _______, _______, _______, _______, _______, _______, _______
-// ),
-};
-
-layer_state_t layer_state_set_user(layer_state_t state) {
- return update_tri_layer_state(state, _LOWER, _RAISE, _ADJUST);
-}
-
-#ifdef OLED_ENABLE
-oled_rotation_t oled_init_user(oled_rotation_t rotation) {
- return OLED_ROTATION_180;
-}
-
-static void render_kyria_logo(void) {
- static const char PROGMEM kyria_logo[] = {
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,128,128,192,224,240,112,120, 56, 60, 28, 30, 14, 14, 14, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 14, 14, 14, 30, 28, 60, 56,120,112,240,224,192,128,128, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0,192,224,240,124, 62, 31, 15, 7, 3, 1,128,192,224,240,120, 56, 60, 28, 30, 14, 14, 7, 7,135,231,127, 31,255,255, 31,127,231,135, 7, 7, 14, 14, 30, 28, 60, 56,120,240,224,192,128, 1, 3, 7, 15, 31, 62,124,240,224,192, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0,240,252,255, 31, 7, 1, 0, 0,192,240,252,254,255,247,243,177,176, 48, 48, 48, 48, 48, 48, 48,120,254,135, 1, 0, 0,255,255, 0, 0, 1,135,254,120, 48, 48, 48, 48, 48, 48, 48,176,177,243,247,255,254,252,240,192, 0, 0, 1, 7, 31,255,252,240, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0,255,255,255, 0, 0, 0, 0, 0,254,255,255, 1, 1, 7, 30,120,225,129,131,131,134,134,140,140,152,152,177,183,254,248,224,255,255,224,248,254,183,177,152,152,140,140,134,134,131,131,129,225,120, 30, 7, 1, 1,255,255,254, 0, 0, 0, 0, 0,255,255,255, 0, 0, 0, 0,255,255, 0, 0,192,192, 48, 48, 0, 0,240,240, 0, 0, 0, 0, 0, 0,240,240, 0, 0,240,240,192,192, 48, 48, 48, 48,192,192, 0, 0, 48, 48,243,243, 0, 0, 0, 0, 0, 0, 48, 48, 48, 48, 48, 48,192,192, 0, 0, 0, 0, 0,
- 0, 0, 0,255,255,255, 0, 0, 0, 0, 0,127,255,255,128,128,224,120, 30,135,129,193,193, 97, 97, 49, 49, 25, 25,141,237,127, 31, 7,255,255, 7, 31,127,237,141, 25, 25, 49, 49, 97, 97,193,193,129,135, 30,120,224,128,128,255,255,127, 0, 0, 0, 0, 0,255,255,255, 0, 0, 0, 0, 63, 63, 3, 3, 12, 12, 48, 48, 0, 0, 0, 0, 51, 51, 51, 51, 51, 51, 15, 15, 0, 0, 63, 63, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 48, 48, 63, 63, 48, 48, 0, 0, 12, 12, 51, 51, 51, 51, 51, 51, 63, 63, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 15, 63,255,248,224,128, 0, 0, 3, 15, 63,127,255,239,207,141, 13, 12, 12, 12, 12, 12, 12, 12, 30,127,225,128, 0, 0,255,255, 0, 0,128,225,127, 30, 12, 12, 12, 12, 12, 12, 12, 13,141,207,239,255,127, 63, 15, 3, 0, 0,128,224,248,255, 63, 15, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 3, 7, 15, 62,124,248,240,224,192,128, 1, 3, 7, 15, 30, 28, 60, 56,120,112,112,224,224,225,231,254,248,255,255,248,254,231,225,224,224,112,112,120, 56, 60, 28, 30, 15, 7, 3, 1,128,192,224,240,248,124, 62, 15, 7, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 3, 7, 15, 14, 30, 28, 60, 56,120,112,112,112,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,112,112,112,120, 56, 60, 28, 30, 14, 15, 7, 3, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
- };
- oled_write_raw_P(kyria_logo, sizeof(kyria_logo));
-}
-
-static void render_qmk_logo(void) {
- static const char PROGMEM qmk_logo[] = {
- 0x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8a,0x8b,0x8c,0x8d,0x8e,0x8f,0x90,0x91,0x92,0x93,0x94,
- 0xa0,0xa1,0xa2,0xa3,0xa4,0xa5,0xa6,0xa7,0xa8,0xa9,0xaa,0xab,0xac,0xad,0xae,0xaf,0xb0,0xb1,0xb2,0xb3,0xb4,
- 0xc0,0xc1,0xc2,0xc3,0xc4,0xc5,0xc6,0xc7,0xc8,0xc9,0xca,0xcb,0xcc,0xcd,0xce,0xcf,0xd0,0xd1,0xd2,0xd3,0xd4,0};
-
- oled_write_P(qmk_logo, false);
-}
-
-static void render_status(void) {
- // QMK Logo and version information
- render_qmk_logo();
- oled_write_P(PSTR("Kyria rev1.0\n\n"), false);
-
- // Host Keyboard Layer Status
- oled_write_P(PSTR("Layer: "), false);
- switch (get_highest_layer(layer_state)) {
- case _BEPO:
- oled_write_P(PSTR("BEPO\n"), false);
- break;
- case _LOWER:
- oled_write_P(PSTR("NumSym\n"), false);
- break;
- case _RAISE:
- oled_write_P(PSTR("Media\n"), false);
- break;
- case _ADJUST:
- oled_write_P(PSTR("Adjust\n"), false);
- break;
- default:
- oled_write_P(PSTR("Undefined\n"), false);
- }
-
- // Host Keyboard LED Status
- led_t led_state = host_keyboard_led_state();
- oled_write_P(led_state.num_lock ? PSTR("NUMLCK ") : PSTR(" "), false);
- oled_write_P(led_state.caps_lock ? PSTR("CAPLCK ") : PSTR(" "), false);
- oled_write_P(led_state.scroll_lock ? PSTR("SCRLCK ") : PSTR(" "), false);
-}
-
-bool oled_task_user(void) {
- if (is_keyboard_master()) {
- render_status(); // Renders the current keyboard state (layer, lock, caps, scroll, etc)
- } else {
- render_kyria_logo();
- }
- return false;
-}
-#endif
-
-#ifdef ENCODER_ENABLE
-bool encoder_update_user(uint8_t index, bool clockwise) {
- if (index == 0) {
- // Volume control
- if (clockwise) {
- tap_code(KC_VOLU);
- } else {
- tap_code(KC_VOLD);
- }
- }
- else if (index == 1) {
- // Page up/Page down
- if (clockwise) {
- tap_code(KC_PGDN);
- } else {
- tap_code(KC_PGUP);
- }
- }
- return true;
-}
-#endif
diff --git a/keyboards/splitkb/kyria/keymaps/shinze/rules.mk b/keyboards/splitkb/kyria/keymaps/shinze/rules.mk
deleted file mode 100644
index 7b3d230350..0000000000
--- a/keyboards/splitkb/kyria/keymaps/shinze/rules.mk
+++ /dev/null
@@ -1,3 +0,0 @@
-OLED_ENABLE = yes
-ENCODER_ENABLE = yes # Enables the use of one or more encoders
-RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow