Giter Site home page Giter Site logo

Comments (2)

LukeRoss00 avatar LukeRoss00 commented on July 28, 2024 1

Hi @alaestor

The behavior is by design and is intended to work around an issue in the Oculus runtime. For some reasons, the runtime insists randomly activating ASW even when it's been turned off explicitly by the user (see for example https://www.reddit.com/r/virtualreality/comments/17a3r98/how_do_i_completly_disable_asw/), and ASW is incompatible with my mods because it doesn't work with alternate eye rendering.

Also, the Oculus runtime doesn't provide any way to disable ASW programmatically (except by using the debug tool, which is hit or miss as described in the linked Reddit post).

So, when I detect that ASW is enabled, every 10 seconds I send the keyboard shortcut you detected, which is the only reliable way of forcing the runtime to disable ASW and allow for full frame rate.

For the vast majority of users the shortcut goes straight to the Oculus runtime and is never detected by the game (otherwise your character would be crouching all the time!). I don't know why in your case the keystroke leaks through to CP2077. As another workaround besides unbinding the keys, you might try disabling ASW in the Oculus debug tool (or with OTT which in turn uses the debug tool). If the mod sees that ASW is not available, it won't send the keystrokes.

from rvr.

alaestor avatar alaestor commented on July 28, 2024 1

LOL awesome; I can appreciate having to implement weird fixes to problems that shouldn't exist. I'm pretty sure the leaking in my case is probably due to some random aspect of my rather insane Windows environment, so I'll close this.

Thanks for the explanation!

from rvr.

Related Issues (2)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.