mirror of
https://github.com/godotengine/godot
synced 2024-09-20 11:50:06 +00:00
[android] Fixed wrong button mask for right click
This commit is contained in:
parent
8383e4e06d
commit
d9e24b72f7
|
@ -377,7 +377,7 @@ MouseButton AndroidInputHandler::_android_button_mask_to_godot_button_mask(int a
|
|||
if (android_button_mask & AMOTION_EVENT_BUTTON_BACK) {
|
||||
godot_button_mask |= MOUSE_BUTTON_MASK_XBUTTON1;
|
||||
}
|
||||
if (android_button_mask & AMOTION_EVENT_BUTTON_SECONDARY) {
|
||||
if (android_button_mask & AMOTION_EVENT_BUTTON_FORWARD) {
|
||||
godot_button_mask |= MOUSE_BUTTON_MASK_XBUTTON2;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue