aboutsummaryrefslogtreecommitdiffstats
path: root/src/ginput/ginput_mouse.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ginput/ginput_mouse.h')
-rw-r--r--src/ginput/ginput_mouse.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/ginput/ginput_mouse.h b/src/ginput/ginput_mouse.h
index 3e9c017b..29405e50 100644
--- a/src/ginput/ginput_mouse.h
+++ b/src/ginput/ginput_mouse.h
@@ -146,9 +146,10 @@ extern "C" {
*
* @param[in] instance The ID of the mouse input instance
*
- * @return FALSE if the driver dosen't support a calibration of if the handle is invalid
+ * @return The calibration error squared if calibration fails, or 0 on success or if the driver dosen't need calibration.
+ * @note An invalid instance will also return 0.
*/
- bool_t ginputCalibrateMouse(unsigned instance);
+ uint32_t ginputCalibrateMouse(unsigned instance);
/**
* @brief Load a set of mouse calibration data