elmarti / react-joystick-component

Tiny, multitouch, component driven joysticks in react
MIT License
86 stars 27 forks source link

Dynamic and absolute position joysticks #32

Open elmarti opened 2 years ago

elmarti commented 2 years ago

Is your feature request related to a problem? Please describe. There are some views where we might not want to show a joystick, but use one on-click. Describe the solution you'd like Ability to wrap a view in a joystick e.g

<Joystick wrapMode="persist">
...components
</Joystick>

wrapMode controls how the joystick is rendered on-click:

Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.

Additional context Add any other context or screenshots about the feature request here.