mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-01-29 18:08:29 +00:00
d/vive/controller: Uncomment and improve spew prints.
This commit is contained in:
parent
d047ce8af4
commit
1071d7a50b
|
@ -563,10 +563,11 @@ vive_controller_handle_imu_sample(struct vive_controller_device *d,
|
|||
scale * d->imu.gyro_scale.z * gyro[2] - d->imu.gyro_bias.z,
|
||||
};
|
||||
|
||||
VIVE_CONTROLLER_SPEW(d, "ACC %f %f %f", acceleration.x, acceleration.y,
|
||||
acceleration.z);
|
||||
VIVE_CONTROLLER_SPEW(d, "GYRO %f %f %f", angular_velocity.x,
|
||||
angular_velocity.y, angular_velocity.z);
|
||||
/*
|
||||
VIVE_CONTROLLER_SPEW(d, "ACC %f %f %f", acceleration.x,
|
||||
acceleration.y, acceleration.z); VIVE_CONTROLLER_SPEW(d, "GYRO %f %f
|
||||
%f", angular_velocity.x, angular_velocity.y, angular_velocity.z);
|
||||
*/
|
||||
|
||||
if (d->variant == CONTROLLER_VIVE_WAND) {
|
||||
|
@ -693,6 +694,12 @@ vive_controller_decode_watchmanv1(struct vive_controller_device *d,
|
|||
|
||||
// clang-format on
|
||||
|
||||
VIVE_CONTROLLER_SPEW(d,
|
||||
"battery %d trigger %d trackpad %d "
|
||||
"buttons %d imu %d",
|
||||
has_battery, has_trigger, has_trackpad,
|
||||
has_buttons, has_imu);
|
||||
|
||||
buf++;
|
||||
|
||||
if (has_battery) {
|
||||
|
|
Loading…
Reference in a new issue