input: remove No Button string from raw mouse config

This commit is contained in:
Megamouse 2024-05-21 08:35:24 +02:00
parent 32a938abd2
commit 9ceacd4867
2 changed files with 4 additions and 4 deletions

View file

@ -23,9 +23,9 @@ public:
cfg::string mouse_button_3{this, "Button 3", "Button 3"};
cfg::string mouse_button_4{this, "Button 4", "Button 4"};
cfg::string mouse_button_5{this, "Button 5", "Button 5"};
cfg::string mouse_button_6{this, "Button 6", "No Button"};
cfg::string mouse_button_7{this, "Button 7", "No Button"};
cfg::string mouse_button_8{this, "Button 8", "No Button"};
cfg::string mouse_button_6{this, "Button 6", ""};
cfg::string mouse_button_7{this, "Button 7", ""};
cfg::string mouse_button_8{this, "Button 8", ""};
cfg::string& get_button_by_index(int index);
cfg::string& get_button(int code);

View file

@ -10,7 +10,7 @@
static const std::map<std::string, int> raw_mouse_button_map
{
{ "No Button", 0 },
{ "", 0 },
#ifdef _WIN32
{ "Button 1", RI_MOUSE_BUTTON_1_UP },
{ "Button 2", RI_MOUSE_BUTTON_2_UP },