Closed Techjar closed 10 months ago
hell yeah, been waiting a while for this
pressKeyHelper should probably be moved to the InputSimulator, don't need to have the exact same code in two classes
and could it be changed to a separate press and release, for stuff that wants bindings pressesd for a longer time, like creates pondering
is it okay, if I push to your repo, or do you want to do that yourself
but it works fine from what I could see, maybe an option to not close the keyboard, when a new screen pops up would be nice, but that can be done later
and could it be changed to a separate press and release, for stuff that wants bindings pressesd for a longer time, like creates pondering
easy to to for the physical keyboard, a bit more work for the pointer one
I can take care of it myself later, it's no problem.
and could it be changed to a separate press and release, for stuff that wants bindings pressesd for a longer time, like creates pondering
This is difficult to do as there's a lot of cases where the key could become "stuck" in the pressed state.
Changes are done, though I didn't actually test them.
Disabled by default, since I think it could be bad UX if someone accidentally activates bindings they don't intend to. We can always change it if we determine otherwise. If disabled, a message will pop up in chat when you type without a screen open.
I also included a small refactor of VRSettings for code clarity and some additional functionality.