feat: Add sunaku bilateral combinations

See https://sunaku.github.io/home-row-mods.html
Needs to be compiled with a compatible QMK version, like the one
available here: https://github.com/Tyosa/qmk_firmware
This commit is contained in:
Maël Villerbu 2024-03-27 20:31:04 +01:00
parent af7dc2d307
commit 53d635ec40
4 changed files with 18 additions and 66 deletions

View file

@ -20,13 +20,19 @@
#define SPLIT_ACTIVITY_ENABLE
#define TAPPING_TERM 180
#define QUICK_TAP_TERM 0
#define PERMISSIVE_HOLD
#define TAPPING_TERM_PER_KEY
#define SPLIT_TRANSACTION_IDS_USER USER_SYNC_LUNA
#define SPLIT_LED_STATE_ENABLE
// Bilateral combinations, following https://sunaku.github.io/home-row-mods.html
#define BILATERAL_COMBINATIONS
#define BILATERAL_COMBINATIONS_ALLOW_SAMESIDED_AFTER 500 /*ms*/
#define BILATERAL_COMBINATIONS_ALLOW_CROSSOVER_AFTER 75 /*ms*/
#define BILATERAL_COMBINATIONS_DELAY_MODS_THAT_MATCH (MOD_MASK_GUI) /*Delay GUI HRM*/
#define BILATERAL_COMBINATIONS_DELAY_MATCHED_MODS_BY 120 /* ms */
#define BILATERAL_COMBINATIONS_TYPING_STREAK_TIMEOUT 160
#define BILATERAL_COMBINATIONS_TYPING_STREAK_MODMASK (~MOD_MASK_SHIFT)
// Space optimizations
#define LAYER_STATE_8BIT

View file

@ -1,22 +1,22 @@
BOOTLOADER=caterina
OLED_ENABLE = yes
ENCODER_ENABLE = yes # Enables the use of one or more encoders
ENCODER_ENABLE = yes
EXTRAFLAGS += -flto
MOUSEKEY_ENABLE = yes # Mouse keys(+4700)
MOUSEKEY_ENABLE = yes # Mouse keys(+4700)
LTO_ENABLE = yes
WPM_ENABLE = yes
TAP_DANCE_ENABLE = yes
REPEAT_KEY_ENABLE = yes
DEFERRED_EXEC_ENABLE = yes
# AVR optimizations
RGB_MATRIX_ENABLE = no # Disable keyboard RGB matrix, as it is enabled by default on rev3
RGB_MATRIX_ENABLE = no
CONSOLE_ENABLE = no
SPACE_CADET_ENABLE = no
GRAVE_ESC_ENABLE = no
MAGIC_ENABLE = no
RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
UNICODE_ENABLE = no# Unicode
COMMAND_ENABLE = no # Commands for debug and configuration
RGBLIGHT_ENABLE = no
UNICODE_ENABLE = no
COMMAND_ENABLE = no
LEADER_ENABLE = no
MUSIC_ENABLE = no