Monado OpenXR Runtime
Data Fields
psmv_parsed_input Struct Reference

A parsed input packet. More...

Collaboration diagram for psmv_parsed_input:
Collaboration graph
[legend]

Data Fields

uint32_t buttons
 
uint16_t timestamp
 
uint16_t timestamp_copy
 
uint8_t battery
 
uint8_t seq_no
 
union {
   uint8_t   trigger_values [2]
 Trigger for the last two frames (ZCM1). More...
 
   struct {
      uint8_t   trigger_low_pass
 Low-pass filtered versio of trigger (ZCM2). More...
 
      uint8_t   trigger
 Trigger (ZCM2). More...
 
   } 
 
}; 
 
union {
   struct psmv_parsed_sample   samples [2]
 Accelerometer and gyro scope samples (ZCM1). More...
 
   struct {
      struct psmv_parsed_sample   sample
 Accelerometer and gyro scope samples (ZCM2). More...
 
      struct psmv_parsed_sample   sample_copy
 Copy of above (ZCM2). More...
 
   } 
 
}; 
 

Detailed Description

A parsed input packet.

Field Documentation

◆ sample

struct psmv_parsed_sample psmv_parsed_input::sample

Accelerometer and gyro scope samples (ZCM2).

◆ sample_copy

struct psmv_parsed_sample psmv_parsed_input::sample_copy

Copy of above (ZCM2).

◆ samples

struct psmv_parsed_sample psmv_parsed_input::samples[2]

Accelerometer and gyro scope samples (ZCM1).

◆ trigger

uint8_t psmv_parsed_input::trigger

Trigger (ZCM2).

◆ trigger_low_pass

uint8_t psmv_parsed_input::trigger_low_pass

Low-pass filtered versio of trigger (ZCM2).

◆ trigger_values

uint8_t psmv_parsed_input::trigger_values[2]

Trigger for the last two frames (ZCM1).


The documentation for this struct was generated from the following file: