aboutsummaryrefslogtreecommitdiffstats
path: root/src/ginput/ginput_mouse.h
diff options
context:
space:
mode:
authorinmarket <andrewh@inmarket.com.au>2014-11-15 15:22:09 +1000
committerinmarket <andrewh@inmarket.com.au>2014-11-15 15:22:09 +1000
commitfe00d3e090a8197b86c278d548a8f069bcca348d (patch)
treed94dad28d44791944ebb7e6de8e820fe994a1e3c /src/ginput/ginput_mouse.h
parenta8d6aa079056d14ce8d207f8dcf1ed527c0b5ca9 (diff)
downloaduGFX-fe00d3e090a8197b86c278d548a8f069bcca348d.tar.gz
uGFX-fe00d3e090a8197b86c278d548a8f069bcca348d.tar.bz2
uGFX-fe00d3e090a8197b86c278d548a8f069bcca348d.zip
Change the definition of the calibration load and save routines as per steved suggestion.
Diffstat (limited to 'src/ginput/ginput_mouse.h')
-rw-r--r--src/ginput/ginput_mouse.h5
1 files changed, 2 insertions, 3 deletions
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