|
Blender V5.3
|
#include "GHOST_NDOFManagerUnix.hh"#include "GHOST_System.hh"#include "CLG_log.h"#include <cstdio>#include <cstdlib>#include <spnav.h>#include <unistd.h>Go to the source code of this file.
Macros | |
| #define | MAX_LINE_LENGTH 100 |
| #define | USE_FINISH_GLITCH_WORKAROUND |
| #define | MOTION_TEST_IDLE_MS 100 |
Functions | |
| static const char * | spnav_sock_path_get () |
Variables | |
| static const char * | spnav_sock_path_default = "/var/run/spnav.sock" |
| static CLG_LogRef | LOG = {"ghost.ndof"} |
| static bool | motion_test_prev = false |
| static uint64_t | motion_test_prev_time = 0 |
| #define MAX_LINE_LENGTH 100 |
Referenced by GHOST_NDOFManagerUnix::GHOST_NDOFManagerUnix().
| #define MOTION_TEST_IDLE_MS 100 |
Definition at line 99 of file GHOST_NDOFManagerUnix.cc.
Referenced by GHOST_NDOFManagerUnix::processEvents().
| #define USE_FINISH_GLITCH_WORKAROUND |
Workaround for a problem where we don't enter the GHOST_kFinished state, this causes any proceeding event to have a very high dt (time delta), many seconds for eg, causing the view to jump.
this workaround expects continuous events, if we miss a motion event, immediately send a dummy event with no motion to ensure the finished state is reached.
Definition at line 83 of file GHOST_NDOFManagerUnix.cc.
|
static |
Definition at line 18 of file GHOST_NDOFManagerUnix.cc.
References spnav_sock_path_default, and spnav_sock_path_get().
Referenced by GHOST_NDOFManagerUnix::GHOST_NDOFManagerUnix(), and spnav_sock_path_get().
|
static |
Definition at line 26 of file GHOST_NDOFManagerUnix.cc.
|
static |
Definition at line 87 of file GHOST_NDOFManagerUnix.cc.
Referenced by GHOST_NDOFManagerUnix::processEvents().
|
static |
Definition at line 88 of file GHOST_NDOFManagerUnix.cc.
Referenced by GHOST_NDOFManagerUnix::processEvents().
|
static |
Definition at line 16 of file GHOST_NDOFManagerUnix.cc.
Referenced by spnav_sock_path_get().