Monado OpenXR Runtime
psmv_u16_wire Struct Reference

Wire encoding of a single 16 bit integer, little endian. More...

Collaboration diagram for psmv_u16_wire:

Data Fields

uint8_t low
 
uint8_t high
 

Detailed Description

Wire encoding of a single 16 bit integer, little endian.

The values are unsigned 16-bit integers and stored as two's complement. The values are shifted up to always report positive numbers. Subtract 0x8000 to obtain signed values and determine direction from the sign.


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