mirror of
https://github.com/RPCS3/rpcs3.git
synced 2026-04-25 12:29:46 -06:00
Qt/input: fix mouse button names
I tested the last PR with an older commit and thought it worked.
This commit is contained in:
parent
e79f56bfdc
commit
ea0d8a0d78
@ -788,7 +788,7 @@ std::vector<pad_list_entry> keyboard_pad_handler::list_devices()
|
||||
|
||||
std::string keyboard_pad_handler::GetMouseName(const QMouseEvent* event)
|
||||
{
|
||||
return GetMouseName(event->button());
|
||||
return GetMouseName(static_cast<u32>(mouse::button) + static_cast<u32>(event->button()));
|
||||
}
|
||||
|
||||
std::string keyboard_pad_handler::GetMouseName(u32 button)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user