Monado OpenXR Runtime

SteamVR driver device implementation. More...

#include <functional>
#include <cstring>
#include <thread>
#include <algorithm>
#include "math/m_api.h"
#include "math/m_relation_history.h"
#include "math/m_space.h"
#include "device.hpp"
#include "interfaces/context.hpp"
#include "util/u_debug.h"
#include "util/u_device.h"
#include "util/u_hand_simulation.h"
#include "util/u_hand_tracking.h"
#include "util/u_logging.h"
#include "util/u_json.hpp"
#include "xrt/xrt_defines.h"
#include "xrt/xrt_device.h"
#include "vive/vive_poses.h"
Include dependency graph for device.cpp:

Data Structures

struct  InputClass
 

Macros

#define DEV_ERR(...)   U_LOG_IFL_E(ctx->log_level, __VA_ARGS__)
 
#define DEV_WARN(...)   U_LOG_IFL_W(ctx->log_level, __VA_ARGS__)
 
#define DEV_INFO(...)   U_LOG_IFL_I(ctx->log_level, __VA_ARGS__)
 
#define DEV_DEBUG(...)   U_LOG_IFL_D(ctx->log_level, __VA_ARGS__)
 
#define SETUP_MEMBER_FUNC(name)   this->xrt_device::name = &device_bouncer<HmdDevice, &HmdDevice::name>
 
#define SETUP_MEMBER_FUNC(name)   this->xrt_device::name = &device_bouncer<ControllerDevice, &ControllerDevice::name>
 
#define SETUP_MEMBER_FUNC(name)   this->xrt_device::name = &device_bouncer<Device, &Device::name>
 

Functions

xrt_space_relation_flags operator| (xrt_space_relation_flags a, xrt_space_relation_flags b)
 
xrt_space_relation_flagsoperator|= (xrt_space_relation_flags &a, xrt_space_relation_flags b)
 

Variables

const std::vector< std::string > FACE_BUTTONS
 

Detailed Description

SteamVR driver device implementation.

Author
Shawn Wallace yungw.nosp@m.alla.nosp@m.ce@li.nosp@m.ve.c.nosp@m.om

Variable Documentation

◆ FACE_BUTTONS

const std::vector<std::string> FACE_BUTTONS
Initial value:
= {
"/input/system/touch", "/input/a/touch", "/input/b/touch", "/input/thumbstick/touch", "/input/trackpad/touch",
}