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

Alternative joy stick mode #34

Open
hodasemi opened this issue Dec 27, 2023 · 3 comments
Open

Alternative joy stick mode #34

hodasemi opened this issue Dec 27, 2023 · 3 comments

Comments

@hodasemi
Copy link
Contributor

Hi,

it would be nice to an alternative joy stick mode. The current one tracks the velocity and converts it to the right joy stick. My use case is Automobilista 2 where the right joy sticks absolute position is the head rotation inside the car. It would be awesome to look around inside the car, like a light version of VR in this game. Maybe (and hopefully) it is not the only use case for this feature.

@wheaney
Copy link
Owner

wheaney commented Dec 27, 2023

You're not the first person to request this and it should be pretty easy to implement. I'll work to get it into an upcoming release.

@hodasemi
Copy link
Contributor Author

Next week I'll probably have some spare time. I'll try to create a pull request, if that helps. As far as I understand I see 3 things to implement:

  • Add a config option for joystick mode
  • Add a case check in the output function
  • Calibration for the center point. I would probably reuse the part from the stationary mode.

Adding it to the decky ui plugin would be another thing, but on that front I have like zero experience.

@hodasemi
Copy link
Contributor Author

I did have way less time than anticipated, but there were a few things that didn't go well:

  • The module xrealInterfaceLibrary seems to be private or at least not accessible for me
  • I tried to work around it by changing the build files and commenting code. I got it to compile, but then it segfaulted right at the start.

I may look into it, when time is available.

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

No branches or pull requests

2 participants