kbfun_press_release_preserve_sticky() is meant to replace kbfun_press_release as the function used for standard modifiers (shift, control, alt, and gui) so that the sticky state is preserved and it is possible to key in chorded commands using a key on another layer pressing the keys in the chord one key at a time simultaneously without breaking the sticky state. (e.g. ctrl+F2 as lsticky2, ctrl, x [where x is defined as F2 on layer 2] TODO: Noticed a bug where the transparent behavior does not work as expected for modifiers. lsticky2, ctrl, x does not produce ctrl+F2 when ctrl is defined as transparent on layer 2 and keycode=ctrl, press=kprrel, release=kprrel on layer 0. |
||
---|---|---|
.. | ||
public | ||
private.c | ||
private.h | ||
public.h | ||
readme.md |
src/lib/key-functions
These functions may do.. pretty much anything rational that they like. If they want keycodes to be sent to the host in an aggregate report, they're responsible for modifying the appropriate report variables.
Copyright © 2012 Ben Blazak benblazak.dev@gmail.com
Released under The MIT License (MIT) (see "license.md")
Project located at https://github.com/benblazak/ergodox-firmware