mirror of
https://github.com/RPCS3/rpcs3
synced 2024-09-05 16:05:25 +00:00
input: remove No Button string from raw mouse config
This commit is contained in:
parent
32a938abd2
commit
9ceacd4867
|
@ -23,9 +23,9 @@ public:
|
||||||
cfg::string mouse_button_3{this, "Button 3", "Button 3"};
|
cfg::string mouse_button_3{this, "Button 3", "Button 3"};
|
||||||
cfg::string mouse_button_4{this, "Button 4", "Button 4"};
|
cfg::string mouse_button_4{this, "Button 4", "Button 4"};
|
||||||
cfg::string mouse_button_5{this, "Button 5", "Button 5"};
|
cfg::string mouse_button_5{this, "Button 5", "Button 5"};
|
||||||
cfg::string mouse_button_6{this, "Button 6", "No Button"};
|
cfg::string mouse_button_6{this, "Button 6", ""};
|
||||||
cfg::string mouse_button_7{this, "Button 7", "No Button"};
|
cfg::string mouse_button_7{this, "Button 7", ""};
|
||||||
cfg::string mouse_button_8{this, "Button 8", "No Button"};
|
cfg::string mouse_button_8{this, "Button 8", ""};
|
||||||
|
|
||||||
cfg::string& get_button_by_index(int index);
|
cfg::string& get_button_by_index(int index);
|
||||||
cfg::string& get_button(int code);
|
cfg::string& get_button(int code);
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
|
|
||||||
static const std::map<std::string, int> raw_mouse_button_map
|
static const std::map<std::string, int> raw_mouse_button_map
|
||||||
{
|
{
|
||||||
{ "No Button", 0 },
|
{ "", 0 },
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
{ "Button 1", RI_MOUSE_BUTTON_1_UP },
|
{ "Button 1", RI_MOUSE_BUTTON_1_UP },
|
||||||
{ "Button 2", RI_MOUSE_BUTTON_2_UP },
|
{ "Button 2", RI_MOUSE_BUTTON_2_UP },
|
||||||
|
|
Loading…
Reference in a new issue