|
Blender
V3.3
|
#include <GHOST_NDOFManagerUnix.h>
Public Member Functions | |
| GHOST_NDOFManagerUnix (GHOST_System &) | |
| ~GHOST_NDOFManagerUnix () | |
| bool | available () |
| bool | processEvents () |
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_System & | m_system |
Definition at line 10 of file GHOST_NDOFManagerUnix.h.
| GHOST_NDOFManagerUnix::GHOST_NDOFManagerUnix | ( | GHOST_System & | sys | ) |
Definition at line 12 of file GHOST_NDOFManagerUnix.cpp.
References MAX_LINE_LENGTH, GHOST_NDOFManager::setDevice(), and SPNAV_SOCK_PATH.
| GHOST_NDOFManagerUnix::~GHOST_NDOFManagerUnix | ( | ) |
Definition at line 46 of file GHOST_NDOFManagerUnix.cpp.
|
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 53 of file GHOST_NDOFManagerUnix.cpp.
| bool GHOST_NDOFManagerUnix::processEvents | ( | ) |
Definition at line 73 of file GHOST_NDOFManagerUnix.cpp.
References e, GHOST_System::getMilliSeconds(), GHOST_NDOFManager::m_system, motion_test_prev, r, t, GHOST_NDOFManager::updateButton(), GHOST_NDOFManager::updateRotation(), GHOST_NDOFManager::updateTranslation(), and v.