opensteno_qmk/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 clang-format changes 2019-08-30 15:01:52 -07:00
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 effect - left-right gradient (#7742) 2020-01-07 21:25:17 +00:00
rgb_matrix_runners clang-format changes 2019-08-30 15:01:52 -07:00
serial_link 2020 February 29 Breaking Changes Update (#8064) 2020-02-29 11:59:30 -08:00
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 Backlight abstraction and other changes (#439) 2016-06-23 22:18:20 -04:00
visualizer 2020 February 29 Breaking Changes Update (#8064) 2020-02-29 11:59:30 -08:00
api.c clang-format changes 2019-08-30 15:01:52 -07:00
api.h clang-format changes 2019-08-30 15:01:52 -07:00
color.c Run clang-format manually to fix recently changed files (#7934) 2020-01-19 16:30:34 +00:00
color.h Use White channel on RGBW LEDs (#7678) 2019-12-31 16:33:49 +00:00
config_common.h Initial support for ATtiny85 (#8632) 2020-04-02 22:23:57 +01:00
debounce.h Removed #include "matrix.h" from debounce.h 2019-01-26 22:44:33 +11:00
dip_switch.c Bugfix for quantum/dip_switch.c (#8731) 2020-04-12 12:44:24 -07:00
dip_switch.h Add Dip Switch as a core feature (#6140) 2019-09-03 08:34:31 -07:00
dynamic_keymap.c format code according to conventions [skip ci] 2020-03-14 14:08:48 +00:00
dynamic_keymap.h clang-format changes 2019-08-30 15:01:52 -07:00
dynamic_macro.h [Core] Convert Dynamic Macro to a Core Feature (#5948) 2019-11-04 22:59:13 -08:00
encoder.c 2020 February 29 Breaking Changes Update (#8064) 2020-02-29 11:59:30 -08:00
encoder.h Added encoder support to split common code (#5477) 2019-04-03 16:01:17 -07:00
fauxclicky.c clang-format changes 2019-08-30 15:01:52 -07:00
fauxclicky.h clang-format changes 2019-08-30 15:01:52 -07:00
keycode_config.c clang-format changes 2019-08-30 15:01:52 -07:00
keycode_config.h clang-format changes 2019-08-30 15:01:52 -07:00
keymap.h clang-format changes 2019-08-30 15:01:52 -07:00
keymap_common.c Strip out features to allow minimum firmware sizes (#8645) 2020-04-01 21:06:22 +01:00
led_matrix.c clang-format changes 2019-08-30 15:01:52 -07:00
led_matrix_drivers.c clang-format changes 2019-08-30 15:01:52 -07:00
led_tables.c Remove unused LED_BREATHING_TABLE 2020-03-06 22:29:01 -08:00
led_tables.h Remove unused LED_BREATHING_TABLE 2020-03-06 22:29:01 -08:00
ledmatrix.h clang-format changes 2019-08-30 15:01:52 -07:00
matrix.c Allow 30us matrix delay to be keyboard/user overridable (#8216) 2020-02-21 14:49:33 +11:00
matrix_common.c Allow 30us matrix delay to be keyboard/user overridable (#8216) 2020-02-21 14:49:33 +11:00
mcu_selection.mk Initial support for ATtiny85 (#8632) 2020-04-02 22:23:57 +01:00
pointing_device.c clang-format changes 2019-08-30 15:01:52 -07:00
pointing_device.h clang-format changes 2019-08-30 15:01:52 -07:00
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 clang-format changes 2019-08-30 15:01:52 -07:00
rgb_matrix.c Run clang-format manually to fix recently changed files (#8552) 2020-03-25 14:39:53 +11:00
rgb_matrix.h Relocate RGB keycode processing (#7508) 2019-12-16 12:27:53 -08:00
rgb_matrix_drivers.c Use White channel on RGBW LEDs (#7678) 2019-12-31 16:33:49 +00:00
rgb_matrix_types.h clang-format changes 2019-08-30 15:01:52 -07:00
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 clang-format changes 2019-08-30 15:01:52 -07:00
rgblight_list.h clang-format changes 2019-08-30 15:01:52 -07:00
rgblight_modes.h New RGB Lighting effect: Twinkle (#8887) 2020-05-09 01:56:16 -07:00
rgblight_post_config.h clang-format changes 2019-08-30 15:01:52 -07:00
send_string_keycodes.h Add *OPT aliases for *ALT keycodes and macros (#8714) 2020-04-12 11:37:55 -07:00
variable_trace.c clang-format changes 2019-08-30 15:01:52 -07:00
variable_trace.h clang-format changes 2019-08-30 15:01:52 -07:00
velocikey.c clang-format changes 2019-08-30 15:01:52 -07:00
velocikey.h clang-format changes 2019-08-30 15:01:52 -07:00
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