Skip to content

Commit

Permalink
Remove is_tap_key as it is unused in the code base
Browse files Browse the repository at this point in the history
...and subject to the same bug as is_tap_record.
  • Loading branch information
KarlK90 committed Aug 15, 2022
1 parent 9ade2ca commit bcac323
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 10 deletions.
9 changes: 0 additions & 9 deletions quantum/action.c
Original file line number Diff line number Diff line change
Expand Up @@ -1085,15 +1085,6 @@ void clear_keyboard_but_mods_and_keys() {
#endif
}

/** \brief Utilities for actions. (FIXME: Needs better description)
*
* FIXME: Needs documentation.
*/
bool is_tap_key(keypos_t key) {
action_t action = layer_switch_get_action(key);
return is_tap_action(action);
}

/** \brief Utilities for actions. (FIXME: Needs better description)
*
* FIXME: Needs documentation.
Expand Down
1 change: 0 additions & 1 deletion quantum/action.h
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,6 @@ void clear_keyboard(void);
void clear_keyboard_but_mods(void);
void clear_keyboard_but_mods_and_keys(void);
void layer_switch(uint8_t new_layer);
bool is_tap_key(keypos_t key);
bool is_tap_record(keyrecord_t *record);
bool is_tap_action(action_t action);

Expand Down

0 comments on commit bcac323

Please sign in to comment.