Skip to content

Commit

Permalink
Update game files to include changes to mouse event synthesis
Browse files Browse the repository at this point in the history
  • Loading branch information
alanwoolley committed Aug 4, 2023
1 parent 6093e07 commit df65ee6
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
8 changes: 8 additions & 0 deletions AndroidManifest.xml
Expand Up @@ -14,10 +14,18 @@
android:label="@string/app_name"
android:theme="@style/Theme.AppTheme">

<!-- Overscan, rather than letterboxing -->
<meta-data
android:name="SDL_ENV.SDL_HINT_RENDER_LOGICAL_SIZE_MODE"
android:value="1" />

<!-- Don't generate synthetic mouse events from touch. We will handle this ourselves in lua
so that we get better control -->
<meta-data
android:name="SDL_ENV.SDL_TOUCH_MOUSE_EVENTS"
android:value="false">
</meta-data>

<activity
android:name="uk.co.armedpineapple.cth.GameActivity"
android:configChanges="layoutDirection|locale|orientation|uiMode|screenLayout|screenSize|smallestScreenSize|keyboard|keyboardHidden|navigation"
Expand Down
2 changes: 1 addition & 1 deletion jni/src

0 comments on commit df65ee6

Please sign in to comment.