Blender V4.3
GHOST_EventNDOF.hh
Go to the documentation of this file.
1/* SPDX-FileCopyrightText: 2002-2023 Blender Authors
2 *
3 * SPDX-License-Identifier: GPL-2.0-or-later */
4
9#pragma once
10
11#ifndef WITH_INPUT_NDOF
12# error NDOF code included in non-NDOF-enabled build
13#endif
14
15#include "GHOST_Event.hh"
16
18 protected:
19 GHOST_TEventNDOFMotionData m_axisData;
20
21 public:
23 : GHOST_Event(time, GHOST_kEventNDOFMotion, window)
24 {
26 }
27};
28
30 protected:
31 GHOST_TEventNDOFButtonData m_buttonData;
32
33 public:
35 : GHOST_Event(time, GHOST_kEventNDOFButton, window)
36 {
38 }
39};
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
unsigned __int64 uint64_t
Definition stdint.h:90