Interface OculusIO
- All Known Implementing Classes:
OculusIOReal
,OculusIOSim
public interface OculusIO
Interface for handling input/output operations with the Oculus Quest hardware.
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic class
Data structure for Oculus inputs that can be automatically logged. -
Method Summary
Modifier and TypeMethodDescriptiondefault void
setMosi
(int value) Sets MOSI (Master Out Slave In) value for Quest communication.default void
setResetPose
(double x, double y, double rotation) Sets the pose components for resetting the Oculus position tracking.default void
updateInputs
(OculusIO.OculusIOInputs inputs) Updates the set of loggable inputs from the Oculus.
-
Method Details
-
updateInputs
Updates the set of loggable inputs from the Oculus.- Parameters:
inputs
- The input object to update with current values
-
setMosi
default void setMosi(int value) Sets MOSI (Master Out Slave In) value for Quest communication.- Parameters:
value
- The MOSI value to set
-
setResetPose
default void setResetPose(double x, double y, double rotation) Sets the pose components for resetting the Oculus position tracking.- Parameters:
x
- The X coordinatey
- The Y coordinaterotation
- The rotation in degrees
-