Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
InputCommon: Detect when evdev exposes acceleration/gyroscope data. #8460
evdev devices with motion data are detectable be checking for
Each axis then provides a resolution property to get the correct unit scaling.
This makes configuration much easier and there is no longer a need to manually scale values using input expression multiplication.
There doesn't seem to be consistent orientations across devices so I've been forced to use "Accel X"/"Gyro X" naming instead of the "Gyro Pitch Up" names our DSU client uses.
I've eliminated redundant