Monado OpenXR Runtime
Data Structures | Enumerations | Functions
daydream_device.c File Reference

Daydream controller code. More...

#include "xrt/xrt_prober.h"
#include "xrt/xrt_tracking.h"
#include "os/os_time.h"
#include "math/m_api.h"
#include "tracking/t_imu.h"
#include "util/u_var.h"
#include "util/u_time.h"
#include "util/u_misc.h"
#include "util/u_debug.h"
#include "util/u_device.h"
#include "util/u_bitwise.h"
#include "daydream_device.h"
#include <stdio.h>
#include <math.h>
#include <assert.h>
Include dependency graph for daydream_device.c:

Data Structures

struct  daydream_input_packet
 Input package for Daydream. More...
 

Enumerations

enum  daydream_input_index {
  DAYDREAM_TOUCHPAD_CLICK, DAYDREAM_BAR_CLICK, DAYDREAM_CIRCLE_CLICK, DAYDREAM_VOLUP_CLICK,
  DAYDREAM_VOLDN_CLICK, DAYDREAM_TOUCHPAD_POSX, DAYDREAM_TOUCHPAD_POSY
}
 Indices where each input is in the input list. More...
 

Functions

struct daydream_devicedaydream_device_create (struct os_ble_device *ble, bool print_spew, bool print_debug)
 

Detailed Description

Daydream controller code.

Author
Pete Black pete..nosp@m.blac.nosp@m.k@col.nosp@m.labo.nosp@m.ra.co.nosp@m.m
Jakob Bornecrantz jakob.nosp@m.@col.nosp@m.labor.nosp@m.a.co.nosp@m.m

Enumeration Type Documentation

◆ daydream_input_index

Indices where each input is in the input list.

Enumerator
DAYDREAM_TOUCHPAD_CLICK 
DAYDREAM_BAR_CLICK 
DAYDREAM_CIRCLE_CLICK 
DAYDREAM_VOLUP_CLICK 
DAYDREAM_VOLDN_CLICK 
DAYDREAM_TOUCHPAD_POSX 
DAYDREAM_TOUCHPAD_POSY 

Function Documentation

◆ daydream_device_create()

struct daydream_device* daydream_device_create ( struct os_ble_device ble,
bool  print_spew,
bool  print_debug 
)