Emanuele Disco
33924412ad
build: remove buildToolsVersion to prevent warning messages and added ndkVersion to build.gradle since is the recommended way to set NDK version
...
This way github workflow works correctly, also ndk.dir is deprecated since AGP 4.0
Refs: https://github.com/android/ndk-samples/wiki/Configure-NDK-Path#introduction
2023-02-07 14:34:43 +09:00
Emanuele Disco
6acdb02760
Merge branch 'origin/OpenXR'
2023-02-07 11:17:39 +09:00
Simon
7c0534ec41
Gradle changes to support building without dependency on the Meta OpenXR SDK package
...
the AndroidPrebuilt libopenxr_loader.so is the Android library, rather than an XR vendor specific library, provided solely for linking against.
2023-02-06 21:53:12 +00:00
Emanuele Disco
ef6642ab33
build: restore gradle wrapper files since the gradle wrapper is used for external build on github workflow
...
refs: 9a104896da
BREAKING CHANGE: From this commit the PICO SDK Native libraries are required for building the PICO version
Download the libs from https://developer-global.pico-interactive.com/sdk?deviceId=1&platformId=3&itemId=11
Then put the content of libs folder into OpenXR/Libs
2023-01-28 23:25:22 +09:00
Emanuele Disco
03dd833d0f
Merge branch 'OpenXR'
2023-01-28 23:05:48 +09:00
Simon
579d5f91cf
Update gzdoom-g3.3mgw_mobile
2023-01-27 19:21:16 +00:00
Simon
9a104896da
Changes to make selection of openxr_loader.so automatic based on OPENXR_HMD
...
Removed unused files too
2023-01-27 19:21:11 +00:00
Emanuele Disco
05764d2013
fix: correct wrong offset applied to weapons
2023-01-28 02:24:20 +09:00
Emanuele Disco
4f563df9e9
fix: invert controller feedback
2023-01-28 00:50:21 +09:00
Emanuele Disco
b3f1b2461c
Merge branch 'OpenXR'
2023-01-26 20:47:13 +09:00
Simon
b9edae307e
Ensure Touches are cleared before input processed
2023-01-25 23:06:42 +00:00
Simon
47487cdc1e
Update gzdoom-g3.3mgw_mobile
2023-01-25 09:48:49 +00:00
Simon
9e0a129d07
Default useVirtualScreen to false
...
This allows the playerYaw value to be captured prior to the menu being displayed, so it should show up in front of the player every time
2023-01-25 09:45:36 +00:00
Simon
63bb383265
Fixed missing thumbstick click
2023-01-21 20:26:13 +00:00
Simon
12a8506e3c
Input refactoring and diagonal speed fix for Pico
2023-01-21 15:09:35 +00:00
Simon
a5e641dca5
Fix couple of issues
...
- Pico build hanging on start-up
- Improved ratio of screen so menu and images look better
2023-01-17 22:12:04 +00:00
Emanuele Disco
e39bb37ffb
fix: fix return for SetRefreshRate method always returning 0
...
The method will correctly return 0 when request has been accepted and -1 if the system cannot change the refresh rate. This was the previous behaviour when using the VrAPI.
2023-01-13 17:33:13 +09:00
Emanuele Disco
600f048355
ci: change github workflow for meta quest and pico build
...
- fixed the ci build after openxr implementation
2023-01-13 17:33:08 +09:00
Emanuele Disco
201b3291d7
build: fix build after openxr integration
...
BREAKING CHANGE:
Mobile SDK and the VrApi library have been replaced with OpenXR Mobile SDK
A new environment is required in order to build the game, check the website for more information
https://developer.oculus.com/documentation/native/android/mobile-openxr/
2023-01-13 17:32:54 +09:00
Emanuele Disco
8c179fad17
Merge branch 'origin/OpenXR'
2023-01-13 17:32:47 +09:00
Emanuele Disco
b61a1bfeea
fix: address several compilation warnings
2023-01-03 13:34:07 +09:00
Emanuele Disco
f00da2bff1
refactor: add missing log to GLES3JNILib_prepareEnvironment
2023-01-03 01:11:37 +09:00
Emanuele Disco
b980e7c34a
ci: refactor and improve github workflow
...
change os to linux, windows can also be added
new matrix config hmd that can be used to build agains different headset, for now just meta, we can add pico as well
fix settings.gradle build on linux fail because of this
refs: 86dc59fd31e9c4fc030624066dd4e41dfe1b05cf
2023-01-03 01:07:50 +09:00
Emanuele Disco
500008d8dd
build: add ndkVersion and format build.gradle
...
replace gradle-wrapper.jar since it throws error when trying to retrieve the version
2023-01-03 01:07:32 +09:00
Simon
6f86d67fdc
Several fixes
...
- Ensure Auto Map and HUD display correctly
- Ensure virtual screen is always shown in front of player
- Restore working Thumbstick click
- Reduce chances of frame submission occurring in the wrong order
2022-12-30 21:05:01 +00:00
Simon
3ea7df9cc3
Restored Thumbrest Touch
2022-12-29 09:49:50 +00:00
Simon
20a8d2e40f
First tranche of OpenXR changes
2022-12-27 23:27:29 +00:00
Emanuele Disco
b3794e0b4e
feat: added PrepareEnvironment JNI callback that prepare the environment
...
- removed the chdir call and moved inside the new method where we also set the progdir variable used by ExpandEnvVars
- refactored and cleaned up the activity create method
feat: the profile is processed before reloading the application.
The custom commandline file is copied to the commandfile.txt and the latter is then used to launch the game, this behaviour should make the launcher compatible with the new profile system
2022-12-17 13:55:20 +09:00
Emanuele Disco
ee4291310c
feat: added a reload function to the main activity
...
that can be used to restart the game
2022-12-14 23:41:19 +09:00
Emanuele Disco
75b46480d1
Merge remote-tracking branch 'origin/master' into questzdoom
2022-12-09 15:11:51 +09:00
Emanuele Disco
03c18de737
changed app version to 1.5.0
2022-12-08 12:57:55 +09:00
Emanuele Disco
ce1aa8ab1b
- added three variables to offset the position of the weapon in vr
2022-12-05 00:14:50 +09:00
Emanuele Disco
0f77d3ce61
- added local.properties to gitignore
2022-11-30 13:58:14 +09:00
Emanuele Disco
570bf494c6
- changed event for main controller btn 2 to key BACKSPACE
...
when dominant grip pushed
2022-11-19 16:01:02 +09:00
Emanuele Disco
84b8113645
Update gzdoom-g3.3mgw_mobile
2022-11-07 01:20:10 +09:00
Emanuele Disco
0dc8495ae8
- removed fluidsynth unused folder
...
- updated fluidsynth lite to version 1.1.11
2022-04-18 21:49:11 +09:00
Emanuele Disco
97f066669f
- replaced fluidsynth.sf2 with the default sf2 file in lzdoom asset
2022-04-03 23:54:11 +09:00
Emanuele Disco
bf44809a31
- enabled offhand grip button event whether or not the two handed weapon option is turned on
2022-03-08 04:19:51 +09:00
Emanuele Disco
f5d006eb2e
Merge branch 'beef_master' into questzdoom
2022-03-04 02:22:29 +09:00
Simon
aab0df4a80
Update gzdoom-g3.3mgw_mobile
2022-03-02 21:28:11 +00:00
Simon
dd422472d7
fix various build breaks
...
and added VR API extra latency mode
2022-03-02 21:27:29 +00:00
Emanuele Disco
73e0e73317
- fixed lzma compilation
...
added flag -march=armv8+crc
2021-12-30 20:54:28 +09:00
Emanuele Disco
e1371f4bde
Merge remote-tracking branch 'origin/master' into questzdoom
2021-11-12 13:47:26 +09:00
Emanuele Disco
8773d849f9
- disabled snapturn when secondary button pressed, enabling 4 more buttons to be binded
2021-11-12 13:47:12 +09:00
Emanuele Disco
0c96f9908a
- cleaned up button events
...
- added button events for main and offhand joystick with and without secondary button pressed
- simplified implementation for wheel buttons events
2021-11-12 13:47:11 +09:00
Emanuele Disco
70cb4046af
- added two more button events to the main controller
...
secondary button + joysitick up
secondary button + joystick down
they can be used to switch offhand weapon with new qzd update
- moved default button events for joysticks way down to avoid conflict during key bindings with other buttons events
2021-11-12 13:47:11 +09:00
Emanuele Disco
72feffbbef
- added pitch adjust to offhand weapon
2021-11-11 01:32:54 +09:00
Simon
b0b7a36d46
Update to latest changes from @emawind84
2021-11-02 22:51:52 +00:00
Simon
4fbcca0df6
Point to my fork of @emawind84 's repo
2021-09-29 22:39:14 +01:00
Emanuele Disco
40db6ea16b
- changed submodule to latest questzdoom update
...
- repacked lzdoom.pk3
2021-09-28 13:37:55 +09:00