You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
Merge pull request #105992 from uno1982/4.5-dev-fix-android-controller
Fix issues with Android controller input handling
This commit is contained in:
@@ -446,9 +446,11 @@ public class GodotInputHandler implements InputManager.InputDeviceListener, Sens
|
|||||||
button = 16;
|
button = 16;
|
||||||
break;
|
break;
|
||||||
case KeyEvent.KEYCODE_BUTTON_SELECT:
|
case KeyEvent.KEYCODE_BUTTON_SELECT:
|
||||||
|
case KeyEvent.KEYCODE_BACK:
|
||||||
button = 4;
|
button = 4;
|
||||||
break;
|
break;
|
||||||
case KeyEvent.KEYCODE_BUTTON_START:
|
case KeyEvent.KEYCODE_BUTTON_START:
|
||||||
|
case KeyEvent.KEYCODE_MENU:
|
||||||
button = 6;
|
button = 6;
|
||||||
break;
|
break;
|
||||||
case KeyEvent.KEYCODE_BUTTON_THUMBL:
|
case KeyEvent.KEYCODE_BUTTON_THUMBL:
|
||||||
|
|||||||
Reference in New Issue
Block a user