diff options
author | fauxpark <fauxpark@gmail.com> | 2019-01-11 09:50:14 +1100 |
---|---|---|
committer | Drashna Jaelre <drashna@live.com> | 2019-01-11 18:32:43 -0800 |
commit | 67adc29aa35719eea2de43bacf9cd5e8b5dfd79e (patch) | |
tree | e142afec99c3703e2c5b8bba38f0cf333a6223fd /keyboards/satan/keymaps | |
parent | d8eace35ebae454923f3ed30fc93ad357640d804 (diff) |
Remove empty fn_actions[]
Diffstat (limited to 'keyboards/satan/keymaps')
-rw-r--r-- | keyboards/satan/keymaps/admiralStrokers/keymap.c | 7 | ||||
-rw-r--r-- | keyboards/satan/keymaps/bri/keymap.c | 35 |
2 files changed, 0 insertions, 42 deletions
diff --git a/keyboards/satan/keymaps/admiralStrokers/keymap.c b/keyboards/satan/keymaps/admiralStrokers/keymap.c index a728f5a539..a3626dff87 100644 --- a/keyboards/satan/keymaps/admiralStrokers/keymap.c +++ b/keyboards/satan/keymaps/admiralStrokers/keymap.c @@ -187,10 +187,3 @@ const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) { if (record->event.pressed) { } else { }; break; } return MACRO_NONE; }; -/* - Later use: - void action_function(keyrecord_t *record, uint8_t id, uint8_t opt) { } - enum function_id { }; - const uint16_t PROGMEM fn_actions[] = { }; - -*/ diff --git a/keyboards/satan/keymaps/bri/keymap.c b/keyboards/satan/keymaps/bri/keymap.c index 96775488e5..7f38ba6f5f 100644 --- a/keyboards/satan/keymaps/bri/keymap.c +++ b/keyboards/satan/keymaps/bri/keymap.c @@ -66,38 +66,3 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { _______,_______,_______, _______, _______,_______,_______,_______), }; -/* -enum function_id { - SHIFT_ESC, -}; - -const uint16_t PROGMEM fn_actions[] = { - [0] = ACTION_FUNCTION(SHIFT_ESC), -}; - -void action_function(keyrecord_t *record, uint8_t id, uint8_t opt) { - static uint8_t shift_esc_shift_mask; - switch (id) { - case SHIFT_ESC: - shift_esc_shift_mask = get_mods()&MODS_CTRL_MASK; - if (record->event.pressed) { - if (shift_esc_shift_mask) { - add_key(KC_GRV); - send_keyboard_report(); - } else { - add_key(KC_ESC); - send_keyboard_report(); - } - } else { - if (shift_esc_shift_mask) { - del_key(KC_GRV); - send_keyboard_report(); - } else { - del_key(KC_ESC); - send_keyboard_report(); - } - } - break; - } -} -*/ |