config: reuse mousebind_button_from_str()

This commit is contained in:
Jens Peters 2024-01-06 17:56:32 +01:00 committed by Johan Malm
parent 4c59a8c3d7
commit e51c3fc5d4
3 changed files with 1 additions and 16 deletions

View file

@ -20,7 +20,6 @@ struct button_map_entry {
double tablet_get_dbl_if_positive(const char *content, const char *name);
enum rotation tablet_parse_rotation(int value);
uint32_t tablet_button_from_str(const char *button);
uint32_t mouse_button_from_str(const char *button);
void tablet_button_mapping_add(uint32_t from, uint32_t to);
void tablet_load_default_button_mappings(void);