README Example Code Doesn't Compile
Describe the bug Example code is double wrong I think...
To Reproduce Steps to reproduce the behavior:
- Create any Bevy project on bevy 0.14
- cargo add virtual_joystick
- Add the line from README:
.add_plugin(VirtualJoystickPlugin::<JoystickControllerID>::default())
This gives 1 error that "add_plugin" is not a valid function. Is that just a typo? I don't think the singular add_plugin has been a thing since version 0.10 (according to chatgpt 😅)
When I change it to ".add_plugins" I then see another error for the argument to this function:
Can we please update it to some code that works?
Or am I doing it wrong?
Thanks 👍
Oooo, you are absolutely right, I will review this in detail, I should take the example out of the examples folder, for now I recommend you take those, thank you very much for the report
Solved on v2.5.1 (https://github.com/SergioRibera/virtual_joystick/commit/ed8f20a3e93bd99e84669f66652ca8690fb9ce5e)
Sorry for delay 😅