qmk_firmware/quantum
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
..
api
audio format code according to conventions [skip ci] 2020-03-30 20:52:13 +00:00
backlight Initial arm->chibios pass - simplify some platform logic (#8450) 2020-03-21 16:20:04 +11:00
debounce quantum/debounce: Added sym_pk debounce algorithm (#8587) 2020-04-11 21:29:48 +10:00
keymap_extras Update Neo2 keymap (#9063) 2020-05-13 19:34:55 +01:00
process_keycode Fix bug in UC_RMOD, add shift and audio support for UC_MOD/UC_RMOD(#8674) 2020-05-09 01:22:02 -07:00
rgb_matrix_animations
rgb_matrix_runners
serial_link
split_common Run clang-format manually to fix recently changed files (#8552) 2020-03-25 14:39:53 +11:00
stm32 Add SPI master for ChibiOS/ARM. (#8779) 2020-04-29 14:01:20 +10:00
template Audio_Enable, AVR template update (#8901) 2020-05-01 21:30:12 +01:00
tools
visualizer
api.c
api.h
color.c
color.h
config_common.h Initial support for ATtiny85 (#8632) 2020-04-02 22:23:57 +01:00
debounce.h
dip_switch.c Bugfix for quantum/dip_switch.c (#8731) 2020-04-12 12:44:24 -07:00
dip_switch.h
dynamic_keymap.c
dynamic_keymap.h
dynamic_macro.h
encoder.c
encoder.h
fauxclicky.c
fauxclicky.h
keycode_config.c
keycode_config.h
keymap.h
keymap_common.c Strip out features to allow minimum firmware sizes (#8645) 2020-04-01 21:06:22 +01:00
led_matrix.c
led_matrix_drivers.c
led_tables.c
led_tables.h
ledmatrix.h
matrix.c
matrix_common.c
mcu_selection.mk Initial support for ATtiny85 (#8632) 2020-04-02 22:23:57 +01:00
pointing_device.c
pointing_device.h
quantum.c Fix bug with layer caching in get_event_keycode (#8693) 2020-04-12 17:27:17 +02:00
quantum.h format code according to conventions [skip ci] 2020-04-29 11:38:51 +00:00
quantum_keycodes.h One shot support for swap hands (#8590) 2020-05-14 07:36:55 +10:00
rgb.h
rgb_matrix.c Run clang-format manually to fix recently changed files (#8552) 2020-03-25 14:39:53 +11:00
rgb_matrix.h
rgb_matrix_drivers.c
rgb_matrix_types.h
rgblight.c Allow expanding from 8 to 32 RGB Lighting Layers (#8941) 2020-05-13 21:39:05 +01:00
rgblight.h Allow expanding from 8 to 32 RGB Lighting Layers (#8941) 2020-05-13 21:39:05 +01:00
rgblight_breathe_table.h
rgblight_list.h
rgblight_modes.h New RGB Lighting effect: Twinkle (#8887) 2020-05-09 01:56:16 -07:00
rgblight_post_config.h
send_string_keycodes.h Add *OPT aliases for *ALT keycodes and macros (#8714) 2020-04-12 11:37:55 -07:00
variable_trace.c
variable_trace.h
velocikey.c
velocikey.h
via.c Configurable VIA layout options default value (#8707) 2020-04-06 20:27:44 +01:00
via.h Configurable VIA layout options default value (#8707) 2020-04-06 20:27:44 +01:00
wpm.c Run clang-format manually to fix recently changed files (#8552) 2020-03-25 14:39:53 +11:00
wpm.h Run clang-format manually to fix recently changed files (#8552) 2020-03-25 14:39:53 +11:00