qmk-firmware/tmk_core/common
Zsolt Parragi 805f5cb72b
One shot support for swap hands (#8590)
This commits add the SH_OS keycode, which works similarly to one shot
layers:
* while pressed, the keyboard is swapped
* if no keys were pressed while it was pressed, the next key press is
swapped

SH_OS also supports chaining with one shot layers:
OSL(x) + SH_OS + key interprets the key press on the oneshot layer.

The ONESHOT_TIMEOUT setting used by one shot keys and layers is also
used by oneshot swap hands. In the above chaining scenario the timeout
of the oneshot layer is reset when swap hands is activated.

Resolves #2682
2020-05-14 07:36:55 +10:00
..
arm_atsam
avr
chibios
test
action_code.h One shot support for swap hands (#8590) 2020-05-14 07:36:55 +10:00
action_layer.c
action_layer.h
action_macro.c
action_macro.h
action_tapping.c
action_tapping.h
action_util.c One shot support for swap hands (#8590) 2020-05-14 07:36:55 +10:00
action_util.h One shot support for swap hands (#8590) 2020-05-14 07:36:55 +10:00
action.c One shot support for swap hands (#8590) 2020-05-14 07:36:55 +10:00
action.h
bootloader.h
bootmagic_lite.c
bootmagic.c
bootmagic.h
command.c
command.h
debug.c
debug.h
eeconfig.c
eeconfig.h
eeprom.h
host_driver.h
host.c
host.h
keyboard.c
keyboard.h
keycode.h
led.h
magic.c
magic.h
matrix.h
mousekey.c
mousekey.h
nodebug.h
print.c
print.h
progmem.h
raw_hid.h
report.c
report.h
sendchar_null.c
sendchar_uart.c
sendchar.h
sleep_led.h
suspend.h
timer.h
uart.c
uart.h
util.c
util.h
virtser.h
wait.h