veloren/voxygen
James Gayfer 0badaaa4ba Fix Xbox controller mappings on MacOS
After downloading the game onto my M1 Macbook, I wasn't able to get my
Xbox Series X controller to work properly. The mappings seems all over
the place in ways that didn't make sense, like the right analog stick
bound to primary and secondary attack.

I looked deeper into how controller binds work, and saw that they're
mostly all mapped to sane defaults via gilrs. I setup a test project
that mirrored gilrs's "hello world" example for controller inputs, and
noted that the inputs were logged as expected. This is when I noted the
version mismatch, as Veleron was using 0.9, while my project was using
0.10. After rolling back to 0.9 in my test project, I was able to
reproduce the incorrect mappings.

With the bump to 0.10, controller mappings respect our configured
defaults for my Xbox Series X controller on MacOS.
2022-12-13 21:42:32 -08:00
..
anim Creature viewpoint 2022-11-30 16:51:02 +01:00
benches Reduce overhead of messaging systems. 2022-09-14 21:04:53 -07:00
egui Removed redundant package parameter from init function of hot reloading 2022-09-17 00:55:28 -04:00
examples (See sharp/lod-history) LOD, shadows, greedy meshing, new lighting, perf 2020-08-20 20:34:59 +02:00
i18n-helpers Dive melee now scales its attack off of the entity's vertical speed. 2022-10-27 20:06:55 -04:00
src Creature viewpoint 2022-11-30 16:51:02 +01:00
build.rs feat(voxygen): add logo for windows executable 2019-10-02 16:57:08 +02:00
Cargo.toml Fix Xbox controller mappings on MacOS 2022-12-13 21:42:32 -08:00