summaryrefslogtreecommitdiffstats
path: root/keyboards/converter/usb_usb/keymaps
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/converter/usb_usb/keymaps')
-rw-r--r--keyboards/converter/usb_usb/keymaps/chriskopher/combo.c54
-rw-r--r--keyboards/converter/usb_usb/keymaps/chriskopher/config.h25
-rw-r--r--keyboards/converter/usb_usb/keymaps/chriskopher/readme.md193
-rw-r--r--keyboards/converter/usb_usb/keymaps/chriskopher/rules.mk24
-rw-r--r--keyboards/converter/usb_usb/keymaps/chriskopher/shared_enum.h36
-rw-r--r--keyboards/converter/usb_usb/keymaps/chriskopher/tap_dance.c164
-rw-r--r--keyboards/converter/usb_usb/keymaps/coloneljesus/config.h6
-rw-r--r--keyboards/converter/usb_usb/keymaps/narze/README.md10
-rw-r--r--keyboards/converter/usb_usb/keymaps/narze/config.h45
-rw-r--r--keyboards/converter/usb_usb/keymaps/narze/rules.mk2
10 files changed, 0 insertions, 559 deletions
diff --git a/keyboards/converter/usb_usb/keymaps/chriskopher/combo.c b/keyboards/converter/usb_usb/keymaps/chriskopher/combo.c
deleted file mode 100644
index 68a3eda04c..0000000000
--- a/keyboards/converter/usb_usb/keymaps/chriskopher/combo.c
+++ /dev/null
@@ -1,54 +0,0 @@
-/* Copyright 2020 Christopher Ko <chriskopher@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/>.
- */
-
-#include "shared_enum.h"
-
-#include "quantum.h"
-
-enum combo_event {
- SD_LAYER_COMBO,
- KL_MEH_COMBO,
-};
-
-const uint16_t PROGMEM sd_combo[] = {KC_S, KC_D, COMBO_END}; // Combo: S + D for SuperDuper mode
-const uint16_t PROGMEM kl_combo[] = {KC_K, KC_L, COMBO_END}; // Combo: K + L for Meh modifier
-
-// Register the combo action
-combo_t key_combos[COMBO_COUNT] = {
- [SD_LAYER_COMBO] = COMBO_ACTION(sd_combo),
- [KL_MEH_COMBO] = COMBO_ACTION(kl_combo),
-};
-
-// Called after a combo event is triggered
-void process_combo_event(uint16_t combo_index, bool pressed) {
- switch (combo_index) {
- case SD_LAYER_COMBO:
- if (pressed) {
- layer_on(_SUPERDUPER);
- } else {
- layer_off(_SUPERDUPER);
- }
- break;
-
- case KL_MEH_COMBO:
- if (pressed) {
- register_mods(MOD_MEH);
- } else {
- unregister_mods(MOD_MEH);
- }
- break;
- }
-}
diff --git a/keyboards/converter/usb_usb/keymaps/chriskopher/config.h b/keyboards/converter/usb_usb/keymaps/chriskopher/config.h
deleted file mode 100644
index 7714f713bd..0000000000
--- a/keyboards/converter/usb_usb/keymaps/chriskopher/config.h
+++ /dev/null
@@ -1,25 +0,0 @@
-/* Copyright 2020 Christopher Ko <chriskopher@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
-
-#define TAPPING_TERM 200 // Delay for tap modifiers until it is considered a hold
-
-#define IGNORE_MOD_TAP_INTERRUPT // Enable ignore mod tap interrupt: https://docs.qmk.fm/#/tap_hold?id=ignore-mod-tap-interrupt
-#define IGNORE_MOD_TAP_INTERRUPT_PER_KEY // Allows configuration of ignore mod tap interrupt per key in keymap.c
-
-#define COMBO_COUNT 2 // Number of defined combos
-#define COMBO_TERM 20 // Delay for combo keys to be chained together
diff --git a/keyboards/converter/usb_usb/keymaps/chriskopher/readme.md b/keyboards/converter/usb_usb/keymaps/chriskopher/readme.md
deleted file mode 100644
index 59f70716ae..0000000000
--- a/keyboards/converter/usb_usb/keymaps/chriskopher/readme.md
+++ /dev/null
@@ -1,193 +0,0 @@
-# chriskopher's QMK Config
-Currently designed for the use of an ANSI tenkeyless keyboard on Windows 10. Although many of the ideas can be applied agnostically across operating systems.
-
-## Hardware
-- [Hasu USB to USB Controller Converter](https://www.1upkeyboards.com/shop/controllers/usb-to-usb-converter/)
- - Limitations include:
- - 6KRO
- - Media/System control keys and <kbd>Fn</kbd> key are not recognized by the converter
- - Max firmware size of 28K and a lot of it is taken up by the USB keyboard support, so not all QMK features can be enabled
- - No mouse or other pointing device support
-- A regular ANSI QWERTY USB Type B keyboard
-
-## Layer Overview
-### Base Layers
-#### 0. [My personal modified QWERTY layout](#chriskopher-qwerty-layout)
-This is the default base layer that is used for most of my typing and where the intermediate layers are stacked onto. It is loaded by default on keyboard power up.
-- Apply this base layer with <kbd>[Adjust](#adjust-layer)</kbd> + <kbd>c</kbd>, or by powering on the keyboard
-- Swapped <kbd>CapsLock</kbd> and <kbd>LCtrl</kbd> for ergonomics with often performed <kbd>LCtrl</kbd> keyboard shortcuts
-- Swapped <kbd>\\</kbd> and <kbd>Backspace</kbd> to minimize hand movement, inspired by the [HHKB](https://happyhackingkb.com/) layout
-- Overloaded modifier keys, inspired by Steve Losh's [A Modern Space Cadet](https://stevelosh.com/blog/2012/10/a-modern-space-cadet/)
- - Tap <kbd>LShift</kbd> for <kbd>(</kbd>, hold for <kbd>LShift</kbd>
- - Tap <kbd>RShift</kbd> for <kbd>)</kbd>, hold for <kbd>RShift</kbd>
- - Tap <kbd>LCtrl</kbd> for <kbd>Esc</kbd>, hold for <kbd>LCtrl</kbd> (remember that <kbd>LCtrl</kbd> is swapped with <kbd>CapsLock</kbd>)
-- Tap Dances that allow different functionality based on the number of key presses within the `TAPPING_TERM` of 200 ms
- - Extended space cadet shifting:
- - Two taps of <kbd>LShift</kbd> sends <kbd>{</kbd>, and three taps send <kbd>[</kbd>
- - Two taps of <kbd>RShift</kbd> sends <kbd>}</kbd>, and three taps send <kbd>]</kbd>
- - One tap of <kbd>;</kbd> will send <kbd>;</kbd>, two taps of <kbd>;</kbd> will send <kbd>:</kbd>
-- Combos that allow for different functionality based on custom chorded key presses within the `COMBO_TERM` of 20 ms
- - Press and hold <kbd>s</kbd> and <kbd>d</kbd> to momentarily activate the <kbd>[(S)uper(D)uper](#superduper-layer)</kbd> layer
- - Press and hold <kbd>k</kbd> and <kbd>l</kbd> to momentarily activate <kbd>Meh</kbd> modifier key
- - <kbd>Meh</kbd> key (<kbd>Ctrl</kbd> + <kbd>Shift</kbd> + <kbd>Alt</kbd>) is useful for binding unique hotkeys on the OS that won't collide with or override other existing hotkeys
- - Tap <kbd>CapsLock</kbd> for <kbd>CapsLock</kbd>, hold <kbd>CapsLock</kbd> to momentarily activate <kbd>Meh</kbd> modifier key while held (remember that <kbd>LCtrl</kbd> is swapped with <kbd>CapsLock</kbd>)
-- Tap/Hold actions for layer switching
- - Similar to the overloaded modifier keys
- - Tap <kbd>z</kbd> for <kbd>z</kbd>, hold <kbd>z</kbd> to momentarily activate <kbd>[Dev](#dev-layer)</kbd> layer while held
- - Tap <kbd>RGui</kbd> for <kbd>RGui</kbd>, hold <kbd>RGui</kbd> to momentarily activate <kbd>[Adjust](#adjust-layer)</kbd> layer while held
-
-```
-,---. ,---------------. ,---------------. ,---------------. ,-----------.
-|Esc| |F1 |F2 |F3 |F4 | |F5 |F6 |F7 |F8 | |F9 |F10|F11|F12| |PrS|ScL|Pau|
-`---' `---------------' `---------------' `---------------' `-----------'
-,-----------------------------------------------------------. ,-----------. ,---------------.
-| `| 1| 2| 3| 4| 5| 6| 7| 8| 9| 0| -| =| \ | |Ins|Hom|PgU| |NmL| /| *| -|
-|-----------------------------------------------------------| |-----------| |---------------|
-|Tab | Q| W| E| R| T| Y| U| I| O| P| [| ]| Bsp| |Del|End|PgD| | 7| 8| 9| |
-|-----------------------------------------------------------| `-----------' |-----------| |
-|Ctl/Esc| A| S| D| F| G| H| J| K| L|;/:| ' | Return| | 4| 5| 6| +|
-|-----------------------------------------------------------| ,---. |---------------|
-|Shift/( |Dev/Z| X| C| V| B| N| M| ,| .| /| Shift/)| | ↑ | | 1| 2| 3| |
-|-----------------------------------------------------------| ,-----------. |-----------| |
-|Meh/CapsL|Gui|Alt| Space |Alt|Adjust/Gui|App| Ctl| | ← | ↓ | → | | 0| .|Ent|
-`-----------------------------------------------------------' `-----------' `---------------'
-```
-
-Note: can't use <kbd>Hyper</kbd> key (<kbd>Ctrl</kbd> + <kbd>Shift</kbd> + <kbd>Alt</kbd> + <kbd>Gui</kbd>) instead of <kbd>Meh</kbd> reliably on Windows 10 because pressing <kbd>Hyper</kbd> opens Microsoft Office, <kbd>Hyper</kbd> + <kbd>t</kbd> opens Microsoft Teams, <kbd>Hyper</kbd> + <kbd>d</kbd> opens Microsoft OneDrive, <kbd>Hyper</kbd> + <kbd>y</kbd> Yammer, etc. And I couldn't find a clean way to disable this without needing to modify the host computer.
-
-#### 1. [A regular QWERTY layout](#regular-qwerty-layout)
-This layer is for when other people need to type on my keyboard.
-- Apply this base layer with <kbd>[Adjust](#adjust-layer)</kbd> + <kbd>q</kbd>
-- The only modification is the addition of the tap/hold action for switching back to the <kbd>[Adjust](#adjust-layer)</kbd> layer while held
- - Tap <kbd>RGui</kbd> for <kbd>RGui</kbd>, hold <kbd>RGui</kbd> to momentarily activate <kbd>[Adjust](#adjust-layer)</kbd> layer while held
-
-```
-,---. ,---------------. ,---------------. ,---------------. ,-----------.
-|Esc| |F1 |F2 |F3 |F4 | |F5 |F6 |F7 |F8 | |F9 |F10|F11|F12| |PrS|ScL|Pau|
-`---' `---------------' `---------------' `---------------' `-----------'
-,-----------------------------------------------------------. ,-----------. ,---------------.
-| `| 1| 2| 3| 4| 5| 6| 7| 8| 9| 0| -| =| Bsp| |Ins|Hom|PgU| |NmL| /| *| -|
-|-----------------------------------------------------------| |-----------| |---------------|
-|Tab | Q| W| E| R| T| Y| U| I| O| P| [| ]| \ | |Del|End|PgD| | 7| 8| 9| |
-|-----------------------------------------------------------| `-----------' |-----------| |
-|CapsL | A| S| D| F| G| H| J| K| L| ;| '| Return| | 4| 5| 6| +|
-|-----------------------------------------------------------| ,---. |---------------|
-|Shift | Z| X| C| V| B| N| M| ,| ,| /|Shift | | ↑ | | 1| 2| 3| |
-|-----------------------------------------------------------| ,-----------. |-----------| |
-|Ctl|Gui|Alt| Space |Alt|Adjust/Gui|App|Ctl| | ← | ↓ | → | | 0| .|Ent|
-`-----------------------------------------------------------' `-----------' `---------------'
-```
-
-### Intermediate Layers
-#### 2. [(S)uper(D)uper Mode](#superduper-layer)
-Inspired by [narze](https://github.com/qmk/qmk_firmware/tree/master/keyboards/planck/keymaps/narze) via [jasonrudolph](https://github.com/jasonrudolph/keyboard#super-duper-mode). It's designed to help with navigation while keeping you on the home row, or very close to it.
-
-- To activate this layer, press <kbd>s</kbd> + <kbd>d</kbd> simultaneously and hold from the base layer
- - Alternatively, hold <kbd>/</kbd> to activate the layer. This method is slower because the layer toggle uses a `TAPPING_TERM` of 200 ms but <kbd>s</kbd> + <kbd>d</kbd> uses a `COMBO_TERM` of only 20 ms (can be changed within `config.h`).
-- Use <kbd>h</kbd> / <kbd>j</kbd> / <kbd>k</kbd> / <kbd>l</kbd>
- for <kbd>←</kbd> / <kbd>↓</kbd> / <kbd>↑</kbd> / <kbd>→</kbd>, respectively
-- Use <kbd>a</kbd> for <kbd>Alt</kbd>
-- Use <kbd>f</kbd> for <kbd>Backspace</kbd>
-- Use <kbd>g</kbd> for <kbd>Ctrl</kbd>
-- Use <kbd>Space</kbd> for <kbd>Shift</kbd>
-- Use <kbd>;</kbd> for <kbd>Delete</kbd>
-- Use <kbd>i</kbd> / <kbd>o</kbd> to move to the previous/next tab
-- Use <kbd>u</kbd> / <kbd>p</kbd> to go to the first/last tab (in most apps)
-- Use <kbd>/</kbd> to toggle <kbd>[(S)uper(D)uper](#superduper-layer)</kbd> layer
-
-```
-,---. ,---------------. ,---------------. ,---------------. ,-----------.
-| | | | | | | | | | | | | | | | | | | | |
-`---' `---------------' `---------------' `---------------' `-----------'
-,-----------------------------------------------------------. ,-----------. ,---------------.
-| | | | | | | | | | | | | | | | | | | | | | | |
-|-----------------------------------------------------------| |-----------| |---------------|
-| | | | | | | |1T |T← |T→ |9T | | | | | | | | | | | | |
-|-----------------------------------------------------------| `-----------' |-----------| |
-| |Alt|[SuperDuper]|Bksp|Ctl| ← | ↓ | ↑ | → |Del| | | | | | | |
-|-----------------------------------------------------------| ,---. |---------------|
-| | | | | | | | | | |ToggleSD| | | | | | | | |
-|-----------------------------------------------------------| ,-----------. |-----------| |
-| | | | Shift | | | | | | | | | | | | |
-`-----------------------------------------------------------' `-----------' `---------------'
-```
-
-#### 3. [Dev](#dev-layer)
-This layer is for easy access to symbols commonly used during development.
-- To activate this layer, press and hold <kbd>z</kbd> from the base layer
-- Use <kbd>u</kbd> / <kbd>i</kbd> / <kbd>o</kbd> / <kbd>p</kbd>
- for <kbd>-</kbd> / <kbd>+</kbd> / <kbd>(</kbd> / <kbd>)</kbd>, respectively
-- Use <kbd>h</kbd> / <kbd>j</kbd> / <kbd>k</kbd> / <kbd>l</kbd> / <kbd>;</kbd>
- for <kbd>_</kbd> / <kbd>[</kbd> / <kbd>]</kbd> / <kbd>{</kbd> / <kbd>}</kbd>, respectively
-- Use <kbd>n</kbd> / <kbd>m</kbd> / <kbd>,</kbd> / <kbd>.</kbd> / <kbd>/</kbd>
- for <kbd>=</kbd> / <kbd>|</kbd> / <kbd><</kbd> / <kbd>></kbd> / <kbd>?</kbd>, respectively
-
-```
-,---. ,---------------. ,---------------. ,---------------. ,-----------.
-| | | | | | | | | | | | | | | | | | | | |
-`---' `---------------' `---------------' `---------------' `-----------'
-,-----------------------------------------------------------. ,-----------. ,---------------.
-| | | | | | | | | | | | | | | | | | | | | | | |
-|-----------------------------------------------------------| |-----------| |---------------|
-| | | | | | | | - | + | ( | ) | | | | | | | | | | | | |
-|-----------------------------------------------------------| `-----------' |-----------| |
-| | | | | | | _ | [ | ] | { | } | | | | | | | |
-|-----------------------------------------------------------| ,---. |---------------|
-| | | | | | | = | | | < | > | ? | | | | | | | | |
-|-----------------------------------------------------------| ,-----------. |-----------| |
-| | | | | | | | | | | | | | | | |
-`-----------------------------------------------------------' `-----------' `---------------'
-```
-
-### Top Layer
-#### 4. [Adjust](#adjust-layer)
-This layer is applied at the top so that it will override all other layers and as a result it will always be possible to change which base layer is applied as a default. It is also used for media controls.
-- To activate this layer, press and hold <kbd>RGui</kbd> from the base layer
-- Switch to [chriskopher modified QWERTY layout](#chriskopher-qwerty-layout) with <kbd>c</kbd>
-- Switch to [regular QWERTY layout](#regular-qwerty-layout) with <kbd>q</kbd>
-- Use <kbd>n</kbd> / <kbd>m</kbd> / <kbd>,</kbd> / <kbd>.</kbd> / <kbd>/</kbd>
- for <kbd>Play/Pause</kbd> / <kbd>Mute</kbd> / <kbd>Volume Down</kbd> / <kbd>Volume Up</kbd> / Toggle <kbd>[(S)uper(D)uper](#superduper-layer)</kbd> layer, respectively
-- Use <kbd>Insert</kbd> / <kbd>Home</kbd> / <kbd>Page Up</kbd>
- for <kbd>Play/Pause</kbd> / <kbd>Next Track</kbd> / <kbd>Volume Up</kbd>, respectively
-- Use <kbd>Delete</kbd> / <kbd>End</kbd> / <kbd>Page Down</kbd>
-for <kbd>Stop</kbd> / <kbd>Previous Track</kbd> / <kbd>Volume Down</kbd>, respectively
-
-```
-,---. ,---------------. ,---------------. ,---------------. ,-----------.
-| | | | | | | | | | | | | | | | | | | | |
-`---' `---------------' `---------------' `---------------' `-----------'
-,-----------------------------------------------------------. ,--------------. ,---------------.
-| | | | | | | | | | | | | | | |Play|Next|VolU| | | | | |
-|-----------------------------------------------------------| |--------------| |---------------|
-| |QWERTY| | | | | | | | | | | | | |Stop|Prev|VolD| | | | | |
-|-----------------------------------------------------------| `--------------' |-----------| |
-| | | | | | | | | | | | | | | | | | |
-|-----------------------------------------------------------| ,---. |---------------|
-| | | |CKO| | | |Play|Mute|VolD|VolU| SD| | | | | | | | |
-|-----------------------------------------------------------| ,-----------. |-----------| |
-| | | | | | | | | | | | | | | | |
-`-----------------------------------------------------------' `-----------' `---------------'
-```
-
-## Build Instructions
-To compile and flash the config onto the USB to USB converter:
-```sh
-cd /path/to/qmk_firmware
-qmk config user.keyboard=converter/usb_usb/hasu
-qmk config user.keymap=chriskopher
-qmk compile
-qmk flash
-```
-
-Alternatively:
-```sh
-cd /path/to/qmk_firmware
-qmk compile -kb converter/usb_usb/hasu -km chriskopher
-qmk flash -kb converter/usb_usb/hasu -km chriskopher
-```
-
-To modify the config:
-```sh
-cd /path/to/qmk_firmware/keyboards/converter/usb_usb/keymaps/chriskopher
-```
-and edit `keymap.c`, `config.h`, and `rules.mk`.
diff --git a/keyboards/converter/usb_usb/keymaps/chriskopher/rules.mk b/keyboards/converter/usb_usb/keymaps/chriskopher/rules.mk
deleted file mode 100644
index 643e1d013b..0000000000
--- a/keyboards/converter/usb_usb/keymaps/chriskopher/rules.mk
+++ /dev/null
@@ -1,24 +0,0 @@
-# Copyright 2020 Christopher Ko <chriskopher@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/>.
-
-COMMAND_ENABLE = no # Not being used, and can cause conflicts with space cadet shifting
-SPACE_CADET_ENABLE = no # Not using special built in space cadet keys, using custom tap dance instead
-EXTRAKEY_ENABLE = yes # Used for audio control and system control keys
-COMBO_ENABLE = yes # Used to allow chording of keys to trigger an action
-TAP_DANCE_ENABLE = yes # Used to allow multiple taps of a key to perform different actions
-
-LTO_ENABLE = yes # Reduces the compiled firmware size
-
-SRC += combo.c tap_dance.c
diff --git a/keyboards/converter/usb_usb/keymaps/chriskopher/shared_enum.h b/keyboards/converter/usb_usb/keymaps/chriskopher/shared_enum.h
deleted file mode 100644
index f83bfa3c49..0000000000
--- a/keyboards/converter/usb_usb/keymaps/chriskopher/shared_enum.h
+++ /dev/null
@@ -1,36 +0,0 @@
-/* Copyright 2020 Christopher Ko <chriskopher@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
-
-enum keyboard_layer {
- // Base layers
- _CKO,
- _QWERTY,
- // Intermediate layers
- _SUPERDUPER,
- _DEV,
- // Adjust layer at the end
- _ADJUST
-};
-
-enum tap_dance_key_event {
- // Extended space cadet shift tap dance
- ESPC_L,
- ESPC_R,
- // Semicolon-Colon tap dance
- SCLN_CLN
-};
diff --git a/keyboards/converter/usb_usb/keymaps/chriskopher/tap_dance.c b/keyboards/converter/usb_usb/keymaps/chriskopher/tap_dance.c
deleted file mode 100644
index 8600d83996..0000000000
--- a/keyboards/converter/usb_usb/keymaps/chriskopher/tap_dance.c
+++ /dev/null
@@ -1,164 +0,0 @@
-/* Copyright 2020 Christopher Ko <chriskopher@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/>.
- */
-
-#include "shared_enum.h"
-
-#include "quantum.h"
-
-enum tap_dance_state {
- SINGLE_HOLD = 1,
- SINGLE_TAP,
- DOUBLE_TAP,
- TRIPLE_TAP,
-};
-
-// Record current state of a tap dance
-static int espc_l_tap_state = 0;
-static int espc_r_tap_state = 0;
-static int scln_cln_tap_state = 0;
-
-// Watch the state of the tap dance
-int cur_dance(qk_tap_dance_state_t *state) {
- if (state->pressed) {
- return SINGLE_HOLD;
- }
- if (state->count == 1) {
- return SINGLE_TAP;
- }
- if (state->count == 2) {
- return DOUBLE_TAP;
- }
- if (state->count == 3) {
- return TRIPLE_TAP;
- }
-
- return -1;
-}
-
-// Extended Space Cadet Shift - Left ==================================
-void espc_l_finished(qk_tap_dance_state_t *state, void *user_data) {
- espc_l_tap_state = cur_dance(state);
- switch (espc_l_tap_state) {
- case SINGLE_TAP: // (
- register_code16(LSFT(KC_9));
- break;
- case DOUBLE_TAP: // {
- unregister_code16(LSFT(KC_9));
- register_code16(LSFT(KC_LBRC));
- break;
- case TRIPLE_TAP: // [
- unregister_code16(LSFT(KC_LBRC));
- register_code16(KC_LBRC);
- break;
- case SINGLE_HOLD: // LShift
- register_code16(KC_LSFT);
- break;
- }
-}
-
-void espc_l_reset(qk_tap_dance_state_t *state, void *user_data) {
- switch (espc_l_tap_state) {
- case SINGLE_TAP: // (
- unregister_code16(LSFT(KC_9));
- break;
- case DOUBLE_TAP: // {
- unregister_code16(LSFT(KC_LBRC));
- break;
- case TRIPLE_TAP: // [
- unregister_code16(KC_LBRC);
- break;
- case SINGLE_HOLD: // LShift
- unregister_code16(KC_LSFT);
- break;
- }
- espc_l_tap_state = 0;
-}
-// ====================================================================//
-
-// Extended Space Cadet Shift - Right ==================================
-void espc_r_finished(qk_tap_dance_state_t *state, void *user_data) {
- espc_r_tap_state = cur_dance(state);
- switch (espc_r_tap_state) {
- case SINGLE_TAP: // )
- register_code16(LSFT(KC_0));
- break;
- case DOUBLE_TAP: // }
- unregister_code16(LSFT(KC_0));
- register_code16(LSFT(KC_RBRC));
- break;
- case TRIPLE_TAP: // ]
- unregister_code16(LSFT(KC_RBRC));
- register_code16(KC_RBRC);
- break;
- case SINGLE_HOLD: // RShift
- register_code16(KC_RSFT);
- break;
- }
-}
-
-void espc_r_reset(qk_tap_dance_state_t *state, void *user_data) {
- switch (espc_r_tap_state) {
- case SINGLE_TAP: // )
- unregister_code16(LSFT(KC_0));
- break;
- case DOUBLE_TAP: // }
- unregister_code16(LSFT(KC_RBRC));
- break;
- case TRIPLE_TAP: // ]
- unregister_code16(KC_RBRC);
- break;
- case SINGLE_HOLD: // RShift
- unregister_code16(KC_RSFT);
- break;
- }
- espc_r_tap_state = 0;
-}
-// ====================================================================//
-
-// Semicolon - Colon ==================================================
-void scln_cln_finished(qk_tap_dance_state_t *state, void *user_data) {
- scln_cln_tap_state = cur_dance(state);
- switch (scln_cln_tap_state) {
- case SINGLE_TAP: // ;
- register_code16(KC_SCLN);
- break;
- default: // :
- register_code16(LSFT(KC_SCLN));
- break;
- }
-}
-
-void scln_cln_reset(qk_tap_dance_state_t *state, void *user_data) {
- switch (scln_cln_tap_state) {
- case SINGLE_TAP: // ;
- unregister_code16(KC_SCLN);
- break;
- default: // :
- unregister_code16(LSFT(KC_SCLN));
- break;
- }
-}
-// ====================================================================//
-
-// Associate tap dance with defined functionality
-qk_tap_dance_action_t tap_dance_actions[] = {
- // Extended space cadet shift left: Hold - Shift, One - (, Two - {, Three - [
- [ESPC_L] = ACTION_TAP_DANCE_FN_ADVANCED(NULL, espc_l_finished, espc_l_reset),
- // Extended space cadet shift right: Hold - Shift, One - ), Two - }, Three - ]
- [ESPC_R] = ACTION_TAP_DANCE_FN_ADVANCED(NULL, espc_r_finished, espc_r_reset),
- // Semicolon - Colon: One - ;, Two - :
- [SCLN_CLN] = ACTION_TAP_DANCE_FN_ADVANCED(NULL, scln_cln_finished, scln_cln_reset),
-};
diff --git a/keyboards/converter/usb_usb/keymaps/coloneljesus/config.h b/keyboards/converter/usb_usb/keymaps/coloneljesus/config.h
deleted file mode 100644
index 7fa3bf328e..0000000000
--- a/keyboards/converter/usb_usb/keymaps/coloneljesus/config.h
+++ /dev/null
@@ -1,6 +0,0 @@
-#ifndef CONFIG_USER_H
-#define CONFIG_USER_H
-
-#include "../../config.h"
-
-#endif
diff --git a/keyboards/converter/usb_usb/keymaps/narze/README.md b/keyboards/converter/usb_usb/keymaps/narze/README.md
deleted file mode 100644
index eb9dbbf60b..0000000000
--- a/keyboards/converter/usb_usb/keymaps/narze/README.md
+++ /dev/null
@@ -1,10 +0,0 @@
-# narze's layout for usb-usb converter
-
-## Key features
-- Qwerty + [Colemak](https://colemak.com) layouts, and you can type Qwerty on software-level Colemak as well. Very useful for gaming or when your friend wanna type something but don't use Colemak.
-- [(S)uper (D)uper Mode](/users/narze/readme.md)
-
-## Build instructions
-- `cd /path/to/qmk_firmware`
-- Ensure latest libraries are loaded `make git-submodule`
-- Build & flash : `make converter/usb_usb:narze:flash`
diff --git a/keyboards/converter/usb_usb/keymaps/narze/config.h b/keyboards/converter/usb_usb/keymaps/narze/config.h
deleted file mode 100644
index 9ab1637306..0000000000
--- a/keyboards/converter/usb_usb/keymaps/narze/config.h
+++ /dev/null
@@ -1,45 +0,0 @@
-#pragma once
-
-/*
- * MIDI options
- */
-
-/* enable basic MIDI features:
- - MIDI notes can be sent when in Music mode is on
-*/
-#define MIDI_BASIC
-
-/* enable advanced MIDI features:
- - MIDI notes can be added to the keymap
- - Octave shift and transpose
- - Virtual sustain, portamento, and modulation wheel
- - etc.
-*/
-//#define MIDI_ADVANCED
-
-/* override number of MIDI tone keycodes (each octave adds 12 keycodes and allocates 12 bytes) */
-//#define MIDI_TONE_KEYCODE_OCTAVES 2
-
-#undef TAPPING_TERM
-#define TAPPING_TERM 100
-
-#define COMBO_TERM 20
-#define COMBO_COUNT 1
-
-#define IGNORE_MOD_TAP_INTERRUPT
-#define PERMISSIVE_HOLD
-
-#define SUPER_DUPER_SOUND S__NOTE(_B1)
-
-#define MOUSEKEY_DELAY 100
-
-#define USB_POLLING_INTERVAL_MS 1
-
-#ifdef AUDIO_ENABLE
- #define STARTUP_SONG SONG(PLANCK_SOUND)
-
- #define DEFAULT_LAYER_SONGS { SONG(QWERTY_SOUND), \
- SONG(COLEMAK_SOUND), \
- SONG(DVORAK_SOUND) \
- }
-#endif
diff --git a/keyboards/converter/usb_usb/keymaps/narze/rules.mk b/keyboards/converter/usb_usb/keymaps/narze/rules.mk
deleted file mode 100644
index 2d982de628..0000000000
--- a/keyboards/converter/usb_usb/keymaps/narze/rules.mk
+++ /dev/null
@@ -1,2 +0,0 @@
-EXTRAKEY_ENABLE = no
-COMBO_ENABLE = yes