[Keymap] Update personal userspace and keymaps (#9082)
* Replace custom RCTRL implementation with built-in LM Caveat: sends LCtrl instead of RCtrl * Enable VIA support in KBD6X keymap * Disable LTO on ChibiOS boards * Disable locking support and Magic keycodes for all keymaps * Organize and annotate rules.mk and config.h files * Enable Console for Melody96 keymap * L_RANGE_KEYMAP → LAYERS_KEYMAP * Revert "Replace custom RCTRL implementation with built-in LM" This reverts commit 17d706a82d7e31b53cd84efeb9b2ddb9922a2368. * Set DYNAMIC_KEYMAP_LAYER_COUNT to 3 in Doro67 and Wasdat keymaps * Enable Bootmagic Lite for all VIA keymapsmaster
parent
c6cf1ae4e7
commit
9cf69a1997
|
@ -1,4 +1,6 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
#define DYNAMIC_KEYMAP_LAYER_COUNT 3
|
||||||
|
|
||||||
#define LAYER_FN
|
#define LAYER_FN
|
||||||
#define LAYER_NUMPAD
|
#define LAYER_NUMPAD
|
||||||
|
|
|
@ -1,11 +1,18 @@
|
||||||
BACKLIGHT_ENABLE = no
|
# Generic features
|
||||||
BOOTMAGIC_ENABLE = no
|
BOOTMAGIC_ENABLE = lite
|
||||||
COMMAND_ENABLE = yes
|
COMMAND_ENABLE = yes
|
||||||
CONSOLE_ENABLE = yes
|
CONSOLE_ENABLE = yes
|
||||||
EXTRAKEY_ENABLE = yes
|
EXTRAKEY_ENABLE = yes
|
||||||
GRAVE_ESC_ENABLE = no
|
|
||||||
MOUSEKEY_ENABLE = yes
|
MOUSEKEY_ENABLE = yes
|
||||||
NKRO_ENABLE = yes
|
NKRO_ENABLE = yes
|
||||||
SPACE_CADET_ENABLE = no
|
|
||||||
TAP_DANCE_ENABLE = yes
|
TAP_DANCE_ENABLE = yes
|
||||||
UNICODEMAP_ENABLE = yes
|
UNICODEMAP_ENABLE = yes
|
||||||
|
|
||||||
|
# Keyboard-specific features
|
||||||
|
BACKLIGHT_ENABLE = no
|
||||||
|
VIA_ENABLE = yes
|
||||||
|
|
||||||
|
# Firmware size reduction
|
||||||
|
GRAVE_ESC_ENABLE = no
|
||||||
|
MAGIC_ENABLE = no
|
||||||
|
SPACE_CADET_ENABLE = no
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
#define DYNAMIC_KEYMAP_LAYER_COUNT 3
|
||||||
|
|
||||||
#define LAYER_FN
|
#define LAYER_FN
|
||||||
|
|
|
@ -6,7 +6,7 @@ enum keycodes_keymap {
|
||||||
};
|
};
|
||||||
|
|
||||||
enum layers_keymap {
|
enum layers_keymap {
|
||||||
L_RCTRL = L_RANGE_KEYMAP,
|
L_RCTRL = LAYERS_KEYMAP,
|
||||||
};
|
};
|
||||||
|
|
||||||
void eeconfig_init_keymap(void) {
|
void eeconfig_init_keymap(void) {
|
||||||
|
|
|
@ -1,12 +1,19 @@
|
||||||
BACKLIGHT_ENABLE = no
|
# Generic features
|
||||||
BOOTMAGIC_ENABLE = no
|
BOOTMAGIC_ENABLE = lite
|
||||||
COMMAND_ENABLE = yes
|
COMMAND_ENABLE = yes
|
||||||
CONSOLE_ENABLE = no
|
CONSOLE_ENABLE = no
|
||||||
EXTRAKEY_ENABLE = yes
|
EXTRAKEY_ENABLE = yes
|
||||||
GRAVE_ESC_ENABLE = no
|
|
||||||
MOUSEKEY_ENABLE = yes
|
MOUSEKEY_ENABLE = yes
|
||||||
NKRO_ENABLE = yes
|
NKRO_ENABLE = yes
|
||||||
RGBLIGHT_ENABLE = yes
|
|
||||||
SPACE_CADET_ENABLE = no
|
|
||||||
TAP_DANCE_ENABLE = yes
|
TAP_DANCE_ENABLE = yes
|
||||||
UNICODEMAP_ENABLE = no
|
UNICODEMAP_ENABLE = no
|
||||||
|
|
||||||
|
# Keyboard-specific features
|
||||||
|
BACKLIGHT_ENABLE = no
|
||||||
|
RGBLIGHT_ENABLE = yes
|
||||||
|
VIA_ENABLE = yes
|
||||||
|
|
||||||
|
# Firmware size reduction
|
||||||
|
GRAVE_ESC_ENABLE = no
|
||||||
|
MAGIC_ENABLE = no
|
||||||
|
SPACE_CADET_ENABLE = no
|
||||||
|
|
|
@ -1,4 +1,6 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
#define DYNAMIC_KEYMAP_LAYER_COUNT 3
|
||||||
|
|
||||||
#define LAYER_FN
|
#define LAYER_FN
|
||||||
#define LAYER_NUMPAD
|
#define LAYER_NUMPAD
|
||||||
|
|
|
@ -1,11 +1,17 @@
|
||||||
BACKLIGHT_ENABLE = no
|
# Generic features
|
||||||
BOOTMAGIC_ENABLE = no
|
BOOTMAGIC_ENABLE = lite
|
||||||
COMMAND_ENABLE = yes
|
COMMAND_ENABLE = yes
|
||||||
CONSOLE_ENABLE = yes
|
CONSOLE_ENABLE = yes
|
||||||
EXTRAKEY_ENABLE = yes
|
EXTRAKEY_ENABLE = yes
|
||||||
GRAVE_ESC_ENABLE = no
|
|
||||||
MOUSEKEY_ENABLE = yes
|
MOUSEKEY_ENABLE = yes
|
||||||
NKRO_ENABLE = yes
|
NKRO_ENABLE = yes
|
||||||
SPACE_CADET_ENABLE = no
|
|
||||||
TAP_DANCE_ENABLE = yes
|
TAP_DANCE_ENABLE = yes
|
||||||
UNICODEMAP_ENABLE = yes
|
UNICODEMAP_ENABLE = yes
|
||||||
|
|
||||||
|
# Keyboard-specific features
|
||||||
|
VIA_ENABLE = yes
|
||||||
|
|
||||||
|
# Firmware size reduction
|
||||||
|
GRAVE_ESC_ENABLE = no
|
||||||
|
MAGIC_ENABLE = no
|
||||||
|
SPACE_CADET_ENABLE = no
|
||||||
|
|
|
@ -1,12 +1,18 @@
|
||||||
BACKLIGHT_ENABLE = no
|
# Generic features
|
||||||
BOOTMAGIC_ENABLE = no
|
BOOTMAGIC_ENABLE = no
|
||||||
COMMAND_ENABLE = yes
|
COMMAND_ENABLE = yes
|
||||||
CONSOLE_ENABLE = no
|
CONSOLE_ENABLE = yes
|
||||||
EXTRAKEY_ENABLE = yes
|
EXTRAKEY_ENABLE = yes
|
||||||
GRAVE_ESC_ENABLE = no
|
|
||||||
MOUSEKEY_ENABLE = yes
|
MOUSEKEY_ENABLE = yes
|
||||||
NKRO_ENABLE = yes
|
NKRO_ENABLE = yes
|
||||||
RGBLIGHT_ENABLE = yes
|
|
||||||
SPACE_CADET_ENABLE = no
|
|
||||||
TAP_DANCE_ENABLE = yes
|
TAP_DANCE_ENABLE = yes
|
||||||
UNICODEMAP_ENABLE = yes
|
UNICODEMAP_ENABLE = yes
|
||||||
|
|
||||||
|
# Keyboard-specific features
|
||||||
|
BACKLIGHT_ENABLE = no
|
||||||
|
RGBLIGHT_ENABLE = yes
|
||||||
|
|
||||||
|
# Firmware size reduction
|
||||||
|
GRAVE_ESC_ENABLE = no
|
||||||
|
MAGIC_ENABLE = no
|
||||||
|
SPACE_CADET_ENABLE = no
|
||||||
|
|
|
@ -1,12 +1,18 @@
|
||||||
BACKLIGHT_ENABLE = no
|
# Generic features
|
||||||
BOOTMAGIC_ENABLE = no
|
BOOTMAGIC_ENABLE = no
|
||||||
COMMAND_ENABLE = yes
|
COMMAND_ENABLE = yes
|
||||||
CONSOLE_ENABLE = yes
|
CONSOLE_ENABLE = yes
|
||||||
EXTRAKEY_ENABLE = yes
|
EXTRAKEY_ENABLE = yes
|
||||||
GRAVE_ESC_ENABLE = no
|
|
||||||
MOUSEKEY_ENABLE = yes
|
MOUSEKEY_ENABLE = yes
|
||||||
NKRO_ENABLE = yes
|
NKRO_ENABLE = yes
|
||||||
SPACE_CADET_ENABLE = no
|
|
||||||
TAP_DANCE_ENABLE = yes
|
TAP_DANCE_ENABLE = yes
|
||||||
UNICODEMAP_ENABLE = yes
|
UNICODEMAP_ENABLE = yes
|
||||||
|
|
||||||
|
# Keyboard-specific features
|
||||||
|
BACKLIGHT_ENABLE = no
|
||||||
VISUALIZER_ENABLE = no
|
VISUALIZER_ENABLE = no
|
||||||
|
|
||||||
|
# Firmware size reduction
|
||||||
|
GRAVE_ESC_ENABLE = no
|
||||||
|
MAGIC_ENABLE = no
|
||||||
|
SPACE_CADET_ENABLE = no
|
||||||
|
|
|
@ -1,7 +1,10 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
// Keyboard reports
|
||||||
#define FORCE_NKRO
|
#define FORCE_NKRO
|
||||||
|
#define USB_POLLING_INTERVAL_MS 1
|
||||||
|
|
||||||
|
// Mouse keys
|
||||||
#define MOUSEKEY_DELAY 0
|
#define MOUSEKEY_DELAY 0
|
||||||
#define MOUSEKEY_INTERVAL 10
|
#define MOUSEKEY_INTERVAL 10
|
||||||
#define MOUSEKEY_MAX_SPEED 4
|
#define MOUSEKEY_MAX_SPEED 4
|
||||||
|
@ -11,22 +14,25 @@
|
||||||
#define MOUSEKEY_WHEEL_MAX_SPEED 4
|
#define MOUSEKEY_WHEEL_MAX_SPEED 4
|
||||||
#define MOUSEKEY_WHEEL_TIME_TO_MAX 50
|
#define MOUSEKEY_WHEEL_TIME_TO_MAX 50
|
||||||
|
|
||||||
#define NO_ACTION_FUNCTION
|
// RGB lighting
|
||||||
#define NO_ACTION_MACRO
|
|
||||||
#define NO_ACTION_ONESHOT
|
|
||||||
|
|
||||||
#undef RGBLIGHT_ANIMATIONS
|
#undef RGBLIGHT_ANIMATIONS
|
||||||
#define RGBLIGHT_EFFECT_BREATHING
|
#define RGBLIGHT_EFFECT_BREATHING
|
||||||
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
|
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
|
||||||
#define RGBLIGHT_EFFECT_RAINBOW_SWIRL
|
#define RGBLIGHT_EFFECT_RAINBOW_SWIRL
|
||||||
#define RGBLIGHT_EFFECT_SNAKE
|
#define RGBLIGHT_EFFECT_SNAKE
|
||||||
|
|
||||||
|
// Tapping
|
||||||
#define PERMISSIVE_HOLD
|
#define PERMISSIVE_HOLD
|
||||||
#define TAPPING_TERM 200
|
#define TAPPING_TERM 200
|
||||||
#define TAPPING_TOGGLE 3
|
#define TAPPING_TOGGLE 3
|
||||||
|
|
||||||
|
// Unicode
|
||||||
#define UNICODE_CYCLE_PERSIST false
|
#define UNICODE_CYCLE_PERSIST false
|
||||||
#define UNICODE_SELECTED_MODES UC_WINC, UC_WIN, UC_LNX
|
#define UNICODE_SELECTED_MODES UC_WINC, UC_WIN, UC_LNX
|
||||||
#define UNICODE_KEY_WINC KC_RGUI
|
#define UNICODE_KEY_WINC KC_RGUI
|
||||||
|
|
||||||
#define USB_POLLING_INTERVAL_MS 1
|
// Firmware size reduction
|
||||||
|
#undef LOCKING_SUPPORT_ENABLE
|
||||||
|
#define NO_ACTION_FUNCTION
|
||||||
|
#define NO_ACTION_MACRO
|
||||||
|
#define NO_ACTION_ONESHOT
|
||||||
|
|
|
@ -76,7 +76,7 @@ enum layers_user {
|
||||||
L_NUMPAD,
|
L_NUMPAD,
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
L_RANGE_KEYMAP,
|
LAYERS_KEYMAP,
|
||||||
};
|
};
|
||||||
|
|
||||||
void keyboard_pre_init_keymap(void);
|
void keyboard_pre_init_keymap(void);
|
||||||
|
|
|
@ -13,4 +13,6 @@ ifneq (,$(filter yes,$(UNICODE_ENABLE) $(UNICODEMAP_ENABLE)))
|
||||||
SRC += unicode.c
|
SRC += unicode.c
|
||||||
endif
|
endif
|
||||||
|
|
||||||
LTO_ENABLE = yes
|
ifneq ($(PLATFORM),CHIBIOS)
|
||||||
|
LTO_ENABLE = yes
|
||||||
|
endif
|
||||||
|
|
Loading…
Reference in New Issue