resolved collision among WM event types, ndof no longer encroaches on keyboard turf
authorMike Erwin <significant.bit@gmail.com>
Sat, 18 Jun 2011 20:30:09 +0000 (20:30 +0000)
committerMike Erwin <significant.bit@gmail.com>
Sat, 18 Jun 2011 20:30:09 +0000 (20:30 +0000)
source/blender/windowmanager/wm_event_types.h

index ed500ccd5c5a7b598d8ac10edf83dc338d612ab2..210dd902b99ec4fa8873ca09f415c0960dbac13e 100644 (file)
 #define WHEELOUTMOUSE  13
 #define INBETWEEN_MOUSEMOVE    17
 
-/* NDOF (from SpaceNavigator & friends) */
-#define NDOF_MOTION 0x12 // keep in sync with GHOST_NDOFManager.h
+
+/* NDOF (from SpaceNavigator & friends)
+   These should be kept in sync with GHOST_NDOFManager.h
+   Ordering matters, exact values do not. */
+
+#define NDOF_MOTION 400
+
 enum {
        // used internally, never sent
        NDOF_BUTTON_NONE = NDOF_MOTION,