mirror of
https://github.com/bherbruck/solidcraft.git
synced 2026-11-06 20:02:16 +00:00
1a27c8399d
* claim: #3523 * Linux 3D mouse: decode spacenavd's axes in its documented frame (#3523) spacenavd reports x to the right, y up and z away from the user, with the rotations about those axes. The decoder treated y as away and z as up, so with a stock spacenavd push and lift traded places, as did sideways tilt and twist. Map the daemon's axes to the raw HID frame as translation [x, -z, -y] and rotation [rx, -rz, -ry]. The decode still runs before a device's calibration and the per-axis motion choice, so both apply unchanged on top of the corrected reading. The tests now move each daemon axis on its own, in both directions, so a swap of two axes can no longer pass.