Blender  V3.3
Public Member Functions | List of all members
GHOST_NDOFManagerCocoa Class Reference

#include <GHOST_NDOFManagerCocoa.h>

Inheritance diagram for GHOST_NDOFManagerCocoa:
GHOST_NDOFManager

Public Member Functions

 GHOST_NDOFManagerCocoa (GHOST_System &)
 
 ~GHOST_NDOFManagerCocoa ()
 
bool available ()
 
- Public Member Functions inherited from GHOST_NDOFManager
 GHOST_NDOFManager (GHOST_System &)
 
virtual ~GHOST_NDOFManager ()
 
bool setDevice (unsigned short vendor_id, unsigned short product_id)
 
void setDeadZone (float)
 
void updateTranslation (const int t[3], uint64_t time)
 
void updateRotation (const int r[3], uint64_t time)
 
void updateButton (int button_number, bool press, uint64_t time)
 
void updateButtons (int button_bits, uint64_t time)
 
bool sendMotionEvent ()
 

Additional Inherited Members

- Protected Attributes inherited from GHOST_NDOFManager
GHOST_Systemm_system
 

Detailed Description

Definition at line 10 of file GHOST_NDOFManagerCocoa.h.

Constructor & Destructor Documentation

◆ GHOST_NDOFManagerCocoa()

GHOST_NDOFManagerCocoa::GHOST_NDOFManagerCocoa ( GHOST_System sys)

◆ ~GHOST_NDOFManagerCocoa()

GHOST_NDOFManagerCocoa::~GHOST_NDOFManagerCocoa ( )

Member Function Documentation

◆ available()

bool GHOST_NDOFManagerCocoa::available ( )
virtual

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 265 of file GHOST_NDOFManagerCocoa.mm.

References driver_loaded.


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