KC_TRNS, RGB_SAD, KC_TRNS, RGB_VAD, \
RGB_MOD, KC_TRNS)
};
-
-/*enum function_id {
-};*/
-
-void action_function(keyrecord_t *record, uint8_t id, uint8_t opt) {
- switch (id) {
- }
-}
-
return MACRO_NONE;
};
-void action_function(keyrecord_t *record, uint8_t id, uint8_t opt) {
-
-}
-
void matrix_init_user(void) {
}
led_set_user(usb_led);
}
-//void action_function(keyrecord_t *event, uint8_t id, uint8_t opt)
-//{
-//#ifdef AUDIO_ENABLE
-// int8_t sign = 1;
-//#endif
-// if(id == LFK_ESC_TILDE){
-// // Send ~ on shift-esc
-// void (*method)(uint8_t) = (event->event.pressed) ? &add_key : &del_key;
-// uint8_t shifted = get_mods() & (MOD_BIT(KC_LSHIFT) | MOD_BIT(KC_RSHIFT));
-// method(shifted ? KC_GRAVE : KC_ESCAPE);
-// send_keyboard_report();
-// }else if(event->event.pressed){
-// switch(id){
-// case LFK_CLEAR:
-// // Go back to default layer
-// layer_clear();
-// break;
-//#ifdef ISSI_ENABLE
-// case LFK_LED_TEST:
-// led_test();
-// break;
-//#endif
-// }
-// }
-//}
-
void reset_keyboard_kb(){
#ifdef WATCHDOG_ENABLE
MCUSR = 0;
}
};
-/*enum function_id {
-
-};*/
-
const uint16_t PROGMEM fn_actions[] = {
[0] = ACTION_LAYER_TAP_KEY(_RGB, KC_SPC),
};
}
return MACRO_NONE;
};
-
-void action_function(keyrecord_t *record, uint8_t id, uint8_t opt) {
- switch (id) {
-
- }
-}
[7] = ACTION_USAGE_CONSUMER(0x1A0),
};
-
-/* custom action function */
-void action_function(keyrecord_t *record, uint8_t id, uint8_t opt) {
- /*
- (void)opt;
- switch(id) {
- case ACTION_LEDS_ALL:
- if(record->event.pressed) {
- // signal the LED controller thread
- chMBPost(&led_mailbox, LED_MSG_GAME_TOGGLE, TIME_IMMEDIATE);
- }
- break;
- case ACTION_LEDS_GAME:
- if(record->event.pressed) {
- // signal the LED controller thread
- chMBPost(&led_mailbox, LED_MSG_ALL_TOGGLE, TIME_IMMEDIATE);
- }
- break;
- }
- */
-}
[7] = ACTION_USAGE_CONSUMER(0x1A0),
};
-
-/* custom action function */
-void action_function(keyrecord_t *record, uint8_t id, uint8_t opt) {
- /*
- (void)opt;
- switch(id) {
- case ACTION_LEDS_ALL:
- if(record->event.pressed) {
- // signal the LED controller thread
- chMBPost(&led_mailbox, LED_MSG_GAME_TOGGLE, TIME_IMMEDIATE);
- }
- break;
- case ACTION_LEDS_GAME:
- if(record->event.pressed) {
- // signal the LED controller thread
- chMBPost(&led_mailbox, LED_MSG_ALL_TOGGLE, TIME_IMMEDIATE);
- }
- break;
- }
- */
-}
}
return MACRO_NONE;
};
-
-void action_function(keyrecord_t *record, uint8_t id, uint8_t opt) {
-}
\ No newline at end of file