Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
felipeerias authored and svillar committed Oct 26, 2022
1 parent 96bd85e commit 829f2af
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,6 @@ private void initializeControllers() {
addController(DeviceType.PicoNeo3, WebXRInterstitialController.HAND_LEFT);
addController(DeviceType.PicoNeo3, WebXRInterstitialController.HAND_RIGHT);
} else if (DeviceType.isHVRBuild()) {
// TODO identify the specific type of controller
if (PlatformActivity.isPositionTrackingSupported()) {
addController(DeviceType.HVR6DoF, WebXRInterstitialController.HAND_LEFT);
addController(DeviceType.HVR6DoF, WebXRInterstitialController.HAND_RIGHT);
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/cpp/DeviceDelegate.h
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ class DeviceDelegate {
virtual void ReleaseControllerDelegate() = 0;
virtual int32_t GetControllerModelCount() const = 0;
virtual const std::string GetControllerModelName(const int32_t aModelIndex) const { return nullptr; };
virtual bool IsPositionTrackingSupported() const = 0;
virtual bool IsPositionTrackingSupported() const { return false; };
virtual void SetCPULevel(const device::CPULevel aLevel) {};
virtual void ProcessEvents() = 0;
virtual bool SupportsFramePrediction(FramePrediction aPrediction) const {
Expand Down

0 comments on commit 829f2af

Please sign in to comment.