Skip to content

Commit

Permalink
Test log
Browse files Browse the repository at this point in the history
  • Loading branch information
Meister1593 committed Mar 21, 2023
1 parent bf34bd2 commit 9bfe871
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/TrackerDevice.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
#include "TrackerDevice.hpp"
#include <stdio.h>
#include <stdlib.h>

SlimeVRDriver::TrackerDevice::TrackerDevice(std::string serial, int deviceId, TrackerRole trackerRole_):
serial_(serial), trackerRole(trackerRole_), deviceId_(deviceId)
Expand Down Expand Up @@ -42,7 +44,7 @@ void SlimeVRDriver::TrackerDevice::Update()

void SlimeVRDriver::TrackerDevice::PositionMessage(messages::Position &position)
{
Log("Device index updating: " + this->device_index);
fprintf(stderr, "Device index updating: %d", this->device_index_);
if (this->device_index_ == vr::k_unTrackedDeviceIndexInvalid)
return;

Expand Down

0 comments on commit 9bfe871

Please sign in to comment.