Misc helpers for device drivers.
More...
Go to the source code of this file.
Misc helpers for device drivers.
- Author
- Jakob Bornecrantz jakob.nosp@m.@col.nosp@m.labor.nosp@m.a.co.nosp@m.m
◆ U_DEVICE_ALLOCATE
#define U_DEVICE_ALLOCATE |
( |
|
type, |
|
|
|
flags, |
|
|
|
num_inputs, |
|
|
|
num_outputs |
|
) |
| |
Value: num_outputs))
uint16_t type
Definition: vive_protocol.h:210
void * u_device_allocate(enum u_device_alloc_flags flags, size_t size, size_t num_inputs, size_t num_outputs)
Helper function to allocate a device plus inputs in the same allocation placed after the device in me...
Definition: u_device.c:221
Referenced by arduino_device_create(), daydream_device_create(), dummy_hmd_create(), hdk_device_create(), hydra_found(), ns_hmd_create(), oh_device_create(), psvr_device_create(), rs_6dof_create(), vive_controller_found(), and vive_device_create().
◆ u_device_alloc_flags
Enumerator |
---|
U_DEVICE_ALLOC_HMD | |
U_DEVICE_ALLOC_TRACKING_NONE | |
◆ u_device_rotation_180
◆ u_device_rotation_ident
◆ u_device_rotation_left
◆ u_device_rotation_right