Remove userspace keymaps (#22544)
This commit is contained in:
parent
4908d4b1ca
commit
1ed03f498f
2738 changed files with 0 additions and 207314 deletions
|
@ -1,98 +0,0 @@
|
|||
#include QMK_KEYBOARD_H
|
||||
#include "kageurufu.h"
|
||||
#ifdef PROTOCOL_LUFA
|
||||
#include "lufa.h"
|
||||
#include "split_util.h"
|
||||
#endif
|
||||
|
||||
extern keymap_config_t keymap_config;
|
||||
extern uint8_t is_master;
|
||||
|
||||
/* Base Layout
|
||||
* ,------------------------------------------------. ,------------------------------------------------.
|
||||
* | ` | | | | | | | | | | | | | | BkSp |
|
||||
* |------+------+------+------+------+------|------| |------|------+------+------+------+------+------|
|
||||
* | Tab | | | | | | | | | | | | | | \ |
|
||||
* |------+------+------+------+------+------|------| |------|------+------+------+------+------+------|
|
||||
* | Esc | | | | | | | | | | | | | | ' |
|
||||
* |------+------+------+------+------+------+------| |------+------+------+------+------+------+------|
|
||||
* | Sft( | | | | | | | | | | | | | | Sft) |
|
||||
* |------+------+------+------+------+------+------| |------+------+------+------+------+------+------|
|
||||
* | Ctrl | Win | Win | Alt | FN | Space| RGB | | FN | FN | - | = | Down | PgUp | PgDn |
|
||||
* |------+------+------+------+------+------+------| |------+------+------+------+------+------+------|
|
||||
* | Space| Bksp | | Enter| Space|
|
||||
* `-------------' `--------=----'
|
||||
*/
|
||||
#define EXPAND_LAYOUT(...) LAYOUT(__VA_ARGS__)
|
||||
#define _BASE_LAYOUT( \
|
||||
_00, _01, _02, _03, _04, _05, _06, _07, _08, _09, \
|
||||
_10, _11, _12, _13, _14, _15, _16, _17, _18, _19, \
|
||||
_20, _21, _22, _23, _24, _25, _26, _27, _28, _29 \
|
||||
) \
|
||||
EXPAND_LAYOUT( \
|
||||
KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, RGB_MOD, KC_EQL, KC_6, KC_7, KC_8, KC_9, KC_0, KC_BSPC, \
|
||||
KC_TAB, _00, _01, _02, _03, _04, KC_LBRC, KC_RBRC, _05, _06, _07, _08, _09, KC_BSLS, \
|
||||
FN_ESC, _10, _11, _12, _13, _14, RGB_SAI, RGB_VAI, _15, _16, _17, _18, _19, KC_QUOT, \
|
||||
SC_LSPO, _20, _21, _22, _23, _24, RGB_SAD, RGB_VAD, _25, _26, _27, _28, _29, SC_RSPC, \
|
||||
KC_LCTL, KC_LGUI, KC_LGUI, KC_LALT, FN, KC_SPC, FN, FN, KC_SPC, KC_MINS, KC_EQL, KC_DOWN, KC_PGUP, KC_PGDN, \
|
||||
KC_SPC, KC_BSPC, KC_ENT, KC_SPC \
|
||||
)
|
||||
#define BASE_LAYOUT(...) _BASE_LAYOUT(__VA_ARGS__)
|
||||
|
||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
|
||||
[_QWERTY] = BASE_LAYOUT(
|
||||
_________________QWERTY_L1_________________, _________________QWERTY_R1_________________,
|
||||
_________________QWERTY_L2_________________, _________________QWERTY_R2_________________,
|
||||
_________________QWERTY_L3_________________, _________________QWERTY_R3_________________
|
||||
),
|
||||
|
||||
[_COLEMAK] = BASE_LAYOUT(
|
||||
_________________COLEMAK_L1________________, _________________COLEMAK_R1________________,
|
||||
_________________COLEMAK_L2________________, _________________COLEMAK_R2________________,
|
||||
_________________COLEMAK_L3________________, _________________COLEMAK_R3________________
|
||||
),
|
||||
|
||||
[_COLEMAK_DH] = BASE_LAYOUT(
|
||||
______________COLEMAK_MOD_DH_L1____________, ______________COLEMAK_MOD_DH_R1____________,
|
||||
______________COLEMAK_MOD_DH_L2____________, ______________COLEMAK_MOD_DH_R2____________,
|
||||
______________COLEMAK_MOD_DH_L3____________, ______________COLEMAK_MOD_DH_R3____________
|
||||
),
|
||||
|
||||
[_FN] = EXPAND_LAYOUT(
|
||||
________________FUNCTION_L1________________, _______, KC_PSCR, ________________FUNCTION_R1________________,
|
||||
________________FUNCTION_L2________________, _______, _______, ________________FUNCTION_R2________________,
|
||||
________________FUNCTION_L3________________, _______, _______, ________________FUNCTION_R3________________,
|
||||
________________FUNCTION_L4________________, _______, _______, ________________FUNCTION_R4________________,
|
||||
________________FUNCTION_L5________________, ADJ, ADJ, ________________FUNCTION_R5________________,
|
||||
_______, KC_DEL, _______, _______
|
||||
),
|
||||
|
||||
[_ADJ] = EXPAND_LAYOUT(
|
||||
_________________ADJUST_L1_________________, _______, _______, _________________ADJUST_R1_________________,
|
||||
_________________ADJUST_L2_________________, _______, _______, _________________ADJUST_R2_________________,
|
||||
_________________ADJUST_L3_________________, _______, _______, _________________ADJUST_R3_________________,
|
||||
_________________ADJUST_L4_________________, _______, _______, _________________ADJUST_R4_________________,
|
||||
_________________ADJUST_L5_________________, _______, _______, _________________ADJUST_R5_________________,
|
||||
_______, _______, _______, _______
|
||||
)
|
||||
};
|
||||
|
||||
#ifdef ENCODER_ENABLE
|
||||
bool encoder_update_user(uint8_t index, bool clockwise) {
|
||||
if (index == 0) { /* First encoder */
|
||||
if (clockwise) {
|
||||
tap_code(KC_VOLU);
|
||||
} else {
|
||||
tap_code(KC_VOLD);
|
||||
}
|
||||
} else if (index == 1) { /* Second encoder*/
|
||||
if (clockwise) {
|
||||
tap_code(KC_VOLU);
|
||||
} else {
|
||||
tap_code(KC_VOLD);
|
||||
}
|
||||
}
|
||||
return true;
|
||||
}
|
||||
#endif
|
|
@ -1,19 +0,0 @@
|
|||
# Overridden build options from rev1 & rev2
|
||||
|
||||
# Debug Options
|
||||
CONSOLE_ENABLE = yes # Console for debug(+400)
|
||||
COMMAND_ENABLE = yes # Commands for debug and configuration
|
||||
|
||||
# RGB Options
|
||||
RGBLIGHT_ENABLE = no # Enable global lighting effects. Do not enable with RGB Matrix
|
||||
LED_MIRRORED = no # Mirror LEDs across halves (enable DIP 1 on slave, and DIP 2 and 3 on master)
|
||||
RGB_MATRIX_ENABLE = yes # Enable per-key coordinate based RGB effects. Do not enable with RGBlight
|
||||
|
||||
# Userspace implements their own LTO
|
||||
LTO_ENABLE = no
|
||||
|
||||
|
||||
|
||||
# Do not edit past here
|
||||
|
||||
include keyboards/$(KEYBOARD)/post_rules.mk
|
|
@ -1,33 +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
|
||||
|
||||
// Xulkal custom stuff
|
||||
#if KEYBOARD_rgbkb_sol_rev2
|
||||
#define OLED_90ROTATION
|
||||
#define RGB_MATRIX_TOG_LAYERS
|
||||
#define RGB_MATRIX_HUE_STEP 8
|
||||
#define RGB_MATRIX_SAT_STEP 8
|
||||
#define RGB_MATRIX_VAL_STEP 8
|
||||
#define RGB_MATRIX_SPD_STEP 8
|
||||
#endif
|
||||
|
||||
#define ENCODER_RESOLUTION 2
|
|
@ -1,78 +0,0 @@
|
|||
#include QMK_KEYBOARD_H
|
||||
#include "xulkal.h"
|
||||
|
||||
#ifdef PROTOCOL_LUFA
|
||||
#include "lufa.h"
|
||||
#include "split_util.h"
|
||||
#endif
|
||||
|
||||
#define EXPAND_LAYOUT(...) LAYOUT(__VA_ARGS__)
|
||||
|
||||
// Define your non-alpha grouping in this define's LAYOUT, and all your BASE_LAYERS will share the same mod/macro columns
|
||||
|
||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
/* Qwerty Layout
|
||||
* ,------------------------------------------------. ,------------------------------------------------.
|
||||
* | GESC | 1 | 2 | 3 | 4 | 5 | - | | = | 6 | 7 | 8 | 9 | 0 | BkSp |
|
||||
* |------+------+------+------+------+------|------| |------|------+------+------+------+------+------|
|
||||
* | Tab | Q | W | E | R | T | [ | | ] | Y | U | I | O | P | \ |
|
||||
* |------+------+------+------+------+------|------| |------|------+------+------+------+------+------|
|
||||
* |FN(CAPS)| A | S | D | F | G | ` | | ' | H | J | K | L | ; | Enter|
|
||||
* |------+------+------+------+------+------+------| |------+------+------+------+------+------+------|
|
||||
* | Sft[ | Z | X | C | V | B | RGB | |RGBRST| N | M | , | . | / | Sft] |
|
||||
* |------+------+------+------+------+------+------| |------+------+------+------+------+------+------|
|
||||
* | Ctl- | Win | LOWER| RAISE| Alt | Space| ENC1 | | ENC2 | Space| Left | Up | Down | Right| Ctl= |
|
||||
* |------+------+------+------+------+------+------| |------+------+------+------+------+------+------'
|
||||
* | Space| DEL | | Enter| Space|
|
||||
* `-------------' `-------------'
|
||||
*/
|
||||
[_QWERTY] = EXPAND_LAYOUT(
|
||||
_________________QWERTY_L1_________________, KC_MINS, KC_EQL, _________________QWERTY_R1_________________,
|
||||
_________________QWERTY_L2_________________, KC_LBRC, KC_RBRC, _________________QWERTY_R2_________________,
|
||||
_________________QWERTY_L3_________________, KC_GRV, KC_QUOT, _________________QWERTY_R3_________________,
|
||||
_________________QWERTY_L4_________________, RGB_TOG, RGBRST, _________________QWERTY_R4_________________,
|
||||
_________________QWERTY_L5_________________, KC_ENC1, KC_ENC2, _________________QWERTY_R5_________________,
|
||||
KC_SPC, TD_DEL, KC_ENT, KC_SPC
|
||||
),
|
||||
|
||||
#ifndef GAMELAYER_DISABLE
|
||||
[_GAME] = EXPAND_LAYOUT(
|
||||
___________________GAME_L1_________________, KC_MINS, KC_EQL, ___________________GAME_R1_________________,
|
||||
___________________GAME_L2_________________, KC_LBRC, KC_RBRC, ___________________GAME_R2_________________,
|
||||
___________________GAME_L3_________________, KC_GRV, KC_QUOT, ___________________GAME_R3_________________,
|
||||
___________________GAME_L4_________________, RGB_TOG, RGBRST, ___________________GAME_R4_________________,
|
||||
___________________GAME_L5_________________, KC_ENC1, KC_ENC2, ___________________GAME_R5_________________,
|
||||
KC_SPC, KC_DEL, KC_ENT, KC_SPC
|
||||
),
|
||||
#endif
|
||||
|
||||
[_LOWER] = EXPAND_LAYOUT(
|
||||
__________________LOWER_L1_________________, KC_PMNS, KC_PPLS, __________________LOWER_R1_________________,
|
||||
__________________LOWER_L2_________________, _______, _______, __________________LOWER_R2_________________,
|
||||
__________________LOWER_L3_________________, _______, _______, __________________LOWER_R3_________________,
|
||||
__________________LOWER_L4_________________, _______, _______, __________________LOWER_R4_________________,
|
||||
__________________LOWER_L5_________________, _______, _______, __________________LOWER_R5_________________,
|
||||
_______, _______, _______, _______
|
||||
),
|
||||
|
||||
[_RAISE] = EXPAND_LAYOUT(
|
||||
__________________RAISE_L1_________________, _______, _______, __________________RAISE_R1_________________,
|
||||
__________________RAISE_L2_________________, _______, _______, __________________RAISE_R2_________________,
|
||||
__________________RAISE_L3_________________, _______, _______, __________________RAISE_R3_________________,
|
||||
__________________RAISE_L4_________________, _______, _______, __________________RAISE_R4_________________,
|
||||
__________________RAISE_L5_________________, _______, _______, __________________RAISE_R5_________________,
|
||||
_______, _______, _______, _______
|
||||
),
|
||||
|
||||
#ifdef TRILAYER_ENABLED
|
||||
[_ADJUST] = EXPAND_LAYOUT(
|
||||
_________________ADJUST_L1_________________, _______, _______, _________________ADJUST_R1_________________,
|
||||
_________________ADJUST_L2_________________, _______, _______, _________________ADJUST_R2_________________,
|
||||
_________________ADJUST_L3_________________, _______, _______, _________________ADJUST_R3_________________,
|
||||
_________________ADJUST_L4_________________, _______, _______, _________________ADJUST_R4_________________,
|
||||
_________________ADJUST_L5_________________, _______, _______, _________________ADJUST_R5_________________,
|
||||
_______, _______, _______, _______
|
||||
),
|
||||
#endif
|
||||
};
|
||||
|
|
@ -1,24 +0,0 @@
|
|||
# Overridden build options from rev1 & rev2
|
||||
|
||||
# RGB Options
|
||||
RGBLIGHT_ENABLE = no # Enable global lighting effects. Do not enable with RGB Matrix
|
||||
LED_MIRRORED = no # Mirror LEDs across halves (enable DIP 1 on slave, and DIP 2 and 3 on master)
|
||||
RGB_MATRIX_ENABLE = yes # Enable per-key coordinate based RGB effects. Do not enable with RGBlight
|
||||
FULLHAND_ENABLE = no # Enables the additional 24 Full Hand LEDs
|
||||
SF_ENABLE = no # Enables the additional 38 Starfighter LEDs
|
||||
|
||||
# Misc
|
||||
OLED_ENABLE = yes # Enable the OLED Driver
|
||||
|
||||
# Not using the encoder for rev1
|
||||
ifeq ($(strip $(KEYBOARD)), rgbkb/sol/rev1)
|
||||
ENCODER_ENABLE = no
|
||||
RGB_OLED_MENU = no
|
||||
else
|
||||
ENCODER_ENABLE = yes
|
||||
RGB_OLED_MENU = 0
|
||||
endif
|
||||
|
||||
# Do not edit past here
|
||||
|
||||
include keyboards/$(KEYBOARD)/post_rules.mk
|
Loading…
Add table
Add a link
Reference in a new issue