Blender V5.0
GHOST_NDOFManagerCocoa Class Reference

#include <GHOST_NDOFManagerCocoa.hh>

Inherits GHOST_NDOFManager.

Public Member Functions

 GHOST_NDOFManagerCocoa (GHOST_System &)
 ~GHOST_NDOFManagerCocoa () override
bool available () override
Public Member Functions inherited from GHOST_NDOFManager
virtual ~GHOST_NDOFManager ()=default
 GHOST_NDOFManager (GHOST_System &)
bool setDevice (unsigned short vendor_id, unsigned short product_id)
void setDeadZone (float)
bool sendMotionEvent ()
void updateTranslation (const int t[3], uint64_t time)
void updateRotation (const int r[3], uint64_t time)
void updateButtonRAW (int button_number, bool press, uint64_t time)
void updateButton (GHOST_NDOF_ButtonT button, bool press, uint64_t time)
void updateButtonsBitmask (int button_bits, uint64_t time)
void updateButtonsArray (NDOF_Button_Array buttons, uint64_t time, NDOF_Button_Type type)

Additional Inherited Members

Protected Attributes inherited from GHOST_NDOFManager
GHOST_Systemsystem_

Detailed Description

Definition at line 12 of file GHOST_NDOFManagerCocoa.hh.

Constructor & Destructor Documentation

◆ GHOST_NDOFManagerCocoa()

◆ ~GHOST_NDOFManagerCocoa()

GHOST_NDOFManagerCocoa::~GHOST_NDOFManagerCocoa ( )
override

Member Function Documentation

◆ available()

bool GHOST_NDOFManagerCocoa::available ( )
overridevirtual

Whether multi-axis functionality is available (via the OS or driver) does not imply that a device is plugged in or being used.

Implements GHOST_NDOFManager.

Definition at line 277 of file GHOST_NDOFManagerCocoa.mm.

References driver_loaded.


The documentation for this class was generated from the following files: