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 version 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

◆ @38

union { ... }

◆ @40

union { ... }

◆ battery

uint8_t psmv_parsed_input::battery

◆ buttons

uint32_t psmv_parsed_input::buttons

◆ 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).

◆ seq_no

uint8_t psmv_parsed_input::seq_no

◆ timestamp

uint16_t psmv_parsed_input::timestamp

◆ timestamp_copy

uint16_t psmv_parsed_input::timestamp_copy

◆ trigger

uint8_t psmv_parsed_input::trigger

Trigger (ZCM2).

◆ trigger_low_pass

uint8_t psmv_parsed_input::trigger_low_pass

Low-pass filtered version 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: