2 unstable releases

0.2.0 Feb 23, 2024
0.1.0 Feb 23, 2024

#1948 in Game dev

Download history 218/week @ 2024-02-20 130/week @ 2024-02-27 41/week @ 2024-03-05 11/week @ 2024-03-12 9/week @ 2024-03-19 25/week @ 2024-03-26 46/week @ 2024-04-02

93 downloads per month

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

~40–81MB
~1.5M SLoC