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
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
6 years ago
..
arm_atsam Update to arm_atsam wait and timer routines 6 years ago
avr Backlight - New option : BACKLIGHT_CAPS_LOCK (#4769) 6 years ago
chibios Moving cannonkeys boards to one place, eeprom fix (#4999) 6 years ago
mbed
test
action.c Add support for RETRO_TAPPING to LT(layer, kc) 6 years ago
action.h Add support for RETRO_TAPPING to LT(layer, kc) 6 years ago
action_code.h Generate API docs from source code comments (#2491) 7 years ago
action_layer.c Change return type of layer_switch_get_layer() to uint8_t (#5011) 6 years ago
action_layer.h Change return type of layer_switch_get_layer() to uint8_t (#5011) 6 years ago
action_macro.c Generate API docs from source code comments (#2491) 7 years ago
action_macro.h
action_tapping.c Generate API docs from source code comments (#2491) 7 years ago
action_tapping.h
action_util.c Add One Shot Key callbacks (#4697) 6 years ago
action_util.h Add One Shot Key callbacks (#4697) 6 years ago
backlight.c Backlight status functions (#4259) 7 years ago
backlight.h Backlight status functions (#4259) 7 years ago
bootloader.h
bootmagic.c Generate API docs from source code comments (#2491) 7 years ago
bootmagic.h Generate API docs from source code comments (#2491) 7 years ago
command.c Refactor quantum/split_common/i2c.c, quantum/split_common/serial.c (#4522) 6 years ago
command.h Fix Command feature: use get_mods() instead of keyboard_report->mods (#4955) 6 years ago
debug.c
debug.h
eeconfig.c Final HS60v2 changes. (#4790) 6 years ago
eeconfig.h Final HS60v2 changes. (#4790) 6 years ago
eeprom.h Final HS60v2 changes. (#4790) 6 years ago
host.c Use a single endpoint for HID reports (#3951) 7 years ago
host.h Tidy up IS_{,HOST_}LED_{ON,OFF} macros (#4894) 6 years ago
host_driver.h
keyboard.c adding Hadron v3 keyboard, QWIIC devices support, haptic feedback support (#4462) 7 years ago
keyboard.h Simplify split_common Code significantly (#4772) 6 years ago
keycode.h Add MOD_MASK_* macros to core code (#4337) 6 years ago
led.h Generate API docs from source code comments (#2491) 7 years ago
magic.c Generate API docs from source code comments (#2491) 7 years ago
magic.h
matrix.h add col type defines 7 years ago
mousekey.c Diagonal micro move fix 7 years ago
mousekey.h
nodebug.h
print.c
print.h Fixed docs/newbs_testing_debugging.md and tmk_core/common/print.h 7 years ago
progmem.h Add missing parentheses to some important macros (#4775) 6 years ago
raw_hid.h
report.c Use a single endpoint for HID reports (#3951) 7 years ago
report.h Add underscores to names of brightness control constants in report.h (#4764) 6 years ago
sendchar.h
sendchar_null.c
sendchar_uart.c
sleep_led.h
suspend.h Add Suspend functions (#3112) 7 years ago
timer.h
uart.c
uart.h
util.c
util.h
virtser.h
wait.h Update to arm_atsam wait and timer routines 6 years ago