|
Blender
V2.93
|
#include "GHOST_NDOFManager.h"#include "GHOST_Debug.h"#include "GHOST_EventKey.h"#include "GHOST_EventNDOF.h"#include "GHOST_WindowManager.h"#include <limits.h>#include <math.h>#include <stdio.h>#include <string.h>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 = sizeof(Generic_HID_map) / sizeof(NDOF_ButtonT) |
| #define HOME | ( | foo | ) | (ndof->foo == 0.0f) |
| #define HOME | ( | foo | ) | (fabsf(ndof->foo) < threshold) |
|
static |
Definition at line 405 of file GHOST_NDOFManager.cpp.
References HOME.
Referenced by nearHomePosition().
|
static |
Definition at line 412 of file GHOST_NDOFManager.cpp.
References atHomePosition(), and HOME.
Referenced by GHOST_NDOFManager::sendMotionEvent().
|
static |
Definition at line 130 of file GHOST_NDOFManager.cpp.
Referenced by GHOST_NDOFManager::setDevice().
|
static |
Definition at line 145 of file GHOST_NDOFManager.cpp.
Referenced by GHOST_NDOFManager::setDevice().
|
static |
Definition at line 91 of file GHOST_NDOFManager.cpp.
Referenced by GHOST_NDOFManager::setDevice().
|
static |
Definition at line 101 of file GHOST_NDOFManager.cpp.
Referenced by GHOST_NDOFManager::setDevice().
|
static |
Definition at line 121 of file GHOST_NDOFManager.cpp.
Referenced by GHOST_NDOFManager::setDevice().