I need a joystick in my project. I found a good example of this in terms of design and functionality.
However, this example does not rotate and freezes when the mouse