2 unstable releases

0.2.0 Feb 23, 2024
0.1.0 Feb 23, 2024

#2148 in Game dev

MIT/Apache

56KB
481 lines

bevy_touch_stick

Virtual touch screen analog joysticks for the Bevy game engine.

Goals

  • Support mouse and touch
  • Multiple joysticks on screen (for e.g. twin stick)
  • Emulate a regular bevy gamepad
  • Minimal dependencies (including features)
  • Simple stupid implementation
  • Modular rendering
  • No asset dependencies

Only two-axis sticks are supported.

If you need single-axis sticks, use SergioRibera/virtual_joystick instead.

Examples

Usage

Check out the examples.

Bevy Version Support

The main branch targets the latest bevy release.

bevy bevy_touch_stick
0.13 0.2, main
0.12 0.1

License

bevy_touch_stick is dual-licensed under either

at your option.

Contributions

PRs welcome!

Acknowledgements

bevy_touch_stick was forked from virtual_joystick

Dependencies

~44–82MB
~1.5M SLoC