From fe00d3e090a8197b86c278d548a8f069bcca348d Mon Sep 17 00:00:00 2001 From: inmarket Date: Sat, 15 Nov 2014 15:22:09 +1000 Subject: Change the definition of the calibration load and save routines as per steved suggestion. --- src/ginput/ginput_mouse.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/ginput/ginput_mouse.h') diff --git a/src/ginput/ginput_mouse.h b/src/ginput/ginput_mouse.h index 29405e50..e59b2dae 100644 --- a/src/ginput/ginput_mouse.h +++ b/src/ginput/ginput_mouse.h @@ -156,15 +156,14 @@ extern "C" { * @return A pointer to the data or NULL on failure * * @param[in] instance The mouse input instance number + * @param[in] data Where the data should be placed * @param[in] sz The size in bytes of the data to retrieve. * * @note This routine is provided by the user application. It is only * called if GINPUT_TOUCH_USER_CALIBRATION_LOAD has been set to TRUE in the * users gfxconf.h file. - * @note If GINPUT_TOUCH_USER_CALIBRATION_FREE has been set to TRUE in the users - * gfxconf.h file then the buffer returned will be free'd using gfxFree(). */ - void *LoadMouseCalibration(unsigned instance, size_t sz); + bool_t LoadMouseCalibration(unsigned instance, void *data, size_t sz); /** * @brief Save a set of mouse calibration data -- cgit v1.2.3