10 // float tone_katamari_rolling_star[][2] = SONG(KATAMARI_ROLLING_STAR);
11 #endif // AUDIO_ENABLE
14 // SYMBOL + SYSCTL = KBCTL
15 uint32_t layer_state_set_user(uint32_t state) {
16 uint32_t intermediate_state = update_tri_layer_state(state, LR_SYMBOL, LR_SYSCTL, LR_KBCTL);
17 intermediate_state = layer_state_set_user_local(intermediate_state);
18 return intermediate_state;
22 // functions for the individual keymaps to implement if they need something extra
23 __attribute__ ((weak))
24 bool process_record_keymap(uint16_t keycode, keyrecord_t *record) {
29 // handle my own keycodes
30 bool process_record_user(uint16_t keycode, keyrecord_t *record) {
34 if (record->event.pressed) {
35 SEND_STRING(QMK_KEYBOARD "/" QMK_KEYMAP " @ " QMK_VERSION);
40 if (!record->event.pressed) {
41 SEND_STRING("make " QMK_KEYBOARD ":" QMK_KEYMAP
42 #if (defined(BOOTLOADER_DFU) || defined(BOOTLOADER_LUFA_DFU) || defined(BOOTLOADER_QMK_DFU))
44 #elif defined(BOOTLOADER_HALFKAY)
46 #elif defined(BOOTLOADER_CATERINA)
59 if (record->event.pressed) {
61 // PLAY_SONG(tone_katamari_rolling_star);
66 return process_record_keymap(keycode, record);
70 #ifdef TAP_DANCE_ENABLE
71 qk_tap_dance_action_t tap_dance_actions[] = {
73 #endif // TAP_DANCE_ENABLE
77 void keyboard_post_init_user(void) {
78 keyboard_post_init_user_local();
83 __attribute__ ((weak))
84 void keyboard_post_init_user_local(void) {}
86 __attribute__ ((weak))
87 uint32_t layer_state_set_user_local(uint32_t state) {