1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-04 12:00:25 +00:00

Fix for ps4 and ps5 controller options and share buttons

This commit is contained in:
uno1982
2025-05-01 11:30:02 -05:00
parent 32eafc18b4
commit 5ce11b1eac

View File

@@ -448,9 +448,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: