LEAP_DEVICE_EVENT

Type Alias LEAP_DEVICE_EVENT 

Source
pub type LEAP_DEVICE_EVENT = _LEAP_DEVICE_EVENT;
Expand description

\ingroup Structs Device event information.

LeapPollConnection() produces a message containing this event when a new device is detected. You can use the handle provided by the device filed to open a device so that you can access its properties. @since 3.0.0

Aliased Type§

#[repr(C, packed(1))]
pub struct LEAP_DEVICE_EVENT { pub flags: u32, pub device: _LEAP_DEVICE_REF, pub status: u32, }

Fields§

§flags: u32

Reserved for future use. @since 3.0.0

§device: _LEAP_DEVICE_REF

The handle reference of to the newly attached device. @since 3.0.0

§status: u32

The status of the connected device. A combination of flags from the eLeapDeviceStatus collection.