Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2014-01-11 17:38:44 +0400
committerCampbell Barton <ideasman42@gmail.com>2014-01-11 17:40:23 +0400
commit50650e28ea5641b200727fcbe14de83fa10e2c49 (patch)
tree8ae157905baa7f0677d90b467ec8a9fb9c746076 /intern/ghost/GHOST_Types.h
parent1a0c5eb83aaaf18cef25d6d36a2c857c1381516c (diff)
Events: support for buttons 6 & 7 (some trackballs have these) X11 only
Patch by Marcus von Appen Note: this patch makes ISMOUSE accept INBETWEEN_MOUSEMOVE as a mouse event where before it didnt.
Diffstat (limited to 'intern/ghost/GHOST_Types.h')
-rw-r--r--intern/ghost/GHOST_Types.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/intern/ghost/GHOST_Types.h b/intern/ghost/GHOST_Types.h
index 35dff73f4af..7333ba025a5 100644
--- a/intern/ghost/GHOST_Types.h
+++ b/intern/ghost/GHOST_Types.h
@@ -148,6 +148,9 @@ typedef enum {
GHOST_kButtonMaskRight,
GHOST_kButtonMaskButton4,
GHOST_kButtonMaskButton5,
+ /* Trackballs and programmable buttons */
+ GHOST_kButtonMaskButton6,
+ GHOST_kButtonMaskButton7,
GHOST_kButtonNumMasks
} GHOST_TButtonMask;