|
Blender
V2.93
|
#include <GHOST_NDOFManagerUnix.h>
Inherits GHOST_NDOFManager.
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], GHOST_TUns64 time) |
| void | updateRotation (const int r[3], GHOST_TUns64 time) |
| void | updateButton (int button_number, bool press, GHOST_TUns64 time) |
| void | updateButtons (int button_bits, GHOST_TUns64 time) |
| bool | sendMotionEvent () |
Additional Inherited Members | |
Protected Attributes inherited from GHOST_NDOFManager | |
| GHOST_System & | m_system |
Definition at line 24 of file GHOST_NDOFManagerUnix.h.
| GHOST_NDOFManagerUnix::GHOST_NDOFManagerUnix | ( | GHOST_System & | sys | ) |
Definition at line 26 of file GHOST_NDOFManagerUnix.cpp.
References MAX_LINE_LENGTH, GHOST_NDOFManager::setDevice(), and SPNAV_SOCK_PATH.
| GHOST_NDOFManagerUnix::~GHOST_NDOFManagerUnix | ( | ) |
Definition at line 59 of file GHOST_NDOFManagerUnix.cpp.
|
virtual |
Implements GHOST_NDOFManager.
Definition at line 65 of file GHOST_NDOFManagerUnix.cpp.
| bool GHOST_NDOFManagerUnix::processEvents | ( | ) |
Definition at line 85 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.