Yellow-Dog-Man / Resonite-Issues

Issue repository for Resonite.
https://resonite.com
132 stars 2 forks source link

Allow key Pressed/Released/Held nodes to work in userspace #2052

Open Lexevolution opened 3 months ago

Lexevolution commented 3 months ago

Is your feature request related to a problem? Please describe.

I was trying to set up a facet that when a keyboard key was pressed, a setting was changed. I have found that any of the keyboard key related protoflux nodes do not work in userspace, which makes me unable to complete my facet.

Describe the solution you'd like

For the key Pressed/Released/Held protoflux nodes to work in userspace

Describe alternatives you've considered

Use a cloud variable to write the bool state of a key press from world space, and use that variable in a facet in userspace to change the setting.

Additional Context

No response

Requesters

Lexevo epicEaston197

epicEaston197 commented 3 months ago

just as a note it was me who was trying to create the facet I was trying to create an FOV toggle

epicEaston197 commented 3 months ago

I would also like to add that other nodes like scroll wheel should also be there as well

shiftyscales commented 3 months ago

Seeking input from @Frooxius or @ProbablePrime - but I'd imagine this may be by design, e.g. the ease with which one could create a keylogger.

We already advise users to audit any facets they wish to install due to the dangers associated/only install things from trusted sources- but the benefit of protecting against these kinds of attacks outweighs the value having access to those nodes in userspace would provide- particularly if there are other mechanisms that could be used instead like the alternative posted.

You already requested a mechanism to 'zoom' in #1936. Is this issue a duplicate then, @Lexevolution @epicEaston197?