qmk_firmware/tmk_core/common
Thomas Baart 47051f506f Add One Shot Key callbacks (#4697)
* Added callbacks to one shot modifier changes

* Altered signature of callback functions

* Reordered the callback methods, shortened brief documentation

* Added One Shot Modifier callback documentation

* First attempt at unit tests

* Revert "First attempt at unit tests"

This reverts commit 5ec21a782202c0d74cf21cb852bd319f0c8b4842.

* Simplified oneshot function implementations

* Made clear_oneshot_locked_mods to be conform action_util.h, adhering to the (void) signature

* Made used datatypes for oneshot mods consistently unsigned integers

* Corrected callback to call clear callback when clear_oneshot_locked_mods is invoked

* Simplified oneshot equals statements

* Corrected return type and signature of get and set oneshot locked mods

* Consolidated one shot callbacks, added initial layer callback version

* Fixed non-updating one shot layer variable after timeout or other clear, added code comments

* Added better one shot key docs
2019-02-05 10:19:56 -08:00
..
arm_atsam Update to arm_atsam wait and timer routines 2019-01-07 12:44:55 -08:00
avr Backlight - New option : BACKLIGHT_CAPS_LOCK (#4769) 2019-01-28 16:57:56 -08:00
chibios Moving cannonkeys boards to one place, eeprom fix (#4999) 2019-01-29 20:04:20 -08:00
mbed
test
action.c Add support for RETRO_TAPPING to LT(layer, kc) 2019-01-25 11:27:14 -08:00
action.h Add support for RETRO_TAPPING to LT(layer, kc) 2019-01-25 11:27:14 -08:00
action_code.h
action_layer.c Change return type of layer_switch_get_layer() to uint8_t (#5011) 2019-01-31 16:40:12 -08:00
action_layer.h Change return type of layer_switch_get_layer() to uint8_t (#5011) 2019-01-31 16:40:12 -08:00
action_macro.c
action_macro.h
action_tapping.c
action_tapping.h
action_util.c Add One Shot Key callbacks (#4697) 2019-02-05 10:19:56 -08:00
action_util.h Add One Shot Key callbacks (#4697) 2019-02-05 10:19:56 -08:00
backlight.c
backlight.h
bootloader.h
bootmagic.c
bootmagic.h
command.c
command.h Fix Command feature: use get_mods() instead of keyboard_report->mods (#4955) 2019-01-27 00:28:40 -08:00
debug.c
debug.h
eeconfig.c Final HS60v2 changes. (#4790) 2019-01-06 17:22:19 -08:00
eeconfig.h Final HS60v2 changes. (#4790) 2019-01-06 17:22:19 -08:00
eeprom.h Final HS60v2 changes. (#4790) 2019-01-06 17:22:19 -08:00
host.c
host.h Tidy up IS_{,HOST_}LED_{ON,OFF} macros (#4894) 2019-01-20 20:16:36 -08:00
host_driver.h
keyboard.c
keyboard.h Simplify split_common Code significantly (#4772) 2019-01-17 10:08:14 -08:00
keycode.h Add MOD_MASK_* macros to core code (#4337) 2019-01-25 13:02:38 -08:00
led.h
magic.c
magic.h
matrix.h
mousekey.c
mousekey.h
nodebug.h
print.c
print.h
progmem.h Add missing parentheses to some important macros (#4775) 2019-01-08 15:08:17 -08:00
raw_hid.h
report.c
report.h Add underscores to names of brightness control constants in report.h (#4764) 2019-01-05 08:31:24 -08:00
sendchar.h
sendchar_null.c
sendchar_uart.c
sleep_led.h
suspend.h
timer.h
uart.c
uart.h
util.c
util.h
virtser.h
wait.h Update to arm_atsam wait and timer routines 2019-01-07 12:44:55 -08:00