Blender V5.0
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
8
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 axis_data_;
20
21 public:
23 : GHOST_Event(time, GHOST_kEventNDOFMotion, window)
24 {
26 }
27};
28
30 protected:
31 GHOST_TEventNDOFButtonData button_data_;
32
33 public:
35 : GHOST_Event(time, GHOST_kEventNDOFButton, window)
36 {
38 }
39};
unsigned long long int uint64_t
GHOST_TEventNDOFButtonData button_data_
GHOST_EventNDOFButton(uint64_t time, GHOST_IWindow *window)
GHOST_TEventNDOFMotionData axis_data_
GHOST_EventNDOFMotion(uint64_t time, GHOST_IWindow *window)
GHOST_Event(uint64_t msec, GHOST_TEventType type, GHOST_IWindow *window)
GHOST_TEventDataPtr data_