blob: 305bacc3eae5969fd313a8c349be7b335c6ced4b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
#include QMK_KEYBOARD_H
#include "star_key.h"
#include "lighting.h"
#include "enter_dance.h"
#include "shift_dance.h"
#include "keycodes.h"
void keyboard_post_init_user(void) {
lighting_init();
star_key_init();
}
void housekeeping_task_user(void) {
if (is_keyboard_master()) {
sync_star_key();
}
housekeeping_task_lighting();
}
void oneshot_mods_changed_user(uint8_t mods) {
oneshot_mods_changed_lighting(mods);
}
bool process_record_user(uint16_t keycode, keyrecord_t *record) {
star_key_process_record(keycode, record);
shift_dance_process_record(keycode, record);
enter_dance_process_record(keycode, record);
return keycodes_process_record(keycode, record);
}
|