Added Android hardware feature support to the default manifest
authorSam Lantinga <slouken@libsdl.org>
Wed, 06 Jun 2018 09:42:12 -0700
changeset 120106d44d9a589e1
parent 12009 5b41aa10b12f
child 12011 3eab73f3e17e
Added Android hardware feature support to the default manifest
android-project/app/src/main/AndroidManifest.xml
     1.1 --- a/android-project/app/src/main/AndroidManifest.xml	Tue Jun 05 14:08:39 2018 -0700
     1.2 +++ b/android-project/app/src/main/AndroidManifest.xml	Wed Jun 06 09:42:12 2018 -0700
     1.3 @@ -14,6 +14,21 @@
     1.4      <!-- OpenGL ES 2.0 -->
     1.5      <uses-feature android:glEsVersion="0x00020000" />
     1.6  
     1.7 +    <!-- Touchscreen support -->
     1.8 +    <uses-feature
     1.9 +        android:name="android.hardware.touchscreen"
    1.10 +        android:required="false" />
    1.11 +
    1.12 +    <!-- Game controller support -->
    1.13 +    <uses-feature
    1.14 +        android:name="android.hardware.gamepad"
    1.15 +        android:required="false" />
    1.16 +
    1.17 +    <!-- External mouse input events -->
    1.18 +    <uses-feature
    1.19 +        android:name="android.hardware.type.pc"
    1.20 +        android:required="false" />
    1.21 +
    1.22      <!-- Allow writing to external storage -->
    1.23      <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
    1.24      <!-- Allow access to the vibrator -->