diff --git a/src/joycon/device.rs b/src/joycon/device.rs index 03c3711..034ec96 100644 --- a/src/joycon/device.rs +++ b/src/joycon/device.rs @@ -536,6 +536,10 @@ impl JoyConDevice { &self.serial_number } + pub fn stick_parameters(&self) -> &calibration::stick::StickParameters { + &self.stick_parameters + } + pub fn stick_factory_calibration(&self) -> &calibration::stick::JoyConSticksCalibration { &self.stick_factory_calibration } @@ -544,6 +548,10 @@ impl JoyConDevice { &self.stick_user_calibration } + pub fn imu_offsets(&self) -> &calibration::imu::IMUOffsets { + &self.imu_offsets + } + pub fn imu_factory_calibration(&self) -> &calibration::imu::IMUCalibration { &self.imu_factory_calibration }