qmk-dactyl-manuform-a/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 Revert "Fix conflicting types for 'tfp_printf' (#8269)" 2020-05-04 09:25:44 -07:00
test
action.c One shot support for swap hands (#8590) 2020-05-14 07:36:55 +10:00
action.h
action_code.h One shot support for swap hands (#8590) 2020-05-14 07:36:55 +10:00
action_layer.c Optimization for scanning less layers. (#8311) 2020-05-11 01:04:38 +01:00
action_layer.h Optimization for scanning less layers. (#8311) 2020-05-11 01:04:38 +01:00
action_macro.c
action_macro.h
action_tapping.c Fix bug with layer caching in get_event_keycode (#8693) 2020-04-12 17:27:17 +02:00
action_tapping.h Fix bug with layer caching in get_event_keycode (#8693) 2020-04-12 17:27:17 +02:00
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
bootloader.h
bootmagic.c
bootmagic.h
bootmagic_lite.c
command.c
command.h
debug.c
debug.h
eeconfig.c
eeconfig.h
eeprom.h
host.c
host.h
host_driver.h
keyboard.c Provide a mechanism for split keyboards to process key press on both halves (#9001) 2020-05-03 00:39:37 +01:00
keyboard.h
keycode.h Add *OPT aliases for *ALT keycodes and macros (#8714) 2020-04-12 11:37:55 -07:00
led.h
magic.c
magic.h
matrix.h
mousekey.c
mousekey.h
nodebug.h
print.c
print.h Revert "Fix conflicting types for 'tfp_printf' (#8269)" 2020-05-04 09:25:44 -07:00
progmem.h
raw_hid.h
report.c
report.h Add some usages needed for ChromeOS hosts (#8996) 2020-05-03 10:24:11 +10:00
sendchar.h
sendchar_null.c Initial vusb console support (#8559) 2020-05-03 01:25:39 +01:00
sendchar_uart.c
sleep_led.h
suspend.h
timer.h
uart.c
uart.h
util.c
util.h
virtser.h
wait.h