Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pull] master from LibreVR:master #1

Merged
merged 839 commits into from
Jan 16, 2019
Merged
Changes from 1 commit
Commits
Show all changes
839 commits
Select commit Hold shift + click to select a range
902a9aa
Vulkan: Fix compiler warnings.
CrossVR Dec 13, 2017
91ab83a
SettingsManager: Use snprintf instead of sstream.
CrossVR Dec 13, 2017
1abc9b4
InputManager: Fix compiler warnings.
CrossVR Dec 13, 2017
53b1b0a
ReviveOverlay: Release mouse buttons when the overlay is hidden.
CrossVR Dec 13, 2017
2f08ba0
SettingsManager: Look for custom app-specific scripts.
CrossVR Dec 14, 2017
83924ec
Oculus.js: Check the response status code.
CrossVR Dec 14, 2017
2974543
Settings: Remove outdated setting.
CrossVR Dec 14, 2017
e5b46cd
InputManager: Fix lua library loading.
CrossVR Dec 14, 2017
0388fba
InputManager: Implement LUA error handling.
CrossVR Dec 14, 2017
af652ec
InputManager: Give each controllers its own LUA state.
CrossVR Dec 18, 2017
d2fea85
InputManager: Don't pop the error handler.
CrossVR Dec 18, 2017
0653ca4
InputManager: That is not a number.
CrossVR Dec 18, 2017
00fcd5f
InputManager: Add LUA time global to replace os.clock().
CrossVR Dec 18, 2017
57f7718
InputManager: Remember the last state.
CrossVR Dec 18, 2017
4180dc6
default.lua: Fix grip toggle modes.
CrossVR Dec 18, 2017
ad4341f
default.lua: Add Knuckles support.
CrossVR Dec 21, 2017
de3d2dc
InputManager: Cache the button names.
CrossVR Dec 22, 2017
ff0b013
InputManager: Add a mutex for thread-safety.
CrossVR Dec 22, 2017
63ec5fa
default.lua: Skip the first two known axes.
CrossVR Dec 22, 2017
4b4192b
InputManager: Cache axis type names.
CrossVR Dec 22, 2017
b340d48
InputManager: Only query the axis type when changed.
CrossVR Dec 22, 2017
9420706
InputManager: Remove plans to support Prop_SupportedButtons_Uint64.
CrossVR Dec 22, 2017
3488434
InputManager: Make grip_mode a global.
CrossVR Dec 22, 2017
f2fa1c0
default.lua: Fix thumbstick re-centering.
CrossVR Dec 22, 2017
a72066d
fixing external sensor spoofing with WMR which caused apps like Henry…
tamer82 Dec 28, 2017
6ece08a
ReviveOverlay: Force the use of the high-performance GPU on notebooks.
CrossVR Dec 28, 2017
56a4555
fixed coding style to match repo
tamer82 Dec 28, 2017
3629e20
InputManager: Fix incorrect axis type detection.
CrossVR Dec 29, 2017
178fa42
Merge pull request #877 from tamer82/master
CrossVR Dec 29, 2017
d92a9c6
Reducing far frustum value as large value seems to break CocoVR
tamer82 Dec 29, 2017
bd8b7bb
Merge pull request #879 from tamer82/master
CrossVR Dec 30, 2017
5e69e06
ReviveOverlay: Update version info.
CrossVR Dec 31, 2017
a6681a0
Update appcast.xml
CrossVR Jan 1, 2018
d1b51c2
Update appcast.xml
CrossVR Jan 1, 2018
8cf432c
Update appcast.xml
CrossVR Jan 3, 2018
0c0b066
ReviveOverlay: Add shadow effect to revive icon.
CrossVR Jan 3, 2018
c81f7ff
Restructure the repository.
CrossVR Jan 4, 2018
8b736c2
Update to Visual Studio 2017.
CrossVR Jan 4, 2018
6feeff5
Add cppwinrt to the Externals.
CrossVR Jan 4, 2018
44531f2
Revive: Copyheart.
CrossVR Jan 4, 2018
b01dd8b
Revive: Update platform version.
CrossVR Jan 4, 2018
3078d53
Revive: Update project file.
CrossVR Jan 6, 2018
e86e7cf
Remixed: Early Mixed Reality support.
CrossVR Jan 6, 2018
125cfef
Remixed: Add hooking support.
CrossVR Jan 6, 2018
548ff51
Remixed: Use a sane default FOV.
CrossVR Jan 6, 2018
debf088
Update cppwinrt submodule.
CrossVR Jan 7, 2018
7bb1cc2
CompositorD3D: Copy to the correct subresource.
CrossVR Jan 7, 2018
e99f74f
Remixed: Detect available tracking caps.
CrossVR Jan 7, 2018
7eb4aa8
Remixed: Implement swapchains.
CrossVR Jan 7, 2018
4d139cb
Remixed: Fix incorrect timestamp conversion.
CrossVR Jan 7, 2018
fb2bb68
SessionDetails: Fix incorrect PixelsPerTanAngleAtCenter.
CrossVR Jan 7, 2018
85e3d85
Session: Don't include namespaces.
CrossVR Jan 7, 2018
1237f2d
Remixed: Implement GetTrackingState() for the headpose.
CrossVR Jan 7, 2018
f8ad843
Remixed: Use a default IPD until we can query it.
CrossVR Jan 8, 2018
90551eb
Session: Use a frame list for frame indexing.
CrossVR Jan 8, 2018
667c866
SessionDetails: Reconstruct eye matrix for WMR.
CrossVR Jan 8, 2018
14f1920
Remixed: Add FrameList to keep track fo frames in-flight.
CrossVR Jan 9, 2018
7d85fbe
Update CompositorBase.cpp
LukeRoss00 Jan 22, 2018
f81a06f
Merge pull request #908 from LukeRoss00/patch-1
CrossVR Jan 22, 2018
d03f872
Win32Window: Add a window to pass to HolographicSpace.
CrossVR Jan 24, 2018
e5fe89a
Remixed: Fix shutdown exceptions.
CrossVR Jan 24, 2018
7ab1981
ReviveOverlay: Display the app key if the cover image can't be found.
CrossVR Jan 28, 2018
655c208
ReviveOverlay: Support the new CoreData folder.
CrossVR Jan 28, 2018
b39ce07
ReviveOverlay: Update version info.
CrossVR Jan 28, 2018
31975f1
Win32Window: Fix incorrect calling convention.
CrossVR Jan 28, 2018
817adde
InputManager: Don't set the CalibratedOrigin.
CrossVR Jan 28, 2018
6f1f23b
default.lua: Restore old trigger-as-grip behaviour.
CrossVR Jan 28, 2018
ad2f5dd
default.lua: Grip toggle state now also affects touch gestures.
CrossVR Jan 28, 2018
5afe330
Update appcast.xml
CrossVR Jan 28, 2018
d07f960
ReviveOverlay: Use Oculus prefix for all built-in apps.
CrossVR Jan 29, 2018
efc179c
Remixed: Use GetRenderDesc() placeholder code that doesn't rely on th…
CrossVR Jan 31, 2018
8d8f5fa
CompositorD3D: Remove a redundant render target size query.
CrossVR Jan 31, 2018
e7aaacc
TextureD3D: Convert to a linear format for WMR.
CrossVR Jan 31, 2018
84c061b
Remixed: Implement CompositorD3D for WMR.
CrossVR Jan 31, 2018
6c254c4
Remixed: Use a single-threaded appartment model.
CrossVR Jan 31, 2018
53b79e5
Remixed: Rename the REV prefix to REM.
CrossVR Jan 31, 2018
58ddb97
Remixed: Add missing shader files.
CrossVR Feb 6, 2018
fcc5291
ReviveOverlay: Remove unused array.
CrossVR Feb 6, 2018
5f2654d
ReviveOverlay: Support opening the overlay on the desktop.
CrossVR Feb 10, 2018
d0ffe2b
ReviveOverlay: Scale mouse events when the window is resized.
CrossVR Feb 10, 2018
63db72f
SessionDetails: Disable the eye matrix hack for WMR.
CrossVR Feb 14, 2018
3cc8d58
CompositorD3D: Construct a dummy device with a seed frame.
CrossVR Feb 17, 2018
378fbf4
ReviveOverlay: Mark injector as a dependency.
CrossVR Feb 17, 2018
4fb3cc8
Remixed: Use the left-eye pose as the headpose.
CrossVR Feb 17, 2018
a186fb6
Remixed: The Numerics documentation is full of lies.
CrossVR Feb 19, 2018
11cbb7f
Remixed: Add support for ovrLayerFlag_TextureOriginAtBottomLeft.
CrossVR Feb 20, 2018
6590cd2
TextureBase: Support SampleCount.
CrossVR Feb 19, 2018
86926af
Revive: Switch from glew to glad.
CrossVR Feb 20, 2018
91150ba
Remixed: Support OpenGL applications through WGL interop.
CrossVR Feb 20, 2018
f11711a
FrameList: Support auto-incrementing the frame index.
CrossVR Feb 20, 2018
364259e
CompositorD3D: Set the correct viewport.
CrossVR Feb 20, 2018
6078474
CompositorD3D: Handle SRGB conversion using the RTV.
CrossVR Feb 21, 2018
b3ba463
Remixed: Support modifying the tracking origin.
CrossVR Feb 21, 2018
17b1af4
Remixed: Use SpatialStageFrameOfReference for a floor-level origin.
CrossVR Feb 21, 2018
33733b5
FrameList: Ensure we never try to return a non-existant frame.
CrossVR Feb 25, 2018
6efb836
Remixed: Use make_unique() instead of reset().
CrossVR Feb 25, 2018
52ec402
Remixed: Report the hands tracking state.
CrossVR Feb 25, 2018
88bf686
Remixed: Implement input state query.
CrossVR Feb 25, 2018
7a170f9
Remixed: Don't invert the translation offset between the eyes.
CrossVR Feb 26, 2018
fd5a55d
Remixed: Show a gray screen if the headset can't be tracked.
CrossVR Mar 16, 2018
2dc5452
Remixed: Use the stage reference if available.
CrossVR Mar 19, 2018
692bc4f
ReviveOverlay: Add support for Remixed.
CrossVR Mar 19, 2018
1dd5c90
Fix a few path errors.
CrossVR Mar 19, 2018
1e7d9b1
Remixed: Fixed class not registering in release mode.
CrossVR Mar 19, 2018
3badfec
CompositorGL: Explicitly disable debug output in release mode.
CrossVR Mar 19, 2018
245f671
Update to Oculus SDK 1.24
CrossVR Mar 21, 2018
1f10e9e
ReviveOverlay: Update version info through header file.
CrossVR Mar 27, 2018
d693156
ReviveInjector: Fix path concatenation.
CrossVR Mar 27, 2018
aee4c6b
Remixed: Fix Unreal Engine failing to present frames.
CrossVR Mar 28, 2018
86e657d
Update appcast.xml
CrossVR Mar 28, 2018
9d55181
Update appcast.xml
CrossVR Mar 28, 2018
c9013f9
Revert "Remixed: Show a gray screen if the headset can't be tracked."
CrossVR Apr 5, 2018
55dbbab
Remixed: Add TrackingManager for 3DOF fall-back.
CrossVR Apr 5, 2018
bb9a459
Remixed: Add a hard-coded orientation offset to the controllers.
CrossVR Apr 9, 2018
9793d30
Remixed: Detect IndexPointing gesture even if touchpad is touched.
CrossVR Apr 9, 2018
9e1a86e
SettingsManager: Re-implement on-the-fly settings reloading.
CrossVR Apr 10, 2018
595cde0
SessionDetails: Use the rcu_ptr pattern.
CrossVR Apr 10, 2018
9db7df1
Vulkan: Implement API typo fall-back.
CrossVR Apr 10, 2018
6edf8c8
Texture3D: Use typless formats for depth textures.
CrossVR Apr 10, 2018
812354b
CompositorGL: Query the mirror texture size directly.
CrossVR Apr 10, 2018
5821b90
Matrix4f: Add FromProjectionDesc for future support of depth layers.
CrossVR Apr 11, 2018
6bd8741
ReviveOverlay: Fix crash when showing the library on the desktop.
CrossVR Apr 11, 2018
e2154bc
ReviveOverlay: Fix tray icon double-click not working.
CrossVR Apr 11, 2018
f17ce52
ReviveOverlay: Run a temporary instance if the dashboard failed.
CrossVR Apr 11, 2018
4c96826
ReviveManifest: Don't add manifests in debug mode.
CrossVR Apr 11, 2018
591320e
ReviveOverlay: Update version info.
CrossVR Apr 11, 2018
2ce52fb
ReviveInjector: Independently select which runtime to use as default.
CrossVR Apr 11, 2018
fcd27ba
Remixed: Keep a history of frames.
CrossVR Apr 11, 2018
530d6df
ReviveOverlay: Use raw string literals.
CrossVR Apr 11, 2018
08a7a52
Installer: Always execute the dashboard after installation.
CrossVR Apr 11, 2018
6fcdb0d
FrameList: If pending frame 0 is requested get the latest frame.
CrossVR Apr 12, 2018
34d13b9
FrameList: Fix frame list not being pruned.
CrossVR Apr 12, 2018
2cc87f6
FrameList: Use a reverse iterator.
CrossVR Apr 12, 2018
b58a02c
Remixed: Add support for Quad layers.
CrossVR Apr 12, 2018
a13761e
Remixed: Disable quad layer support.
CrossVR Apr 12, 2018
e0e3b6a
Remixed: Apply EnsureSameHemisphere() fix for Oculus Medium.
CrossVR Apr 12, 2018
e0273f7
rcu_ptr: Fix a possible race condition on m_ptr.
CrossVR Apr 13, 2018
976a873
ReviveOverlay: Don't report a failure as a success.
CrossVR Apr 13, 2018
6ce898c
ReviveOverlay: Release a hotfix.
CrossVR Apr 13, 2018
355a185
Update appcast.xml
CrossVR Apr 13, 2018
7f4093a
Add a patreon link to ReadMe.md
CrossVR Apr 13, 2018
bdcf026
CompositorBase: Just say the frame is not visible if the order is wrong.
CrossVR Apr 18, 2018
3c7c93f
Compositor: Handle unimplemented errors.
CrossVR Apr 18, 2018
9eab91c
SessionDetails: Add HACK_SLEEP_IN_SESSION_STATUS.
CrossVR Apr 18, 2018
59fce42
Update README.md
CrossVR Apr 28, 2018
1a83aa3
ReviveOverlay: Update version info.
CrossVR May 8, 2018
05a00ae
Update appcast.xml
CrossVR May 12, 2018
dd81a1b
Update appcast.xml
CrossVR May 13, 2018
b0ccb7d
CompositorBase: Fix backwards compatibility due to larger layer structs.
CrossVR May 14, 2018
1130ac4
WIP: Update to OpenVR v1.0.15
CrossVR May 15, 2018
7753bfe
Implement support for SteamVR input.
CrossVR May 15, 2018
9ea1827
Remixed: Upgrade to Spring Update.
CrossVR May 17, 2018
1218873
Remixed: Properly decompose projection matrices.
CrossVR May 17, 2018
a38da2f
Remove cppwinrt submodule.
CrossVR May 17, 2018
374c6e9
FrameList: Use a reverse iterator to find a frame within a timestamp.
CrossVR May 18, 2018
bb9808c
FrameList: Improve frame time search condition.
CrossVR May 18, 2018
b38e8c6
Remixed: Invert transform before calculating HmdToEyePose.
CrossVR May 18, 2018
b48afb6
Remixed: Treat R11G11B10_FLOAT as an SRGB format.
CrossVR May 18, 2018
764c1ec
InputManager: Always keep action sets enabled.
CrossVR May 20, 2018
e97ef76
InputManager: Support thumbstick recentering.
CrossVR May 20, 2018
5869f2e
SettingsManager: Move input files to AppData.
CrossVR May 20, 2018
afe995e
Revive: Remove default lua files.
CrossVR May 20, 2018
1b2f7d1
InputManager: Add Xbox controller support.
CrossVR May 20, 2018
ed74b8d
ReviveOverlay: Force RGBA8 backbuffer.
CrossVR May 20, 2018
25c9381
InputManager: Temporary workaround for pointing gesture.
CrossVR May 20, 2018
daa671c
Remixed: Support user presence hints.
CrossVR May 20, 2018
c43da9b
Installer: Install action manifests.
CrossVR May 20, 2018
17e8537
ReviveOverlay: Update version info.
CrossVR May 20, 2018
69a0750
Update README.md
CrossVR May 20, 2018
9bd46a1
Release a hotfix.
CrossVR May 21, 2018
e689e61
Release a hotfix.
CrossVR May 22, 2018
688ec76
Input: Remove trackpad thumbstick from default WMR binding.
CrossVR May 22, 2018
5052fb5
Release a hotfix.
CrossVR May 22, 2018
a4b9659
Installer: Add a warning to the beta installer.
CrossVR May 23, 2018
1916f06
Installer: Reduce deployed dependencies.
CrossVR May 23, 2018
7b4594c
Installer: Stop including debug symbols.
CrossVR May 24, 2018
b996de1
Remixed: Multiple the eye matrices instead of the individual components.
CrossVR Jun 12, 2018
0ad5039
Remixed: Don't create shader resource views for depth textures.
CrossVR Jun 12, 2018
fe77db0
Vulkan: Fix extension retrieval functions.
CrossVR Jul 16, 2018
b53fcf8
Update to Vulkan 1.1.77
CrossVR Jul 16, 2018
8e739bd
Vulkan: Add support for VK_EXT_DEBUG_UTILS.
CrossVR Jul 16, 2018
93e45da
Update to Oculus SDK 1.26
CrossVR Jul 16, 2018
e0f9ec3
ReviveOverlay: Update version information.
CrossVR Jul 17, 2018
2dc88b5
SettingsManager: Move LoadActionManifest() to the InputManager.
CrossVR Jul 17, 2018
9037973
Release a hotfix.
CrossVR Jul 17, 2018
9462675
InputManager: Implement a fall-back to the old input API.
CrossVR Jul 17, 2018
5df458b
InputManager: Fix typo.
CrossVR Jul 26, 2018
6077c60
CompositorBase: Don't allow applications to wait in WaitToBeginFrame().
CrossVR Jul 26, 2018
afe2e00
InputManager: Update the controller status with the state.
CrossVR Jul 26, 2018
5dcb544
ReviveManifest: Update paths for the Oculus Touch Tutorial.
CrossVR Jul 26, 2018
4772206
Remixed: Implement missing GetViewportStencil() implementation.
CrossVR Jul 26, 2018
a80f359
ReviveOverlay: Update version info.
CrossVR Jul 26, 2018
efe36d1
Revive: Use chords for the trigger touch event.
CrossVR Jul 26, 2018
c4d6559
InputManager: Add fallbacks for touch events.
CrossVR Jul 26, 2018
798f509
Update appcast.xml
CrossVR Jul 27, 2018
d18cbce
Fix left hand trigger being used for the right hand touch event.
CrossVR Aug 16, 2018
7416a3c
Revert "InputManager: Add fallbacks for touch events."
CrossVR Aug 16, 2018
64fc8a9
Revert "InputManager: Fix typo."
CrossVR Aug 16, 2018
d9e8bda
Revert "InputManager: Implement a fall-back to the old input API."
CrossVR Aug 16, 2018
5ba0b53
InputManager: Reimplement grip toggle settings.
CrossVR Aug 16, 2018
8c6a7fc
Remixed: Use the public Win32 interop headers.
CrossVR Aug 16, 2018
12a02ce
Update README.md
CrossVR Aug 18, 2018
69c4b2b
Fix unimplemented function for Oculus Medium
CrossVR Oct 7, 2018
8c69c72
Update to Oculus SDK 1.30
CrossVR Oct 9, 2018
faf4013
InputManager: Fix thumbstick getting locked in position.
CrossVR Oct 9, 2018
9384908
InputManager: Fix Hybrid Grip not releasing.
CrossVR Oct 9, 2018
d835e03
ReviveOverlay: Update version info.
CrossVR Oct 9, 2018
b31240f
InputManager: Further workarounds for SteamVR Input bugs.
CrossVR Oct 9, 2018
682dfab
Update appcast.xml
CrossVR Oct 9, 2018
d484606
Update appcast.xml
CrossVR Oct 23, 2018
cab5d1b
Remixed: Fix crash on session creation.
CrossVR Oct 23, 2018
fb096db
ReviveOverlay: Update version info.
CrossVR Oct 23, 2018
4edd0d4
Remove Oculus Avatar editor.
CrossVR Oct 29, 2018
372616b
Release a hotfix.
CrossVR Oct 29, 2018
9c398f2
Update Overlay.qml
CrossVR Nov 2, 2018
958cf10
Revive: Remove support for patching.
CrossVR Nov 18, 2018
95780e4
InputManager: Report correct touch type.
CrossVR Nov 18, 2018
93f1092
CompositorBase: Don't flush draw calls before submitting.
CrossVR Nov 18, 2018
4373747
Remixed: Don't flush draw calls.
CrossVR Nov 21, 2018
ea75072
SessionDetails: Implement a hack for the Dirt Rally main menu.
CrossVR Nov 21, 2018
996daf1
Revert "Revive: Remove support for patching."
CrossVR Nov 25, 2018
4fc4ab0
ReviveOverlay: Reimplement patching support with patched DLLs.
CrossVR Nov 25, 2018
69edf61
Revert "SessionDetails: Implement a hack for the Dirt Rally main menu."
CrossVR Nov 25, 2018
318af33
CompositorBase: Restore layer depth bias hack.
CrossVR Nov 25, 2018
c94645a
Revive: Ensure the user has a valid seated pose.
CrossVR Nov 25, 2018
bbba9ca
Revive: Add default bindings for Oculus Touch and Knuckles.
CrossVR Nov 25, 2018
77145e1
InputManager: Remove gesture actions and derive them from touch flags…
CrossVR Nov 25, 2018
b0d756f
ReviveOverlay: Update version info.
CrossVR Nov 25, 2018
ee8621e
ReviveOverlay: Copy over input manifests at runtime.
CrossVR Nov 25, 2018
7e04717
Update appcast.xml
CrossVR Nov 25, 2018
687f024
Revive: Fix gestures not being recognized.
CrossVR Nov 27, 2018
1fc4643
ReviveOverlay: Release a hotfix.
CrossVR Nov 27, 2018
24a899e
InputManager: Fix pointing and thumbs up being mutually exclusive.
CrossVR Nov 27, 2018
d4e2a19
ReviveOverlay: Release a hotfix.
CrossVR Nov 27, 2018
c8610fd
Installer: Clean up app data.
CrossVR Nov 27, 2018
feae47e
InputManager: Use Windows ANSI code pages to decode UTF16.
CrossVR Nov 29, 2018
25f2fd8
ReviveOverlay: Release a hotfix.
CrossVR Nov 29, 2018
71a38ee
Remixed: Handle already-initialized apartment model.
CrossVR Dec 4, 2018
f7dfce9
ReviveOverlay: Update version info.
CrossVR Dec 4, 2018
7b0d163
Update appcast.xml
CrossVR Dec 4, 2018
3164a67
Create issue_template.md
Dragoboss Dec 14, 2018
8e7a7c4
Update issue_template.md
Dragoboss Dec 14, 2018
b94a886
Include all external licenses in the main license
CrossVR Dec 15, 2018
04c4f1f
Remixed: Allow the tracking state prediction to be updated by repeate…
CrossVR Dec 15, 2018
c287bee
Revive: Update to Oculus SDK 1.32
CrossVR Dec 20, 2018
8d9b938
ReviveOverlay: Update version info.
CrossVR Dec 20, 2018
149fd91
Update appcast.xml
CrossVR Dec 20, 2018
8bf2b61
Ensure D3D render target is restored after call to RenderTextureSwapC…
brads55 Dec 31, 2018
1e997a1
Merge pull request #1154 from brads55/master
CrossVR Jan 6, 2019
6eca92d
Revive: Rewrite vulkan extension queries.
CrossVR Jan 15, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
default.lua: Skip the first two known axes.
  • Loading branch information
CrossVR committed Dec 22, 2017
commit 63ec5fa745d3debbe6634c57c9626b4899b6c5ef
4 changes: 2 additions & 2 deletions Revive/default.lua
Original file line number Diff line number Diff line change
Expand Up @@ -136,8 +136,8 @@ function GetThumbstick(right_hand, deadzone)
return ApplyDeadzone(state[SteamVR_Touchpad], deadzone, 0)
end

-- Find a physical Joystick
for i=1,5 do
-- Find a physical Joystick, skip the touchpad and trigger
for i=3,5 do
if (state[i].type == "Joystick") then
-- If there is a physical joystick use that axis with a simple radial deadzone
return ApplyDeadzone(state[i], deadzone, 0)
Expand Down