Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
BULLETPROOF ACCENTED ACUTE FOR ALL 5 VOWELS AND N TILDE !!! * modified files: keyboards/40percentclub/gdherkin/keymaps/30_layout/keymap.c * IMPLEMENTING 150 ms keypress time for shift key(space), * A, I, O, U vowels implemented with implicit acute accent included, * As I need having tap_dance functions over KC_A, KC_U, KC_I and tap_dance doesn’t get acute modifying character when shift is pressed, I have implemented acute modifying character with action_function, but over a new [ACUT] layer for not to overlapping previous tap_dance over A, U, I. And I access this new layer by pressing acute accent trigger (KC_V, KC_M), * It appeared a new problem when once in [ACUT] layer, I need KC_A for two functions again: ( á | Á ) and ( LSHIFT while acute accent trigger is pressed ). I have solved this issue, by implementing a new tap_dance for KC_A called A_AC_ON, who calls action_function directly with a NULL keyrecord_t parameter. And there I switch on or off LSHIFT with add_mods & add_weak_mods, del_mods & del_weak_mods. NOTE:MAYBE THIS 4 MODS FUNCTIONS TOGETHER WORK WELL INTO A TAP_DANCE_FUNCTION. I HAVE TO TRY IT ! This way, I can activate LSHIFT when hold, or call action_function directly from the code (not from KEYMAP, as I believed that was the only way to call it). It’s a solution, not too much elegant, but a solution. A better solution it should be to rewrite tap_dance_function at process_tap_dance files at ‘qmk_firmware/quantum/process_keycode/process_tap_dance.h & .c’ * added files: QMK POWER tricks, * where I’m going to collect all new power discoveries of C, QMK, algorithms, or whatever it brights by itself ! * The first annotation is about how to manage what layer I am at present time, whenever I want to know it.
- Loading branch information