Explorar o código

Added Android hardware feature support to the default manifest

Sam Lantinga %!s(int64=8) %!d(string=hai) anos
pai
achega
77709aecc7
Modificáronse 1 ficheiros con 15 adicións e 0 borrados
  1. 15 0
      android-project/app/src/main/AndroidManifest.xml

+ 15 - 0
android-project/app/src/main/AndroidManifest.xml

@@ -14,6 +14,21 @@
     <!-- OpenGL ES 2.0 -->
     <uses-feature android:glEsVersion="0x00020000" />
 
+    <!-- Touchscreen support -->
+    <uses-feature
+        android:name="android.hardware.touchscreen"
+        android:required="false" />
+
+    <!-- Game controller support -->
+    <uses-feature
+        android:name="android.hardware.gamepad"
+        android:required="false" />
+
+    <!-- External mouse input events -->
+    <uses-feature
+        android:name="android.hardware.type.pc"
+        android:required="false" />
+
     <!-- Allow writing to external storage -->
     <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
     <!-- Allow access to the vibrator -->