From e6bf4277752ebb282020c4bf67840262879430f1 Mon Sep 17 00:00:00 2001 From: inmarket Date: Wed, 26 Nov 2014 13:21:05 +1000 Subject: [PATCH] Doc updates for multiple mouse support --- gfxconf.example.h | 1 + src/ginput/sys_options.h | 14 ++++++++++++++ 2 files changed, 15 insertions(+) diff --git a/gfxconf.example.h b/gfxconf.example.h index e4d54bbf..b679669b 100644 --- a/gfxconf.example.h +++ b/gfxconf.example.h @@ -223,6 +223,7 @@ // #define GINPUT_TOUCH_USER_CALIBRATION_LOAD FALSE // #define GINPUT_TOUCH_USER_CALIBRATION_FREE FALSE // #define GINPUT_TOUCH_USER_CALIBRATION_SAVE FALSE +// #define GMOUSE_DRIVER_LIST GMOUSEVMT_Win32, GMOUSEVMT_Win32 //#define GINPUT_NEED_KEYBOARD FALSE //#define GINPUT_NEED_TOGGLE FALSE //#define GINPUT_NEED_DIAL FALSE diff --git a/src/ginput/sys_options.h b/src/ginput/sys_options.h index 6de8ea83..b47302a4 100644 --- a/src/ginput/sys_options.h +++ b/src/ginput/sys_options.h @@ -157,6 +157,20 @@ #ifndef GINPUT_TOUCH_USER_CALIBRATION_SAVE #define GINPUT_TOUCH_USER_CALIBRATION_SAVE FALSE #endif + /** + * @brief Define multiple static mice + * @details When not defined the system automatically detects a single linked mouse driver + * @note The references to GMOUSEVMT_Win32 in the definition would be replaced + * by the names of the VMT for each of the static mice you want to + * include. + * @note Dynamic mice associated automatically with a display eg Win32, X or GFXnet + * do not need to be specified in this list as the associated display driver will register + * them automatically as the display is created. + */ + #if defined(__DOXYGEN__) + #define GMOUSE_DRIVER_LIST GMOUSEVMT_Win32, GMOUSEVMT_Win32 + #endif + /** @} */ #endif /* _GINPUT_OPTIONS_H */