mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 04:44:11 +02:00
no consts if HAVE_SIXENSE not set
This commit is contained in:
parent
2ce225d76c
commit
9a4d666b0c
1 changed files with 4 additions and 0 deletions
|
@ -34,6 +34,8 @@ Q_LOGGING_CATEGORY(inputplugins, "hifi.inputplugins")
|
|||
const unsigned int LEFT_MASK = 0;
|
||||
const unsigned int RIGHT_MASK = 1U << 1;
|
||||
|
||||
#ifdef HAVE_SIXENSE
|
||||
|
||||
const int CALIBRATION_STATE_IDLE = 0;
|
||||
const int CALIBRATION_STATE_X = 1;
|
||||
const int CALIBRATION_STATE_Y = 2;
|
||||
|
@ -47,6 +49,8 @@ const float NECK_Z = 0.3f; // meters
|
|||
|
||||
const float CONTROLLER_THRESHOLD = 0.35f;
|
||||
|
||||
#endif
|
||||
|
||||
#ifdef __APPLE__
|
||||
typedef int (*SixenseBaseFunction)();
|
||||
typedef int (*SixenseTakeIntFunction)(int);
|
||||
|
|
Loading…
Reference in a new issue