forked from mirrors/qmk_userspace
Remove userspace keymaps (#22544)
This commit is contained in:
parent
4908d4b1ca
commit
1ed03f498f
2738 changed files with 0 additions and 207314 deletions
|
@ -1,32 +0,0 @@
|
|||
#pragma once
|
||||
|
||||
#if defined(RGBLIGHT_ENABLE) && !defined(RGBLED_NUM)
|
||||
#define WS2812_DI_PIN B7
|
||||
#define RGBLED_NUM 13 // Number of LEDs
|
||||
#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 12
|
||||
#define RGBLIGHT_SAT_STEP 12
|
||||
#define RGBLIGHT_VAL_STEP 12
|
||||
#define RGBLIGHT_EFFECT_KNIGHT_LENGTH 2
|
||||
#define RGBLIGHT_EFFECT_SNAKE_LENGTH 2
|
||||
#define RGBLIGHT_EFFECT_BREATHE_CENTER 1
|
||||
|
||||
#define RGBLIGHT_SLEEP
|
||||
#endif // RGBLIGHT_ENABLE
|
||||
|
||||
#ifdef AUDIO_ENABLE
|
||||
#ifdef RGBLIGHT_ENABLE
|
||||
#define NO_MUSIC_MODE
|
||||
#endif // RGBLIGHT_ENABLE
|
||||
#endif // AUDIO_ENABLE
|
||||
#define TAP_CODE_DELAY 10
|
|
@ -1,54 +0,0 @@
|
|||
#include QMK_KEYBOARD_H
|
||||
|
||||
extern rgblight_config_t rgblight_config;
|
||||
|
||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
[0] = LAYOUT_numpad_5x6(
|
||||
KC_F1, LT(1,KC_F2), KC_NUM, KC_PSLS, KC_PAST, KC_PMNS,
|
||||
KC_F3, KC_F4, KC_P7, KC_P8, KC_P9,
|
||||
KC_F5, KC_F6, KC_P4, KC_P5, KC_P6, KC_PPLS,
|
||||
KC_F7, KC_F8, KC_P1, KC_P2, KC_P3,
|
||||
KC_F9, KC_F10, KC_P0, KC_PDOT, KC_PENT
|
||||
),
|
||||
[1] = LAYOUT_numpad_5x6(
|
||||
RGB_TOG, _______, _______, _______, _______, QK_BOOT,
|
||||
RGB_MOD, RGB_RMOD, _______, _______, _______,
|
||||
RGB_HUI, RGB_HUD, _______, _______, _______, _______,
|
||||
RGB_SAI, RGB_SAD, _______, _______, _______,
|
||||
RGB_VAI, RGB_VAD, _______, _______, _______
|
||||
),
|
||||
};
|
||||
|
||||
|
||||
void keyboard_post_init_user(void) {
|
||||
#ifdef RGBLIGHT_ENABLE
|
||||
uint8_t temp_mode = rgblight_config.mode;
|
||||
rgblight_enable_noeeprom();
|
||||
rgblight_mode_noeeprom(RGBLIGHT_MODE_STATIC_LIGHT);
|
||||
for (uint16_t i = 255; i > 0; i--) {
|
||||
rgblight_sethsv_noeeprom( ( i + 128) % 255, 255, 255);
|
||||
matrix_scan();
|
||||
wait_ms(10);
|
||||
}
|
||||
led_set_user(host_keyboard_leds());
|
||||
rgblight_mode_noeeprom(temp_mode);
|
||||
#endif
|
||||
}
|
||||
|
||||
bool led_update_user(led_t led_state) {
|
||||
if (led_state.num_lock) {
|
||||
rgblight_sethsv_noeeprom(HSV_CYAN);
|
||||
} else {
|
||||
rgblight_sethsv_noeeprom(HSV_MAGENTA);
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
bool shutdown_user(bool jump_to_bootloader) {
|
||||
#ifdef RGBLIGHT_ENABLE
|
||||
rgblight_enable_noeeprom();
|
||||
rgblight_mode_noeeprom(RGBLIGHT_MODE_STATIC_LIGHT);
|
||||
rgblight_setrgb(RGB_RED);
|
||||
#endif // RGBLIGHT_ENABLE
|
||||
return false;
|
||||
}
|
|
@ -1,5 +0,0 @@
|
|||
AUDIO_ENABLE = no
|
||||
RGBLIGHT_ENABLE = yes
|
||||
BACKLIGHT_ENABLE = no
|
||||
NO_SECRETS = yes
|
||||
BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite
|
|
@ -1,36 +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
|
||||
|
||||
|
||||
#if defined(RGBLIGHT_ENABLE) && !defined(RGBLED_NUM)
|
||||
# define WS2812_DI_PIN B1
|
||||
# define RGBLED_NUM 16 // Number of LEDs
|
||||
|
||||
# define RGBLIGHT_HUE_STEP 12
|
||||
# define RGBLIGHT_SAT_STEP 12
|
||||
# define RGBLIGHT_VAL_STEP 12
|
||||
# define RGBLIGHT_EFFECT_KNIGHT_LENGTH 2
|
||||
# define RGBLIGHT_EFFECT_SNAKE_LENGTH 2
|
||||
#endif // RGBLIGHT_ENABLE
|
||||
|
||||
#define RGBLIGHT_ALL_ANIMATIONS
|
||||
|
||||
#if defined(KEYBOARD_primekb_prime_m)
|
||||
# undef PRODUCT
|
||||
# define PRODUCT "Drashna Hacked Prime_M Macro Pad"
|
||||
#endif
|
|
@ -1,39 +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 "drashna.h"
|
||||
|
||||
#define F2_MCRO LT(_GAMEPAD, KC_F2)
|
||||
|
||||
// clang-format off
|
||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
[_NUMLOCK] = LAYOUT_numpad_5x6(
|
||||
KC_F1, F2_MCRO, KC_NUM, KC_PSLS, KC_PAST, KC_PMNS,
|
||||
KC_F3, KC_F4, KC_P7, KC_P8, KC_P9,
|
||||
KC_F5, KC_F6, KC_P4, KC_P5, KC_P6, KC_PPLS,
|
||||
KC_F7, KC_F8, KC_P1, KC_P2, KC_P3,
|
||||
KC_F9, KC_COLN, KC_P0, KC_PDOT, KC_PENT
|
||||
),
|
||||
|
||||
[_GAMEPAD] = LAYOUT_numpad_5x6(
|
||||
RGB_TOG, _______, _______, EE_CLR, QK_MAKE, QK_BOOT,
|
||||
RGB_MOD, RGB_RMOD, _______, _______, _______,
|
||||
RGB_HUI, RGB_HUD, _______, _______, _______, _______,
|
||||
RGB_SAI, RGB_SAD, _______, _______, _______,
|
||||
RGB_VAI, RGB_VAD, _______, _______, _______
|
||||
),
|
||||
};
|
||||
// clang-format on
|
|
@ -1,8 +0,0 @@
|
|||
AUDIO_ENABLE = no
|
||||
RGBLIGHT_ENABLE = yes
|
||||
BACKLIGHT_ENABLE = no
|
||||
NO_SECRETS = yes
|
||||
BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite
|
||||
INDICATOR_LIGHTS = no
|
||||
MAKE_BOOTLOADER = yes
|
||||
RGBLIGHT_STARTUP_ANIMATION = yes
|
Loading…
Add table
Add a link
Reference in a new issue