8# error NDOF code included in non-NDOF-enabled build
40#define NDOF_TIME_DELTA_STARTING 0.0125f
61 bool setDevice(
unsigned short vendor_id,
unsigned short product_id);
113 int hid_map_button_num_;
114 int hid_map_button_mask_;
120 int button_depressed_;
128 bool motion_event_pending_;
129 float motion_dead_zone_;
131 inline static std::array<NDOF_DeviceT, 9> bitmask_devices_ = {
@ NDOF_SpaceMouseProWireless
@ NDOF_SpaceMouseWireless
@ NDOF_SpaceMouseEnterprise
std::array< GHOST_NDOF_ButtonT, 6 > NDOF_Button_Array
unsigned long long int uint64_t
void updateButtonsBitmask(int button_bits, uint64_t time)
void updateButton(GHOST_NDOF_ButtonT button, bool press, uint64_t time)
void updateButtonsArray(NDOF_Button_Array buttons, uint64_t time, NDOF_Button_Type type)
virtual ~GHOST_NDOFManager()=default
void updateTranslation(const int t[3], uint64_t time)
virtual bool available()=0
GHOST_NDOFManager(GHOST_System &)
void updateButtonRAW(int button_number, bool press, uint64_t time)
void updateRotation(const int r[3], uint64_t time)
bool setDevice(unsigned short vendor_id, unsigned short product_id)