Blender
V3.3
|
#include "GHOST_NDOFManager.h"
#include "GHOST_Debug.h"
#include "GHOST_EventKey.h"
#include "GHOST_EventNDOF.h"
#include "GHOST_WindowManager.h"
#include "GHOST_utildefines.h"
#include <climits>
#include <cmath>
#include <cstdio>
#include <cstring>
Go to the source code of this file.
Macros | |
#define | HOME(foo) (ndof->foo == 0.0f) |
#define | HOME(foo) (fabsf(ndof->foo) < threshold) |
Functions | |
static bool | atHomePosition (GHOST_TEventNDOFMotionData *ndof) |
static bool | nearHomePosition (GHOST_TEventNDOFMotionData *ndof, float threshold) |
Variables | |
static const NDOF_ButtonT | Modern3Dx_HID_map [] |
static const NDOF_ButtonT | SpaceExplorer_HID_map [] |
static const NDOF_ButtonT | SpacePilot_HID_map [] |
static const NDOF_ButtonT | Generic_HID_map [] |
static const int | genericButtonCount = ARRAY_SIZE(Generic_HID_map) |
#define HOME | ( | foo | ) | (ndof->foo == 0.0f) |
|
static |
Definition at line 393 of file GHOST_NDOFManager.cpp.
References HOME.
Referenced by nearHomePosition().
Definition at line 400 of file GHOST_NDOFManager.cpp.
References atHomePosition(), HOME, and threshold.
Referenced by GHOST_NDOFManager::sendMotionEvent().
|
static |
Definition at line 117 of file GHOST_NDOFManager.cpp.
Referenced by GHOST_NDOFManager::setDevice().
|
static |
Definition at line 132 of file GHOST_NDOFManager.cpp.
Referenced by GHOST_NDOFManager::setDevice().
|
static |
Definition at line 78 of file GHOST_NDOFManager.cpp.
Referenced by GHOST_NDOFManager::setDevice().
|
static |
Definition at line 88 of file GHOST_NDOFManager.cpp.
Referenced by GHOST_NDOFManager::setDevice().
|
static |
Definition at line 108 of file GHOST_NDOFManager.cpp.
Referenced by GHOST_NDOFManager::setDevice().