OpenAnnePro / qmk_firmware

This has since been merged back to mainline QMK. Please use qmk/qmk_firmware
https://qmk.fm
GNU General Public License v2.0
196 stars 64 forks source link

[Feature Request] Support for the default_layer_state_set_user() callback #28

Closed DaniloNC closed 3 years ago

DaniloNC commented 3 years ago

Feature Request Type

Description

The main QMK repo supports the default_layer_state_set_user callback, this callback is useful if someone wants to change the LED color based on the default layers selected (e.g. using the DF() ).

I tried to use this on my keyboard layout here and I notice this is not implemented in the OpenAnnePro qmk fork.

Is it possible to implement this feature from the qmk official repo?

DaniloNC commented 3 years ago

Actually, this callback already exists but for some reason github search was not able to find it... I am closing this issue and I will check why my code is not working the way I expected it to work.

https://github.com/OpenAnnePro/qmk_firmware/search?q=default_layer_state_set_kb