Procházet zdrojové kódy

Added Android hardware feature support to the default manifest

Sam Lantinga před 6 roky
rodič
revize
77709aecc7
1 změnil soubory, kde provedl 15 přidání a 0 odebrání
  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 -->