18 #ifndef EQ_WGL_EVENTHANDLER_H
19 #define EQ_WGL_EVENTHANDLER_H
21 #include <eq/client/eventHandler.h>
22 #include <eq/client/wgl/types.h>
24 #include <lunchbox/os.h>
60 uint32_t _buttonState;
62 int32_t _wheelDeltaPerLine;
67 static LRESULT CALLBACK wndProc( HWND hWnd, UINT uMsg, WPARAM wParam,
69 LRESULT CALLBACK _wndProc( HWND hWnd, UINT uMsg, WPARAM wParam,
71 void _magellanEventHandler(LPARAM lParam);
73 void _syncButtonState( WPARAM wParam );
74 uint32_t _getKey( LPARAM lParam, WPARAM wParam );
75 int32_t _getWheelDelta( WPARAM wParam )
const;
79 #endif // EQ_WGL_EVENTHANDLER_H
The event handler for WGL.
static bool initMagellan(Node *node)
Initialize space mouse event handling for this process.
static void exitMagellan(Node *node)
De-initialize space mouse event handling for this process.
A Node represents a single computer in the cluster.
EventHandler()
Construct a new event handler.
Base class for window system-specific event handlers.
virtual ~EventHandler()
Destruct the WGL event handler.
The interface defining the minimum functionality for a WGL window.