summaryrefslogtreecommitdiff
path: root/keyboards/whitefox
diff options
context:
space:
mode:
authorfauxpark <fauxpark@gmail.com>2019-01-11 10:58:59 +1100
committerDrashna Jaelre <drashna@live.com>2019-01-11 18:32:43 -0800
commit3ea7c2a4340d129266ecea2e38185455059274d2 (patch)
tree1e0d07ae2ce9e7ef2e0353570eaf146473cd757e /keyboards/whitefox
parent67adc29aa35719eea2de43bacf9cd5e8b5dfd79e (diff)
Remove empty action_function()
Diffstat (limited to 'keyboards/whitefox')
-rw-r--r--keyboards/whitefox/keymaps/kim-kim/keymap.c21
-rw-r--r--keyboards/whitefox/keymaps/matt3o/keymap.c21
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;
- }
- */
-}