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

Add two DPAD shifting methods #139

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Add two DPAD shifting methods #139

wants to merge 2 commits into from

Conversation

wdoo02
Copy link

@wdoo02 wdoo02 commented Jan 16, 2024

Two DPAD shifting methods, "Right Joystick Press + Left Joystick" and "Left Joystick Press + Right Joystick", are added.
Non-Oculus users can benefit from these methods in case they are unwilling or unable to use the gesture-based methods, e.g., when they are lying in bed.

The new methods will disable the R3 and L3 mapping respectively, except one can press L3 + R3 to toggle the UEVR menu.
When "Left Joystick Press + Right Joystick" is used, snapturn is temporarily disabled when the left joystick is pressed.
Tested with a few games.
test device: Pico 4 + VD openXR

# Conflicts:
#	src/mods/VR.cpp
#	src/mods/VR.hpp

Dpad shifting by left joystick click and right joystick click;
@wdoo02 wdoo02 marked this pull request as draft January 16, 2024 16:33
@wdoo02 wdoo02 marked this pull request as ready for review January 16, 2024 16:36
@joeyhodge
Copy link
Sponsor

I endorse this pull, been working on it for 1.2 and now 1.3 as well in my build. works with G2 controllers as well as many others without touch/trackpad, and has been more reliable than gestures for myself at least.

Copy link
Sponsor

@joeyhodge joeyhodge left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have tested this configuration based on the latest 1.03 release and it works as expected, and gives us another dpad option set (right joystick click + left joystick move in direction of dpad and vice versa, after choosing option from the input dpad shifting tab) for those without trackpads or when gestures not working as expected in some cases. Reverb G2 tested

@joeyhodge
Copy link
Sponsor

joeyhodge commented Feb 24, 2024

I have also been maintaining the latest updates for AltDpad shifting https://github.com/joeyhodge/UEVR/releases/tag/nightly-270-de99588d4ecab4d5899d7951755633b63cbefc82

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants