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,34 +0,0 @@
/*
This is the c configuration file for the keymap
Copyright 2012 Jun Wako <wakojun@gmail.com>
Copyright 2015 Jack Humbert
Copyright 2017 Art Ortenburger
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
/* key combination for magic key command */
#undef IS_COMMAND
#define IS_COMMAND() ( \
get_mods() == (MOD_BIT(KC_LSFT) | MOD_BIT(KC_LALT)) \
)
#ifdef RGBLIGHT_ENABLE
# define WS2812_DI_PIN D0
# define RGBLED_NUM 4
#endif // !RGBLIGHT_ENABLE

View file

@ -1,131 +0,0 @@
/*
This is the keymap for the keyboard
Copyright 2012 Jun Wako <wakojun@gmail.com>
Copyright 2015 Jack Humbert
Copyright 2017 Art Ortenburger
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 "kuchosauronad0.h"
#ifdef RGBLIGHT_ENABLE
extern rgblight_config_t rgblight_config;
#endif
#ifdef INDICATOR_LIGHTS
extern userspace_config_t userspace_config;
uint8_t last_mod;
uint8_t last_led;
uint8_t last_osm;
#endif
#define LAYOUT_collide39_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_wrapper( \
MT(MOD_LALT,KC_TAB), K01, K02, K03, K04, K05, LT(RAISE,KC_PGUP), K06, K07, K08, K09, K0A, KC_BSPC, \
SFT_T(KC_ESC), K11, K12, K13, K14, K15, LT(LOWER,KC_PGDN), K16, K17, K18, K19, K1A, SFT_T(KC_ENT), \
MT(MOD_LCTL,KC_DEL), K21, K22, K23, K24, K25, KC_SPACE, K26, K27, K28, K29, K2A, QK_LEAD \
)
/*
* ,------. ,----------------------------------------------------------------------------. ,------.
* |ALTTAB| | Q | W | E | R | T |RSE/PU| Y | U | I | O | P | | BSPC |
* |------| |------+------+------+------+------+------+------+------+------+------+------+ |------|
* |SF/ESC| | A | S | D | F | G |LWR/PD| H | J | K | L | ; | | ENTER|
* |------| |------+------+------+------+------+------+------+------+------+------+------+ |------|
* |CTLDEL| | Z | X | C | V | B |SPACE | N | M | , | . | / | |LEADER|
* `------' `----------------------------------------------------------------------------' `------'
*/
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
[_QWERTY] = LAYOUT_collide39_base_wrapper(
_________________QWERTY_L1_________________, _________________QWERTY_R1_________________,
_________________QWERTY_L2_________________, _________________QWERTY_R2_________________,
_________________QWERTY_L3_________________, _________________QWERTY_R3_________________
),
[_COLEMAK] = LAYOUT_collide39_base_wrapper(
_________________COLEMAK_L1________________, _________________COLEMAK_R1________________,
_________________COLEMAK_L2________________, _________________COLEMAK_R2________________,
_________________COLEMAK_L3________________, _________________COLEMAK_R3________________
),
[_DVORAK] = LAYOUT_collide39_base_wrapper(
_________________DVORAK_L1_________________, _________________DVORAK_R1_________________,
_________________DVORAK_L2_________________, _________________DVORAK_R2_________________,
_________________DVORAK_L3_________________, _________________DVORAK_R3_________________
),
#ifdef UNICODEMAP_ENABLE
[_UNICODE] = LAYOUT_collide39_base_wrapper(
_______________UNICODE_L1__________________, _______________UNICODE_R1__________________,
_______________UNICODE_L2__________________, _______________UNICODE_R2__________________,
_______________UNICODE_L3__________________, _______________UNICODE_R3__________________
),
#endif
[_WORKMAN] = LAYOUT_collide39_base_wrapper(
_________________RGB_UP____________________, _________________RGB_UP____________________,
_________________RGB_CENTER________________, _________________RGB_CENTER________________,
_________________RGB_DOWN__________________, _________________RGB_DOWN__________________
),
[_PLOVER] = LAYOUT_wrapper(
KC_1, _________________PLOVER_L1_________________, _______, _________________PLOVER_R1_________________, KC_1,
KC_NO, _________________PLOVER_L2_________________, _______, _________________PLOVER_R2_________________, KC_NO,
KC_NO, _________________PLOVER_L3_________________, _______, _________________PLOVER_R3_________________, _______
),
[_MODS] = LAYOUT_wrapper(
KC_LALT, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_RALT,
KC_LCTL, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_RCTL,
KC_LSFT, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______
),
[_LOWER] = LAYOUT_wrapper(
KC_TILD, _________________LOWER_L1__________________, _______, _________________LOWER_R1__________________, KC_BSPC,
KC_F11, _________________LOWER_L2__________________, _______, _________________LOWER_R2__________________, KC_PIPE,
KC_F12, _________________LOWER_L3__________________, _______, _________________LOWER_R3__________________, _______
),
[_RAISE] = LAYOUT_wrapper(
KC_GRV, _________________RAISE_L1__________________, _______, _________________RAISE_R1__________________, KC_BSPC,
_______, _________________RAISE_L2__________________, _______, _________________RAISE_R2__________________, KC_BSLS,
_______, _________________RAISE_L3__________________, _______, _________________RAISE_R3__________________, _______
),
[_ADJUST] = LAYOUT_wrapper(
KC_MAKE, _________________ADJUST_L1_________________, _______, _________________ADJUST_R1_________________, KC_RESET,
VRSN, _________________ADJUST_L2_________________, _______, _________________ADJUST_R2_________________, EE_CLR,
DB_TOGG, _________________ADJUST_L3_________________, _______, _________________ADJUST_R3_________________, _______
)
};
void matrix_init_keymap(void) {
#ifndef CONVERT_TO_PROTON_C
setPinOutput(D5);
writePinHigh(D5);
setPinOutput(B0);
writePinHigh(B0);
#endif
}

View file

@ -1,10 +0,0 @@
# Personal keymap for the collide39
## Features:
- leader key
- combos
- tap dance
- rgb backlight for the space key using a chameleon 4x WS28xx leds
#

View file

@ -1,20 +0,0 @@
BOOTLOADER = caterina
BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite
MOUSEKEY_ENABLE = no # Mouse keys(+4700)
EXTRAKEY_ENABLE = yes # Audio control and System control(+450)
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)
COMBO_ENABLE = yes
UNICODE_ENABLE = no #(+1134)
UNICODEMAP_ENABLE = yes
RGBLIGHT_ENABLE = yes
AUDIO_ENABLE = no
NKRO_ENABLE = yes
INDICATOR_LIGHTS = yes
MACROS_ENABLED = no
RGBLIGHT_STARTUP_ANIMATION = yes
NO_SECRETS = no

View file

@ -1,30 +0,0 @@
/* Copyright 2020 Brandon Schlack
*
* 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
/* Underlight Configuration */
#undef WS2812_DI_PIN
#define WS2812_DI_PIN F4
#undef RGBLED_NUM
#define RGBLED_NUM 2 // Number of LEDs
#define RGBLIGHT_EFFECT_BREATHING // Only have Breathing Animation
#define RGBLIGHT_HUE_STEP 10
#define RGBLIGHT_SAT_STEP 17
#define RGBLIGHT_VAL_STEP 17
/* Mouse Keys Configuration */
#define MK_3_SPEED
#define MK_W_INTERVAL_UNMOD 20

View file

@ -1,213 +0,0 @@
/* Copyright 2020 Brandon Schlack
*
* 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 "brandonschlack.h"
/**
* Layer Names
*/
#define _REEDER _BASE
enum bdn9_layers {
_MEDIA = KEYMAP_LAYERS,
_NAVI,
_KARABINER
};
/**
* Keycodes & Macros
*/
#define DF_REDR DF(_REEDER) // Set Default Layer to Reeder shortcuts
#define DF_MEDA DF(_MEDIA) // Set Default Layer to Media controls
#define DF_NAVI DF(_NAVI) // Set Default Layer to Navigation shortcuts
#define DF_KBNR DF(_KARABINER) // Set Default Layer to Basic Macro keys
// Tap Dances
enum launchpad_dances {
TD_SHLD_LGHT = 0,
TD_SHLD_ADJT,
TD_REDR_H
};
//Tap Dance Definitions
tap_dance_action_t tap_dance_actions[] = {
[TD_SHLD_LGHT] = ACTION_TAP_DANCE_TRIGGER_LAYER(SINGLE_HOLD, _LIGHT),
[TD_SHLD_ADJT] = ACTION_TAP_DANCE_TRIGGER_LAYER(SINGLE_HOLD, _ADJUST),
[TD_REDR_H] = ACTION_TAP_DANCE_DOUBLE(KC_H, KC_R)
};
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
/* Reeder
*
* CmdTab View
*
* PrvSubPrvItm
*
* NxtSubNxtItm
*
* Clr Sync
*
*/
[_REEDER] = LAYOUT(
CMD_TAB, TD(TD_REDR_H),
KC_P, KC_K,
KC_N, KC_J,
TD(TD_SHLD_LGHT), TD(TD_SHLD_ADJT)
),
/* Media
*
* Mute Play
*
* Vol+ PrvTrk
*
* Vol- NxtTrk
*
* Spce Plyr
*
*/
[_MEDIA] = LAYOUT(
KC_MUTE, KC_MPLY,
KC_VOLU, KC_MNXT,
KC_VOLD, KC_MPRV,
TD(TD_SHLD_LGHT), TD(TD_SHLD_ADJT)
),
/* Navigation
*
* PTab NTab
*
* SclL SclU
*
* SclR SclD
*
* LstTabClsTab
*
*/
[_NAVI] = LAYOUT(
PRV_TAB, NXT_TAB,
MC_WH_L, MC_WH_U,
MC_WH_R, MC_WH_D,
TD(TD_SHLD_LGHT), TD(TD_SHLD_ADJT)
),
/* Macro
*
* 1 2
*
* 3 4
*
* 5 6
*
* 7 8
*
*/
[_KARABINER] = LAYOUT(
KC_P1, KC_P2,
KC_P3, KC_P4,
KC_P5, KC_P6,
TD(TD_SHLD_LGHT), TD(TD_SHLD_ADJT)
),
/* Lights
*
* THM+ HUE+
*
* SAT- SAT+
*
* VAL- VAL+
*
* XXXX Mde+
*
*/
[_LIGHT] = LAYOUT(
RGB_THM, RGB_HUI,
RGB_SAD, RGB_SAI,
RGB_VAD, RGB_VAI,
XXXXXXX, RGB_MOD
),
/* Adjust
*
* Make Rset
*
* Redr Meda
*
* Navi Mcro
*
* Lght XXXX
*
*/
[_ADJUST] = LAYOUT(
QM_MAKE, QK_BOOT,
DF_REDR, DF_MEDA,
DF_NAVI, DF_KBNR,
TG_LGHT, XXXXXXX
)
};
void matrix_init_keymap(void) {
}
// Runs once after keyboard initializes
void keyboard_post_init_keymap(void) {
};
/**
* Tap Dances
*/
void process_tap_dance_keycode (bool reset, uint8_t toggle_layer) {
uint16_t keycode = 0;
switch (toggle_layer) {
case _LIGHT:
switch (get_highest_layer(layer_state)) {
case _REEDER:
keycode = KC_L;
break;
case _MEDIA:
keycode = KC_SPC;
break;
case _NAVI:
keycode = REO_TAB;
break;
case _KARABINER:
keycode = KC_P7;
break;
}
break;
case _ADJUST:
switch (get_highest_layer(layer_state)) {
case _REEDER:
keycode = KC_R;
break;
case _MEDIA:
keycode = MC_PLYR;
break;
case _NAVI:
keycode = CLS_TAB;
break;
case _KARABINER:
keycode = KC_P8;
break;
}
break;
}
if (!reset) {
register_code16(keycode);
} else {
unregister_code16(keycode);
}
}

View file

