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/bri | |
parent | d8eace35ebae454923f3ed30fc93ad357640d804 (diff) |
Remove empty fn_actions[]
Diffstat (limited to 'keyboards/satan/keymaps/bri')
-rw-r--r-- | keyboards/satan/keymaps/bri/keymap.c | 35 |
1 files changed, 0 insertions, 35 deletions
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; - } -} -*/ |