Blender
V3.3
|
#include <GHOST_NDOFManagerCocoa.h>
Public Member Functions | |
GHOST_NDOFManagerCocoa (GHOST_System &) | |
~GHOST_NDOFManagerCocoa () | |
bool | available () |
![]() | |
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 | |
![]() | |
GHOST_System & | m_system |
Definition at line 10 of file GHOST_NDOFManagerCocoa.h.
GHOST_NDOFManagerCocoa::GHOST_NDOFManagerCocoa | ( | GHOST_System & | sys | ) |
Definition at line 220 of file GHOST_NDOFManagerCocoa.mm.
References clientID, DeviceAdded(), DeviceEvent(), DeviceRemoved(), error(), ghost_system, has_new_driver, has_old_driver, kConnexionClientModeTakeOver, kConnexionMaskAll, kConnexionMaskAllButtons, load_driver_functions(), and ndof_manager.
GHOST_NDOFManagerCocoa::~GHOST_NDOFManagerCocoa | ( | ) |
Definition at line 253 of file GHOST_NDOFManagerCocoa.mm.
References clientID, driver_loaded, ghost_system, ndof_manager, NULL, and unload_driver().
|
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.