Blender  V3.3
GHOST_EventNDOF.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 
7 #pragma once
8 
9 #ifndef WITH_INPUT_NDOF
10 # error NDOF code included in non-NDOF-enabled build
11 #endif
12 
13 #include "GHOST_Event.h"
14 
16  protected:
17  GHOST_TEventNDOFMotionData m_axisData;
18 
19  public:
21  : GHOST_Event(time, GHOST_kEventNDOFMotion, window)
22  {
23  m_data = &m_axisData;
24  }
25 };
26 
28  protected:
29  GHOST_TEventNDOFButtonData m_buttonData;
30 
31  public:
33  : GHOST_Event(time, GHOST_kEventNDOFButton, window)
34  {
36  }
37 };
GHOST_TEventNDOFButtonData m_buttonData
GHOST_EventNDOFButton(uint64_t time, GHOST_IWindow *window)
GHOST_EventNDOFMotion(uint64_t time, GHOST_IWindow *window)
GHOST_TEventNDOFMotionData m_axisData
GHOST_TEventDataPtr m_data
Definition: GHOST_Event.h:74
double time
unsigned __int64 uint64_t
Definition: stdint.h:90