You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
qmk-fw/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
5 years ago
..
arm_atsam format code according to conventions [skip ci] 5 years ago
avr format code according to conventions [skip ci] 5 years ago
chibios Revert "Fix conflicting types for 'tfp_printf' (#8269)" 5 years ago
test Add customisable EEPROM driver selection (#7274) 5 years ago
action.c One shot support for swap hands (#8590) 5 years ago
action.h Fix compile issues related to NO_ACTION_MACRO/FUNCTION and LTO_ENABLE (#8663) 5 years ago
action_code.h One shot support for swap hands (#8590) 5 years ago
action_layer.c Optimization for scanning less layers. (#8311) 5 years ago
action_layer.h Optimization for scanning less layers. (#8311) 5 years ago
action_macro.c
action_macro.h
action_tapping.c Fix bug with layer caching in get_event_keycode (#8693) 5 years ago
action_tapping.h Fix bug with layer caching in get_event_keycode (#8693) 5 years ago
action_util.c One shot support for swap hands (#8590) 5 years ago
action_util.h One shot support for swap hands (#8590) 5 years ago
bootloader.h
bootmagic.c
bootmagic.h
bootmagic_lite.c format code according to conventions [skip ci] 5 years ago
command.c 2020 February 29 Breaking Changes Update (#8064) 5 years ago
command.h
debug.c
debug.h
eeconfig.c Add customisable EEPROM driver selection (#7274) 5 years ago
eeconfig.h
eeprom.h Add customisable EEPROM driver selection (#7274) 5 years ago
host.c
host.h
host_driver.h
keyboard.c Provide a mechanism for split keyboards to process key press on both halves (#9001) 5 years ago
keyboard.h
keycode.h Add *OPT aliases for *ALT keycodes and macros (#8714) 5 years ago
led.h
magic.c
magic.h
matrix.h Allow 30us matrix delay to be keyboard/user overridable (#8216) 5 years ago
mousekey.c format code according to conventions [skip ci] 5 years ago
mousekey.h Decouple mouse cursor and mouse wheel in accelerated mode (#6685) 5 years ago
nodebug.h
print.c
print.h Revert "Fix conflicting types for 'tfp_printf' (#8269)" 5 years ago
progmem.h Fix `pgm_read_ptr()` define for ARM (#8658) 5 years ago
raw_hid.h
report.c format code according to conventions [skip ci] 5 years ago
report.h Add some usages needed for ChromeOS hosts (#8996) 5 years ago
sendchar.h
sendchar_null.c Initial vusb console support (#8559) 5 years ago
sendchar_uart.c
sleep_led.h
suspend.h
timer.h format code according to conventions [skip ci] 5 years ago
uart.c format code according to conventions [skip ci] 5 years ago
uart.h
util.c Strip out features to allow minimum firmware sizes (#8645) 5 years ago
util.h
virtser.h
wait.h