Blender V4.3
GHOST_NDOFManagerUnix.cc File Reference
#include "GHOST_NDOFManagerUnix.hh"
#include "GHOST_System.hh"
#include "CLG_log.h"
#include <cstdio>
#include <spnav.h>
#include <unistd.h>

Go to the source code of this file.

Macros

#define LOG   (&LOG_NDOF_UNIX)
 
#define MAX_LINE_LENGTH   100
 
#define USE_FINISH_GLITCH_WORKAROUND
 

Variables

static const char * spnav_sock_path = "/var/run/spnav.sock"
 
static CLG_LogRef LOG_NDOF_UNIX = {"ghost.ndof.unix"}
 
static bool motion_test_prev = false
 

Macro Definition Documentation

◆ LOG

#define LOG   (&LOG_NDOF_UNIX)

Definition at line 18 of file GHOST_NDOFManagerUnix.cc.

◆ MAX_LINE_LENGTH

#define MAX_LINE_LENGTH   100

◆ USE_FINISH_GLITCH_WORKAROUND

#define USE_FINISH_GLITCH_WORKAROUND

Definition at line 71 of file GHOST_NDOFManagerUnix.cc.

Variable Documentation

◆ LOG_NDOF_UNIX

CLG_LogRef LOG_NDOF_UNIX = {"ghost.ndof.unix"}
static

Definition at line 17 of file GHOST_NDOFManagerUnix.cc.

◆ motion_test_prev

bool motion_test_prev = false
static

Definition at line 75 of file GHOST_NDOFManagerUnix.cc.

Referenced by GHOST_NDOFManagerUnix::processEvents().

◆ spnav_sock_path

const char* spnav_sock_path = "/var/run/spnav.sock"
static