mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-01-01 12:46:12 +00:00
d/vive: reset orientation on headset button
This commit is contained in:
parent
1f02c54858
commit
4c7f830ea5
|
@ -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};
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue