1
0
Fork 0

Remove userspace keymaps (#22544)

This commit is contained in:
Joel Challis 2023-11-26 18:36:45 +00:00 committed by GitHub
parent 4908d4b1ca
commit 1ed03f498f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2738 changed files with 0 additions and 207314 deletions

View file

@ -1,28 +0,0 @@
/*
Copyright (c) 2020 Fred Silberberg
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
*/
#pragma once
#define MASTER_LEFT
#undef TAPPING_TERM
#define TAPPING_TERM 200

View file

@ -1,79 +0,0 @@
/*
Copyright (c) 2020 Fred Silberberg
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
*/
#include QMK_KEYBOARD_H
#include "333fred.h"
extern keymap_config_t keymap_config;
// Use an expanded macro with VA_ARGS to ensure that the common
// rows get expanded out before getting passed to the LAYOUT
// macro.
#define LAYOUT_wrapper(...) LAYOUT(__VA_ARGS__)
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
[BASE] = LAYOUT_wrapper(
ROW5_LEFT_BASE, KC_F5, KC_F6, ROW5_RGHT_BASE,
ROW4_LEFT_BASE, TG(GAME), TG(GAME_ARROW), ROW4_RGHT_BASE,
ROW3_LEFT_BASE, KC_LGUI, KC_BSPC, ROW3_RGHT_BASE,
ROW2_LEFT_BASE, TD(TD_COPY_PASTE), KC_UP , ROW2_RGHT_BASE,
ROW1_LEFT_BASE, KC_BSPC, TD(TD_SYM_VIM), KC_DEL, KC_ENT, KC_SPC , KC_DOWN, ROW1_RGHT_BASE
),
[SYMB] = LAYOUT_wrapper(
ROW5_LEFT_SYMB, _______, _______, ROW5_RGHT_SYMB,
ROW4_LEFT_SYMB, PSCREEN_APP, _______, ROW4_RGHT_SYMB,
ROW3_LEFT_SYMB, KC_PSCR, KC_VOLU, ROW3_RGHT_SYMB,
ROW2_LEFT_SYMB, _______, KC_VOLD, ROW2_RGHT_SYMB,
ROW1_LEFT_SYMB, _______, _______, _______, KC_MPRV, KC_MPLY, KC_MNXT, ROW1_RGHT_SYMB
),
[VIM] = LAYOUT_wrapper(
ROW5_LEFT_VIM, _______, _______, ROW5_RGHT_VIM,
ROW4_LEFT_VIM, _______, _______, ROW4_RGHT_VIM,
ROW3_LEFT_VIM, _______, _______, ROW3_RGHT_VIM,
ROW2_LEFT_VIM, _______, _______, ROW2_RGHT_VIM,
ROW1_LEFT_VIM, _______, _______, _______, _______, _______, _______, ROW1_RGHT_VIM
),
[GAME] = LAYOUT_wrapper(
KC_ESC, SIX_TRNS, _______, SIX_TRNS,
SIX_TRNS, _______, _______, SIX_TRNS,
KC_LCTL, FOUR_TRNS, _______, KC_F6, _______, SIX_TRNS,
KC_LSFT, KC_Z, FOUR_TRNS, KC_F5, _______, SIX_TRNS,
KC_ENT, _______, QK_LOCK, KC_BSPC, KC_LALT, KC_SPC, OSM(SYMB), _______, SIX_TRNS
),
[GAME_ARROW] = LAYOUT_wrapper(
KC_ESC, SIX_TRNS, _______, SIX_TRNS,
_______, _______, KC_UP, _______, _______, _______, _______, _______, SIX_TRNS,
KC_LCTL, KC_LEFT, KC_DOWN, KC_RGHT, _______, _______, KC_F6, _______, SIX_TRNS,
KC_LSFT, KC_Z, FOUR_TRNS, KC_F5, _______, SIX_TRNS,
KC_ENT, _______, QK_LOCK, KC_BSPC, KC_LALT, KC_SPC, OSM(SYMB), _______, SIX_TRNS
)
};
bool process_record_user(uint16_t keycode, keyrecord_t *record) {
tap_dance_process_keycode(keycode);
return !try_handle_macro(keycode, record);
}

View file

@ -1,5 +0,0 @@
BACKLIGHT_ENABLE = no
RGBLIGHT_ENABLE = yes
AUDIO_ENABLE = no
KEY_LOCK_ENABLE = yes
CONSOLE_ENABLE = no

View file

@ -1,62 +0,0 @@
/*
This is the c configuration file for the keymap
Copyright 2012 Jun Wako <wakojun@gmail.com>
Copyright 2015 Jack Humbert
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#pragma once
/* Select hand configuration */
//#define MASTER_LEFT
#define MASTER_RIGHT /* Cable connected to the right split keyboard */
// #define EE_HANDS
#define AUTO_SHIFT_TIMEOUT 210
#define TAPPING_TERM_PER_KEY
// https://beta.docs.qmk.fm/features/feature_leader_key
//#define LEADER_PER_KEY_TIMING
//#define LEADER_TIMEOUT 280
// https://docs.qmk.fm/#/feature_mouse_keys
#define MK_3_SPEED // Constant Speed Mode
#define MOUSEKEY_DELAY 300
#define MOUSEKEY_INTERVAL 16
#define MOUSEKEY_MAX_SPEED 3
#define MOUSEKEY_TIME_TO_MAX 60
#define MK_C_OFFSET_0 4
#define MK_C_INTERVAL_0 28
#define MK_C_OFFSET_1 8
#define MK_C_INTERVAL_1 16
#define MK_C_OFFSET_2 20
#define MK_C_INTERVAL_2 16
#define MOUSEKEY_WHEEL_MAX_SPEED 4
#define MOUSEKEY_WHEEL_TIME_TO_MAX 40
#define MK_W_OFFSET_0 1
#define MK_W_INTERVAL_0 120
#define MK_W_OFFSET_1 1
#define MK_W_INTERVAL_1 100
#define MK_W_OFFSET_2 1
#define MK_W_INTERVAL_2 60
//#define STARTUP_RESET_EEPROM // EMERGENCY

View file

