Svelte library for complex input to your app, provides Gamepad integration with different UI-interfaces:
The virtual Joystick can either be used as fallback when a real gamepad is not connected but a touchscreen is present, as indicator of the gamepad state or to provide a virtual joystick to the user.
Provides custom focus and context management.
See the +page.svelte file for a basic demo.
Take a look at SMUI Gamepad Components for an integration into Svelte Material UI
This library is used to reimagine the control of robotic systems but can also be useful in web game development prototyping.
This library can be installed using npm:
npm i -D svelte-gamepad-virtual-joystick
based on code from
window
)TODO!
BSD-3