Blender V4.3
GHOST_NDOFManagerUnix Class Reference

#include <GHOST_NDOFManagerUnix.hh>

Inherits GHOST_NDOFManager.

Public Member Functions

 GHOST_NDOFManagerUnix (GHOST_System &)
 
 ~GHOST_NDOFManagerUnix ()
 
bool available ()
 
bool processEvents ()
 
- Public Member Functions inherited from GHOST_NDOFManager
virtual ~GHOST_NDOFManager ()
 
 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 updateButton (int button_number, 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

Event capture is handled within the NDOF manager on Linux, so there's no need for SystemX11 to look for them.

Definition at line 13 of file GHOST_NDOFManagerUnix.hh.

Constructor & Destructor Documentation

◆ GHOST_NDOFManagerUnix()

GHOST_NDOFManagerUnix::GHOST_NDOFManagerUnix ( GHOST_System & sys)

◆ ~GHOST_NDOFManagerUnix()

GHOST_NDOFManagerUnix::~GHOST_NDOFManagerUnix ( )

Definition at line 51 of file GHOST_NDOFManagerUnix.cc.

Member Function Documentation

◆ available()

bool GHOST_NDOFManagerUnix::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 58 of file GHOST_NDOFManagerUnix.cc.

◆ processEvents()


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