@ -1,157 +0,0 @@
#include QMK_KEYBOARD_H
#include "yet-another-developer.h"
#ifndef UNICODE_ENABLE
# define UC(x) KC_NO
#endif
extern keymap_config_t keymap_config;
#define EISU LALT(KC_GRV)
#define LAYOUT_ergodash_pretty_wrapper(...) LAYOUT_ergodash_pretty(__VA_ARGS__)
/* Keymap: BASE layer
*
* ,----------------------------------------------------. ,----------------------------------------------------.
* | ESC | 1 | 2 | 3 | 4 | 5 | [ | | ] | 6 | 7 | 8 | 9 | 0 | Pscree |
* |--------+--------+------+------+------+-------------| |------+------+------+------+------+--------+--------|
* | ` | K01 | K02 | K03 | K04 | K05 | - | | = | K06 | K07 | K08 | K09 | K0A | \ |
* |--------+--------+------+------+------+------|------| |------|------+------+------+------+--------+--------|
* | Tab | K11 | K12 | K13 | K14 | K15 | { | | } | K16 | K17 | K18 | K19 | K1A | " |
* |--------+--------+------+------+------+------|------' `------|------+------+------+------+--------+--------|
* | LShift | K21 | K22 | K23 | K24 | K25 | | K26 | K27 | K28 | K29 | K2A | RShift |
* |--------+--------+------+------+------+------' `------+------+------+------+--------+--------|
* | LCtrl | GUI | Alt | Alt | | LEFT | DOWN | UP | RIGHT |
* `-------------------------------' `-------------------------------'
* ,--------------. ,--------------.
* | Lower| | | | Raise |
* ,-------| / | Del | | Bksp + / +-------.
* |CMD/Spc| Space| | | | Enter |CMD/Spc|
* `----------------------' `----------------------'
*/
#define LAYOUT_ergodash_pretty_base( \
K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, \
K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, \
K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A \
) \
LAYOUT_ergodash_pretty_wrapper( \
KC_ESC, ________________NUMBER_LEFT________________, KC_LBRC, KC_RBRC, ________________NUMBER_RIGHT_______________, KC_PSCR, \
KC_GRV, K01, K02, K03, K04, K05, KC_MINS, KC_EQL, K06, K07, K08, K09, K0A, KC_BSLS, \
KC_TAB, K11, K12, K13, K14, K15, KC_LCBR, KC_RCBR, K16, K17, K18, K19, K1A, KC_QUOT, \
OS_LSFT, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, OS_RSFT, \
KC_LCTL, KC_LGUI, KC_LALT, KC_LALT, KC_LEFT, KC_DOWN, KC_UP, KC_RIGHT, \
LT(_LOWER, KC_SPC), LT(_RAISE, KC_ENT), \
OS_LGUI,LT(_LOWER, KC_SPC),KC_DEL, KC_BSPC, LT(_RAISE, KC_ENT), OS_RGUI \
)
#define LAYOUT_ergodash_pretty_base_wrapper(...) LAYOUT_ergodash_pretty_base(__VA_ARGS__)
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
[_QWERTY] = LAYOUT_ergodash_pretty_base_wrapper(
_________________QWERTY_L1_________________, _________________QWERTY_R1_________________,
_________________QWERTY_L2_________________, _________________QWERTY_R2_________________,
_________________QWERTY_L3_________________, _________________QWERTY_R3_________________
),
/* Keymap: COLEMAK layer
*
* ,----------------------------------------------------. ,----------------------------------------------------.
* | ESC | 1 | 2 | 3 | 4 | 5 | [ | | ] | 6 | 7 | 8 | 9 | 0 | - |
* |--------+--------+------+------+------+-------------| |------+------+------+------+------+--------+--------|
* | ` | Q | W | F | P | G | - | | = | J | L | U | Y | ; | \ |
* |--------+--------+------+------+------+------|------| |------|------+------+------+------+--------+--------|
* | Tab | A | R | S | T | D | Del | | Bksp | H | N | E | I | O | ' |
* |--------+--------+------+------+------+------|------' `------|------+------+------+------+--------+--------|
* | LShift | Z | X | C | V | B | | K | M | , < | . > | / | RShift |
* |--------+--------+------+------+------+------' `------+------+------+------+--------+--------|
* | Ctrl | GUI | Alt | EISU | | LEFT | DOWN | UP | RIGHT |
* `-------------------------------' `-------------------------------'
* ,--------------. ,--------------.
* | Lower| | | | Raise |
* ,-------| / | Del | | Bksp + / +-------.
* |CMD/Spc| Space| | | | Enter |CMD/Spc|
* `----------------------' `----------------------'
*/
// If it accepts an argument (i.e, is a function), it doesn't need KC_.
// Otherwise, it needs KC_*
[_COLEMAK] = LAYOUT_ergodash_pretty_base_wrapper(
_________________COLEMAK_L1________________, _________________COLEMAK_R1________________,
_________________COLEMAK_L2________________, _________________COLEMAK_R2________________,
_________________COLEMAK_L3________________, _________________COLEMAK_R3________________
),
[_DVORAK] = LAYOUT_ergodash_pretty_base_wrapper(
_________________DVORAK_L1_________________, _________________DVORAK_R1_________________,
_________________DVORAK_L2_________________, _________________DVORAK_R2_________________,
_________________DVORAK_L3_________________, _________________DVORAK_R3_________________
),
[_WORKMAN] = LAYOUT_ergodash_pretty_base_wrapper(
_________________WORKMAN_L1________________, _________________WORKMAN_R1________________,
_________________WORKMAN_L2________________, _________________WORKMAN_R2________________,
_________________WORKMAN_L3________________, _________________WORKMAN_R3________________
),
#ifdef UNICODEMAP_ENABLE
[_UNICODE] = LAYOUT_ergodash_pretty_base_wrapper(
_______________UNICODE_L1__________________, _______________UNICODE_R1__________________,
_______________UNICODE_L2__________________, _______________UNICODE_R2__________________,
_______________UNICODE_L3__________________, _______________UNICODE_R3__________________
),
#endif
[_LOWER] = LAYOUT_ergodash_pretty_wrapper(
KC_F11, _________________FUNC_LEFT_________________, KC_RST , KC_RST , _________________FUNC_RIGHT________________, KC_F12,
KC_TILD, _________________LOWER_L1__________________, _______, _______, _________________LOWER_R1__________________, KC_PIPE,
_______, _________________LOWER_L2__________________, _______, _______, _________________LOWER_R2__________________, KC_DQUO,
_______, _________________LOWER_L3__________________, _________________LOWER_R3__________________, KC_PSCR,
_______, _______, _______, _______, _______, _______, _______, KC_PAUS,
_______, _______,
_______, _______, _______, _______, _______, _______
),
[_RAISE] = LAYOUT_ergodash_pretty_wrapper(
KC_F12, _________________FUNC_LEFT_________________, KC_RST, KC_RST , _________________FUNC_RIGHT________________, KC_F11,
KC_GRV, _________________RAISE_L1__________________, _______, _______, _________________RAISE_R1__________________, KC_BSLS,
_______, _________________RAISE_L2__________________, _______, _______, _________________RAISE_R2__________________, KC_QUOT,
_______, _________________RAISE_L3__________________, _________________RAISE_R3__________________, KC_PSCR,
_______, _______, _______, _______, KC_HOME, KC_PGDN, KC_PGUP, KC_END,
_______, _______,
_______, _______, _______, _______, _______, _______
),
[_ADJUST] = LAYOUT_ergodash_pretty_wrapper(
KC_MAKE, _______, _______, _______, _______, _______, _______, KC_NUKE, _______, _______, _______, _______, _______, KC_RST,
VRSN, _________________ADJUST_L1_________________, _______, _______, _________________ADJUST_R1_________________, EE_CLR,
_______, _________________ADJUST_L2_________________, _______, _______, _________________ADJUST_R2_________________, _______,
_______, _________________ADJUST_L3_________________, _________________ADJUST_R3_________________, _______,
_______, _______, _______, _______, _______, _______, _______, _______,
_______, _______,
_______, _______, _______, _______, _______, _______
),
};
#ifdef AUDIO_ENABLE
float tone_qwerty[][2] = SONG(QWERTY_SOUND);
#endif
void persistent_default_layer_set(uint16_t default_layer) {
eeconfig_update_default_layer(default_layer);
default_layer_set(default_layer);
}
bool process_record_keymap(uint16_t keycode, keyrecord_t *record) {
return true;
}
void matrix_init_keymap(void) {
#ifdef STARTUP_RESET_EEPROM
eeconfig_init();
#endif
}
//

View file

@ -1,23 +0,0 @@
BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite
# Device
AUDIO_ENABLE = no
RGBLIGHT_ENABLE = no
BACKLIGHT_ENABLE = no
INDICATOR_LIGHTS = no
# QMK Features
AUTO_SHIFT_ENABLE = no
MOUSEKEY_ENABLE = no
CONSOLE_ENABLE = no # Console for debug(+400)
COMMAND_ENABLE = no # Commands for debug and configuration
LEADER_ENABLE = yes # default is yes
TAP_DANCE_ENABLE = no #(+1254)
UNICODE_ENABLE = no #(+1134)
UNICODEMAP_ENABLE = no
NKRO_ENABLE = no
MACROS_ENABLED = no
# User Defined Features
NO_SECRETS = no