SDL: setenv("CARDBOARD_VR") if started from Google Cardboard app

This commit is contained in:
pelya
2015-12-14 01:07:02 +02:00
parent 12e9683685
commit abaf57d615
7 changed files with 11 additions and 5 deletions

View File

@@ -25,6 +25,7 @@
<category android:name="android.intent.category.MULTIWINDOW_LAUNCHER" /> <!-- Samsung's multiwindow -->
<action android:name="com.sec.android.airview.HOVER" /> <!-- Stupid Samsung requires their own intent for finger-hover events -->
<category android:name="android.intent.category.LEANBACK_LAUNCHER" /> <!-- Android TV requires this -->
<category android:name="com.google.intent.category.CARDBOARD" /> <!-- Cardboard VR -->
</intent-filter>
</activity>
<!-- ==ADMOB== --> <activity android:name="com.google.android.gms.ads.AdActivity" android:configChanges="mcc|mnc|locale|touchscreen|keyboard|keyboardHidden|navigation|screenLayout|fontScale|uiMode|orientation|screenSize|smallestScreenSize|layoutDirection"/>