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:
authorMike Erwin <significant.bit@gmail.com>2011-08-03 09:01:55 +0400
committerMike Erwin <significant.bit@gmail.com>2011-08-03 09:01:55 +0400
commit6233430c2378dc25671426a569ca084f914dda48 (patch)
tree0384e25cbe33ef45b050e2cc35604c11c8465335 /intern/ghost
parentdc4b104e60d99176fbe32c06dff0b190b3313e3d (diff)
compensate for lack of 3D mouse calibration on Windows
Diffstat (limited to 'intern/ghost')
-rw-r--r--intern/ghost/intern/GHOST_NDOFManagerWin32.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/intern/ghost/intern/GHOST_NDOFManagerWin32.cpp b/intern/ghost/intern/GHOST_NDOFManagerWin32.cpp
index 099b163edeb..bd86c03d8e9 100644
--- a/intern/ghost/intern/GHOST_NDOFManagerWin32.cpp
+++ b/intern/ghost/intern/GHOST_NDOFManagerWin32.cpp
@@ -28,7 +28,9 @@
GHOST_NDOFManagerWin32::GHOST_NDOFManagerWin32(GHOST_System& sys)
: GHOST_NDOFManager(sys)
- {}
+ {
+ setDeadZone(0.1f);
+ }
// whether multi-axis functionality is available (via the OS or driver)
// does not imply that a device is plugged in or being used