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