@ -1,31 +0,0 @@
# brandonschlack's layout for Launchpad
Fun little macropad build, with an awesome case from [StrataKB](https://stratakb.com/store/cases/launchpad-v2-full-case).
## Media Layer
This layer is used for media controls. Player button is a hotkey to focus the current media player with [BeardedSpice](https://beardedspice.github.io/)
| | |
|:-:|:-:|
| Mute | Play/Pause |
| Vol + | Next Track |
| Vol - | Prev Track |
| | Current Player |
---
## Keypad Layer
This layer is used to send keypad keys, meant to be remapped based on current app with [Karabiner](https://pqrs.org/osx/karabiner/)
| | |
|:-:|:-:|
| 1 | 2 |
| 3 | 4 |
| 5 | 6 |
| 7 | 8 |
---
## Magic Layer
This layer is used as a meta layer for the pad. This layer is accessed by holding key in Row 3, Col 0
| | |
|:-:|:-:|
| MAKE | RESET |
| **Media** Layer | **Keypad** Layer|
| XXX | XXX |
| ___ | XXX |

View file

@ -1,13 +0,0 @@
# Use macropad-specific defines, layers, functions. Flash bootloader with QM_MAKE
IS_MACROPAD = yes
# Use dfu bootloader for Elite-C
BOOTLOADER = atmel-dfu
# Build Options
BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite
RGBLIGHT_ENABLE = yes # Enable WS2812 RGB underlight.
CONSOLE_ENABLE = yes # Console for debug(+400)
MOUSEKEY_ENABLE = yes # Use mouse keys for scrolling.
COMMAND_ENABLE = no # Disable Command, breaks with Mouse Keys set to constant.
TAP_DANCE_ENABLE = yes # Use tap dance

View file

@ -1,40 +0,0 @@
/* Copyright 2020 Christopher Courtney, aka Drashna Jael're (@drashna) <drashna@live.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
/* Underlight Configuration */
#undef WS2812_DI_PIN
#define WS2812_DI_PIN F5
#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
#undef RGBLED_NUM
#define RGBLED_NUM 8 // Number of LEDs
#define RGBLIGHT_HUE_STEP 10
#define RGBLIGHT_SAT_STEP 17
#define RGBLIGHT_VAL_STEP 17
#define RGB_MATRIX_LED_COUNT RGBLED_NUM
#define AUDIO_PIN B7
#define AUDIO_CLICKY

View file

@ -1,107 +0,0 @@
/* Copyright 2020 Christopher Courtney, aka Drashna Jael're (@drashna) <drashna@live.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 local_layers {
_QWERTY,
_RGB,
_FUNC,
};
// Defines for task manager and such
#define CALTDEL LCTL(LALT(KC_DEL))
#define TSKMGR LCTL(LSFT(KC_ESC))
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
/* Qwerty
* ,-------------.
* | 1 | 2 |
* |------+------|
* | 3 | 4 |
* |------+------|
* | 5 | 6 |
* |------+------|
* | FUNC | RGB |
* `-------------'
*/
[_QWERTY] = LAYOUT(
KC_1, KC_2,
KC_3, KC_4,
KC_5, KC_6,
MO(_FUNC), TG(_RGB)
),
/* RGB
* ,-------------.
* | Mode-| Mode+|
* |------+------|
* | HUE- | HUE+ |
* |------+------|
* | SAT- | SAT+ |
* |------+------|
* |RGBTOG| |
* `-------------'
*/
[_RGB] = LAYOUT(
RGB_RMOD, RGB_MOD,
RGB_HUD, RGB_HUI,
RGB_SAD, RGB_SAI,
RGB_TOG, KC_TRNS
),
/* Function
* ,-------------.
* | Q |CALDEL|
* |------+------|
* | A |TSKMGR|
* |------+------|
* | Z | X |
* |------+------|
* | | C |
* `-------------'
*/
[_FUNC] = LAYOUT(
KC_Q, CALTDEL,
KC_A, TSKMGR,
KC_Z, KC_X,
_______, QK_BOOT
)
};
#ifdef RGB_MATRIX_ENABLE
led_config_t g_led_config = {
{
{ 7, 0 },
{ 6, 1 },
{ 5, 2 },
{ 4, 3 },
},{
{ 121, 2 }, { 121, 23 },
{ 121, 41 }, { 121, 60 },
{ 103, 2 }, { 103, 23 },
{ 103, 41 }, { 103, 60 },
},{
1, 1, 1, 1,
1, 1, 1, 1,
}
};
#endif

View file

@ -1,7 +0,0 @@
BOOTLOADER = atmel-dfu
RGBLIGHT_ENABLE = no
AUDIO_ENABLE = no
BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite
RGB_MATRIX_ENABLE = yes
RGB_MATRIX_DRIVER = ws2812

View file

@ -1,7 +0,0 @@
# Lets Split Eh Layout
Check out [user readme](../../../../users/romus/README.md) for more info.
# Usage
Fill in after flashing

View file

@ -1,28 +0,0 @@
#include QMK_KEYBOARD_H
#include "romus.h"
void matrix_init_keymap (void) {
}
layer_state_t layer_state_set_keymap(layer_state_t state) {
return state;
}
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
// Main Dvorak layer
[_DV] = LAYOUT_letssplit_wrapper(DVORAK),
// Turkish and special character overlay
[_AL] = LAYOUT_letssplit_wrapper(ALTCHAR),
// Gaming layer
[_GA] = LAYOUT_letssplit_wrapper(GAME),
// Numbers layer
[_NU] = LAYOUT_letssplit_wrapper(NUMBERS),
// Settings layer
[_SE] = LAYOUT_letssplit_wrapper(SETTINGS),
// Mouse emulation layer
[_MO] = LAYOUT_letssplit_wrapper(MOUSE),
// Music layer
[_MU] = LAYOUT_letssplit_wrapper(MUSIC),
};

View file

@ -1,7 +0,0 @@
# Build options
BACKLIGHT_ENABLE = no # Switch LEDs
MOUSEKEY_ENABLE = yes # Emulates mouse key using keypresses
RGBLIGHT_ENABLE = yes # LED strips
TAP_DANCE_ENABLE = yes # Use multi-tap features
AUDIO_ENABLE = no # Audio stuff