Commit 4c7f830e authored by Drew DeVault's avatar Drew DeVault

d/vive: reset orientation on headset button

parent 1f02c548
Pipeline #77137 passed with stages
in 5 minutes and 16 seconds
......@@ -260,6 +260,7 @@ vive_mainboard_decode_message(struct vive_device *d,
if (d->board.button != report->button) {
d->board.button = report->button;
VIVE_SPEW(d, "Button %d.", report->button);
d->rot_filtered = (struct xrt_quat){0, 0, 0, 1};
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment