mirror of
https://github.com/Keychron/qmk_firmware.git
synced 2024-12-28 12:09:16 +06:00
e6266b19be
* Initialize Layer State on startup Right now, on startup, the default layer state gets called and set, triggering the callback functions for the default layer state. However, the normal layer state never actually gets initialized. It's set to 0 directly, by default, but the callback functions are never actually called. This creates some inconsistency in the behavior for end users. This adds a simple "clear" that triggers the callback on startup. This should produce more consisten behavior between the two functions and layer masks. * Stupid hack * Fix type casting? * Fix compile issues with magic is disabled |
||
---|---|---|
.. | ||
arm_atsam | ||
avr | ||
chibios | ||
test | ||
action_code.h | ||
action_layer.c | ||
action_layer.h | ||
action_macro.c | ||
action_macro.h | ||
action_tapping.c | ||
action_tapping.h | ||
action_util.c | ||
action_util.h | ||
action.c | ||
action.h | ||
bootloader.h | ||
bootmagic_lite.c | ||
bootmagic.c | ||
bootmagic.h | ||
command.c | ||
command.h | ||
debug.c | ||
debug.h | ||
eeconfig.c | ||
eeconfig.h | ||
eeprom.h | ||
host_driver.h | ||
host.c | ||
host.h | ||
keyboard.c | ||
keyboard.h | ||
keycode.h | ||
led.h | ||
magic.c | ||
magic.h | ||
matrix.h | ||
mousekey.c | ||
mousekey.h | ||
nodebug.h | ||
print.c | ||
print.h | ||
progmem.h | ||
raw_hid.h | ||
report.c | ||
report.h | ||
sendchar_null.c | ||
sendchar_uart.c | ||
sendchar.h | ||
sleep_led.h | ||
suspend.h | ||
timer.h | ||
uart.c | ||
uart.h | ||
util.c | ||
util.h | ||
virtser.h | ||
wait.h |