From 3ea7c2a4340d129266ecea2e38185455059274d2 Mon Sep 17 00:00:00 2001 From: fauxpark Date: Fri, 11 Jan 2019 10:58:59 +1100 Subject: Remove empty action_function() --- keyboards/whitefox/keymaps/matt3o/keymap.c | 21 --------------------- 1 file changed, 21 deletions(-) (limited to 'keyboards/whitefox/keymaps/matt3o') diff --git a/keyboards/whitefox/keymaps/matt3o/keymap.c b/keyboards/whitefox/keymaps/matt3o/keymap.c index 136ae65fab..76fb72f8e3 100644 --- a/keyboards/whitefox/keymaps/matt3o/keymap.c +++ b/keyboards/whitefox/keymaps/matt3o/keymap.c @@ -69,24 +69,3 @@ const uint16_t fn_actions[] = { [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; - } - */ -} -- cgit v1.2.3