Rob Parrett
|
e7cd9c1b86
|
Add a Gamepad Viewer tool to examples (#6074)
# Objective
Give folks an easy way to test their gamepad with bevy.
~~This is a lot of very boring code for an example. Maybe it belongs in the "tools" directory?~~
## Solution
https://user-images.githubusercontent.com/200550/191884342-ace213c0-b423-449a-9295-530cbceaa19e.mp4
## Notes
This has brought to light (to me, anyway) some fairly major issues with gamepads on the web. See:
[WASM mappings (gilrs issue 107)](https://gitlab.com/gilrs-project/gilrs/-/issues/107)
[Inaccurate value for trigger button of Xbox gamepad with WASM (gilrs issue 121)](https://gitlab.com/gilrs-project/gilrs/-/issues/121)
|
2022-09-24 13:21:01 +00:00 |
|