aboutsummaryrefslogtreecommitdiffstats
path: root/src/ginput/ginput_mouse.h
diff options
context:
space:
mode:
authorinmarket <andrewh@inmarket.com.au>2014-09-26 16:32:00 +1000
committerinmarket <andrewh@inmarket.com.au>2014-09-26 16:32:00 +1000
commit174e60c76d2429de1b07d4afc00fa35999b7ccde (patch)
treefb7bfcc09c55620467a4e5ba216ce7bfe85fd340 /src/ginput/ginput_mouse.h
parente7bc175ca0fb1b1d2bd6a80d36696efa6dc0d171 (diff)
downloaduGFX-174e60c76d2429de1b07d4afc00fa35999b7ccde.tar.gz
uGFX-174e60c76d2429de1b07d4afc00fa35999b7ccde.tar.bz2
uGFX-174e60c76d2429de1b07d4afc00fa35999b7ccde.zip
GINPUT mouse updated - first working version of newmouse.
Note: drivers to be ported. Note: not tested well yet.
Diffstat (limited to 'src/ginput/ginput_mouse.h')
-rw-r--r--src/ginput/ginput_mouse.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/ginput/ginput_mouse.h b/src/ginput/ginput_mouse.h
index 1eff64f4..3e9c017b 100644
--- a/src/ginput/ginput_mouse.h
+++ b/src/ginput/ginput_mouse.h
@@ -46,10 +46,10 @@ typedef struct GEventMouse_t {
#define GMETA_MASK 0x00F0 // The "button transition" mask
#define GMETA_NONE 0x0000 // No "button transition" events
- #define GMETA_MOUSE_DOWN 0x0001 // Left mouse/touch has just gone down
- #define GMETA_MOUSE_UP 0x0002 // Left mouse/touch has just gone up
- #define GMETA_MOUSE_CLICK 0x0004 // Left mouse/touch has just gone through a click (short down - up cycle)
- #define GMETA_MOUSE_CXTCLICK 0x0008 // Right mouse has just been depressed or touch has gone through a long click
+ #define GMETA_MOUSE_DOWN 0x0010 // Left mouse/touch has just gone down
+ #define GMETA_MOUSE_UP 0x0020 // Left mouse/touch has just gone up
+ #define GMETA_MOUSE_CLICK 0x0040 // Left mouse/touch has just gone through a click (short down - up cycle)
+ #define GMETA_MOUSE_CXTCLICK 0x0080 // Right mouse has just been depressed or touch has gone through a long click
#define GINPUT_MISSED_MOUSE_EVENT 0x8000 // Oops - a mouse event has previously been missed