mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-02-17 04:39:34 +00:00
Disable the right mouse button on "Clickables"
This commit is contained in:
parent
19f4b22a56
commit
c250838167
@ -250,7 +250,7 @@ bool Clickable::Touch(const TouchInput &input) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Ignore buttons other than the left one.
|
// Ignore buttons other than the left one.
|
||||||
if ((input.flags & TOUCH_MOUSE) && input.id != 0) {
|
if ((input.flags & TOUCH_MOUSE) && (input.buttons & 1) == 0) {
|
||||||
return contains;
|
return contains;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user