diff options
author | fauxpark <fauxpark@gmail.com> | 2019-01-11 10:58:59 +1100 |
---|---|---|
committer | Drashna Jaelre <drashna@live.com> | 2019-01-11 18:32:43 -0800 |
commit | 3ea7c2a4340d129266ecea2e38185455059274d2 (patch) | |
tree | 1e0d07ae2ce9e7ef2e0353570eaf146473cd757e /keyboards/whitefox/keymaps | |
parent | 67adc29aa35719eea2de43bacf9cd5e8b5dfd79e (diff) | |
download | qmk_firmware-3ea7c2a4340d129266ecea2e38185455059274d2.tar.gz qmk_firmware-3ea7c2a4340d129266ecea2e38185455059274d2.zip |
Remove empty action_function()
Diffstat (limited to 'keyboards/whitefox/keymaps')
-rw-r--r-- | keyboards/whitefox/keymaps/kim-kim/keymap.c | 21 | ||||
-rw-r--r-- | keyboards/whitefox/keymaps/matt3o/keymap.c | 21 |
2 files changed, 0 insertions, 42 deletions
diff --git a/keyboards/whitefox/keymaps/kim-kim/keymap.c b/keyboards/whitefox/keymaps/kim-kim/keymap.c index 200098603c..459ec64371 100644 --- a/keyboards/whitefox/keymaps/kim-kim/keymap.c +++ b/keyboards/whitefox/keymaps/kim-kim/keymap.c @@ -70,24 +70,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; - } - */ -} 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; - } - */ -} |