aboutsummaryrefslogtreecommitdiffstats
path: root/src/ginput
diff options
context:
space:
mode:
authorinmarket <andrewh@inmarket.com.au>2014-10-13 17:43:10 +1000
committerinmarket <andrewh@inmarket.com.au>2014-10-13 17:43:10 +1000
commit386cbe90b8e50b96945141af6640ba68e97b93dc (patch)
tree0dea2ee3e7e8c062b615b070e086b84a4c74c522 /src/ginput
parent65a165f1e01cc5b52b1a46f3a56dec452fdfa943 (diff)
downloaduGFX-386cbe90b8e50b96945141af6640ba68e97b93dc.tar.gz
uGFX-386cbe90b8e50b96945141af6640ba68e97b93dc.tar.bz2
uGFX-386cbe90b8e50b96945141af6640ba68e97b93dc.zip
New flag for newmouse driver use
Diffstat (limited to 'src/ginput')
-rw-r--r--src/ginput/driver_mouse.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ginput/driver_mouse.h b/src/ginput/driver_mouse.h
index 4a61d46b..037f9c0f 100644
--- a/src/ginput/driver_mouse.h
+++ b/src/ginput/driver_mouse.h
@@ -49,6 +49,7 @@ typedef struct GMouse {
#define GMOUSE_FLG_IN_CAL 0x0010 // Currently in calibration routine
#define GMOUSE_FLG_FINGERMODE 0x0020 // Mouse is currently in finger mode
#define GMOUSE_FLG_NEEDREAD 0x0040 // The mouse needs reading
+ #define GMOUSE_FLG_DRIVER_FIRST 0x0100 // The first flag available for the driver
point clickpos; // The position of the last click event
systemticks_t clicktime; // The time of the last click event
GDisplay * display; // The display the mouse is associated with