Initial PoC for Dynamic lighting support

This commit is contained in:
zvecr
2023-12-26 22:47:57 +00:00
parent 592a2d26ce
commit 90f974344b
13 changed files with 904 additions and 0 deletions
+10
View File
@@ -135,6 +135,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#ifdef WPM_ENABLE
# include "wpm.h"
#endif
#ifdef LAMPARRAY_ENABLE
# include "lamparray.h"
#endif
static uint32_t last_input_modification_time = 0;
uint32_t last_input_activity_time(void) {
@@ -407,6 +410,9 @@ void keyboard_init(void) {
#ifdef SPLIT_KEYBOARD
split_pre_init();
#endif
#ifdef LAMPARRAY_ENABLE
lamparray_init();
#endif
#ifdef ENCODER_ENABLE
encoder_init();
#endif
@@ -629,6 +635,10 @@ void quantum_task(void) {
#ifdef SECURE_ENABLE
secure_task();
#endif
#ifdef LAMPARRAY_ENABLE
lamparray_task();
#endif
}
/** \brief Main task that is repeatedly called as fast as possible. */