mirror of
https://github.com/RPCS3/rpcs3.git
synced 2026-04-20 22:05:06 +00: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
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue