mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +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:
commit
c1d3746a67
1 changed files with 2 additions and 0 deletions
|
|
@ -446,9 +446,11 @@ public class GodotInputHandler implements InputManager.InputDeviceListener, Sens
|
|||
button = 16;
|
||||
break;
|
||||
case KeyEvent.KEYCODE_BUTTON_SELECT:
|
||||
case KeyEvent.KEYCODE_BACK:
|
||||
button = 4;
|
||||
break;
|
||||
case KeyEvent.KEYCODE_BUTTON_START:
|
||||
case KeyEvent.KEYCODE_MENU:
|
||||
button = 6;
|
||||
break;
|
||||
case KeyEvent.KEYCODE_BUTTON_THUMBL:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue