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:
authorNathan Letwory <nathan@letworyinteractive.com>2013-09-04 16:10:02 +0400
committerNathan Letwory <nathan@letworyinteractive.com>2013-09-04 16:10:02 +0400
commitd5fba56b380a4ab88ae7b0602c39dcabe8f4ab1d (patch)
treef8ae3a6f4485e42931c941440df5a8955ec3d2c1 /intern/ghost
parent38075c7b3c4aff228647c94184d0d2a6ea5e14d3 (diff)
Add new cursor types to data handling to account for Intuos 4 device (pen and eraser).
Thanks to Ayden Polat for helping to find out the cursor type codes.
Diffstat (limited to 'intern/ghost')
-rw-r--r--intern/ghost/intern/GHOST_WindowWin32.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/intern/ghost/intern/GHOST_WindowWin32.cpp b/intern/ghost/intern/GHOST_WindowWin32.cpp
index c264686fbb1..8290f4ee205 100644
--- a/intern/ghost/intern/GHOST_WindowWin32.cpp
+++ b/intern/ghost/intern/GHOST_WindowWin32.cpp
@@ -1135,10 +1135,12 @@ void GHOST_WindowWin32::processWin32TabletEvent(WPARAM wParam, LPARAM lParam)
break;
case 1:
case 4:
+ case 7:
m_tabletData->Active = GHOST_kTabletModeStylus; /* stylus */
break;
case 2:
case 5:
+ case 8:
m_tabletData->Active = GHOST_kTabletModeEraser; /* eraser */
break;
}