mirror of
https://github.com/osiweb/unified_retro_keyboard.git
synced 2024-12-22 06:29:17 +00:00
ed761974e6
- asdf_modifiers.[ch]: Replace asdf_modifier_shiftlock_activate() with asdf_modifier_shiftlock_on_activate() and asdf_modifier_shiftlock_toggle_activate(). Instead of a configurateion setting for shiftlock state to switch between SHIFTLOCK locks on, SHIFT turns off, vs SHIFTLOCK toggles, and SHIFT turns off, create two different SHIFTLOCK functions, one for each behavior, and allow the keymap to bind the desired function. - asdf.h: replace ACTION_SHIFTLOCK with ACTION_SHIFTLOCK_ON and ACTION_SHIFTLOCK_TOGGLE. - asdf.h: move start of ACTION codes from 0x80 to 0x90, since SOL-20 uses codes from 0x80-0x8f. - asdf.c: test for ACTION code using (code > ASDF_ACTION) instead of (code & ASDF_ACTION), since ASDF_ACTION need not be a power of 2. - asdf_modifiers.[ch] and other files: remove asdf_modifiers_shiftlock_deactivate() and asdf_modifiers_capslock_deactivate(), and any references to these functions since they are null functions anyway. |
||
---|---|---|
.. | ||
unity | ||
_clang-format | ||
test_asdf_buffer.c | ||
test_asdf_keymaps.c | ||
test_asdf_modifiers.c | ||
test_asdf_repeat.c | ||
test_asdf_virtual.c | ||
test_asdf.c |