svelte-gamepad-virtual-joystick Svelte Themes

Svelte Gamepad Virtual Joystick

Gamepad bindings for your svelte web-app with a virtual joystick that can either be used as fallback when a joystick is not connected, as indicator of the gamepad state or to provie a virtual joystick and a gamepad at the same time to your user.

Svelte Gamepad and virtual JoyStick

Svelte library for complex input to your app, provides Gamepad integration with different UI-interfaces:

  • Button A button that can either be pressed by touch or mouse, a key on the keyboard or a button on your gamepad
  • Joystick A joystick with X/Y axes that can be controlled by touch/mouse input, an analog stick of your gamepad or keyboard buttons

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.

Moved to Codeberg: https://codeberg.org/brean/svelte-gamepad-virtual-joystick

Top categories

Loading Svelte Themes