Closed lukedukeus closed 1 year ago
Hey @lukedukeus, this doesn't already exist, but could be a cool addition.
A few thoughts:
position
?)Do you have a specific use case?
I think user input should still override the joystick position. If someone wanted it to be not overridden by user input, they can turn on the disabled prop. I don't think the callbacks should be fired, if you are manually updating the position, you already have the position data.
My specific use case is controlling a camera's PTZ function. The user is able to control it via the joystick, however, if they use arrow keys, I want the position of the joystick to update.
Thanks!
:tada: This issue has been resolved in version 6.2.0 :tada:
The release is available on:
Your semantic-release bot :package::rocket:
I am using the joystick to control where a camera is looking. I also want the user to be able to control the camera with arrow keys. When the user is using the arrow keys, I will ignore input from the joystick, however I would still like the ui of the joystick to update based on the arrowkeys.
I am suggesting a method that will allow you to manually the joysticks position. This will not fire a motion event.
Usage would be something like:
Please let me know if something like this already exists.
Thanks!