فهرست منبع

Merge pull request #105992 from uno1982/4.5-dev-fix-android-controller

Fix issues with Android controller input handling
Rémi Verschelde 3 ماه پیش
والد
کامیت
c1d3746a67
1فایلهای تغییر یافته به همراه2 افزوده شده و 0 حذف شده
  1. 2 0
      platform/android/java/lib/src/org/godotengine/godot/input/GodotInputHandler.java

+ 2 - 0
platform/android/java/lib/src/org/godotengine/godot/input/GodotInputHandler.java

@@ -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: