|
Blender V4.3
|
#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_System & | system_ |
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.
| GHOST_NDOFManagerUnix::GHOST_NDOFManagerUnix | ( | GHOST_System & | sys | ) |
Definition at line 20 of file GHOST_NDOFManagerUnix.cc.
References CLOG_INFO, LOG, MAX_LINE_LENGTH, GHOST_NDOFManager::setDevice(), and spnav_sock_path.
| GHOST_NDOFManagerUnix::~GHOST_NDOFManagerUnix | ( | ) |
Definition at line 51 of file GHOST_NDOFManagerUnix.cc.
|
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.
| bool GHOST_NDOFManagerUnix::processEvents | ( | ) |
Definition at line 78 of file GHOST_NDOFManagerUnix.cc.
References e, GHOST_ISystem::getMilliSeconds(), int, motion_test_prev, GHOST_NDOFManager::system_, GHOST_NDOFManager::updateButton(), GHOST_NDOFManager::updateRotation(), GHOST_NDOFManager::updateTranslation(), and v.