2b3859937b
In register_code16 and unregister_code16 we call register_code and unregister_code twice, once for the mods and once for the keycode. The (un)register_code have many check to see that keycode we have sent however because we know that we are sending it a mods key, why not just skip all of it and call (un)register_mods instead. This will skip alot of checks and should speedup the loop a little. |
||
---|---|---|
.. | ||
api | ||
audio | ||
keymap_extras | ||
process_keycode | ||
serial_link | ||
template | ||
tools | ||
visualizer | ||
analog.c | ||
analog.h | ||
api.c | ||
api.h | ||
config_common.h | ||
dynamic_macro.h | ||
keycode_config.c | ||
keycode_config.h | ||
keymap_common.c | ||
keymap.h | ||
light_ws2812.c | ||
light_ws2812.h | ||
matrix.c | ||
pincontrol.h | ||
quantum_keycodes.h | ||
quantum.c | ||
quantum.h | ||
rgblight.c | ||
rgblight.h | ||
variable_trace.c | ||
variable_trace.h |