Monado OpenXR Runtime
|
Interface to Daydream driver code. More...
#include "math/m_api.h"
#include "math/m_imu_pre.h"
#include "math/m_imu_3dof.h"
#include "xrt/xrt_device.h"
#include "os/os_threading.h"
#include "os/os_ble.h"
Go to the source code of this file.
Data Structures | |
struct | daydream_parsed_sample |
A parsed sample of accel and gyro. More... | |
struct | daydream_parsed_input |
struct | daydream_device |
Macros | |
#define | DAYDREAM_SPEW(c, ...) |
#define | DAYDREAM_DEBUG(c, ...) |
#define | DAYDREAM_ERROR(c, ...) |
Enumerations | |
enum | daydream_button_bits { DAYDREAM_TOUCHPAD_BUTTON_BIT = 0, DAYDREAM_CIRCLE_BUTTON_BIT = 1, DAYDREAM_BAR_BUTTON_BIT = 2, DAYDREAM_VOLUP_BUTTON_BIT = 3, DAYDREAM_VOLDN_BUTTON_BIT = 4 } |
enum | daydream_button_masks { DAYDREAM_TOUCHPAD_BUTTON_MASK = 1 << DAYDREAM_TOUCHPAD_BUTTON_BIT, DAYDREAM_CIRCLE_BUTTON_MASK = 1 << DAYDREAM_CIRCLE_BUTTON_BIT, DAYDREAM_BAR_BUTTON_MASK = 1 << DAYDREAM_BAR_BUTTON_BIT, DAYDREAM_VOLUP_BUTTON_MASK = 1 << DAYDREAM_VOLUP_BUTTON_BIT, DAYDREAM_VOLDN_BUTTON_MASK = 1 << DAYDREAM_VOLDN_BUTTON_BIT } |
Functions | |
struct daydream_device * | daydream_device_create (struct os_ble_device *ble, bool print_spew, bool print_debug) |
Interface to Daydream driver code.
#define DAYDREAM_DEBUG | ( | c, | |
... | |||
) |
#define DAYDREAM_ERROR | ( | c, | |
... | |||
) |
#define DAYDREAM_SPEW | ( | c, | |
... | |||
) |
enum daydream_button_bits |
struct daydream_device* daydream_device_create | ( | struct os_ble_device * | ble, |
bool | print_spew, | ||
bool | print_debug | ||
) |