From 6c821f4078414c81128ebf0d35187054df238371 Mon Sep 17 00:00:00 2001 From: Mike Erwin Date: Sat, 6 Aug 2011 23:13:36 +0000 Subject: stricter NDOF guards for Windows (forgot in earlier commit) --- intern/ghost/intern/GHOST_SystemWin32.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'intern') diff --git a/intern/ghost/intern/GHOST_SystemWin32.h b/intern/ghost/intern/GHOST_SystemWin32.h index c5dff27dace..858312b3eb1 100644 --- a/intern/ghost/intern/GHOST_SystemWin32.h +++ b/intern/ghost/intern/GHOST_SystemWin32.h @@ -302,6 +302,7 @@ protected: */ static void processMinMaxInfo(MINMAXINFO * minmax); +#ifdef WITH_INPUT_NDOF /** * Handles Motion and Button events from a SpaceNavigator or related device. * Instead of returning an event object, this function communicates directly @@ -310,6 +311,7 @@ protected: * @return Whether an event was generated and sent. */ bool processNDOF(RAWINPUT const& raw); +#endif /** * Returns the local state of the modifier keys (from the message queue). -- cgit v1.2.3