pub type LEAP_CONNECTION_MESSAGE = _LEAP_CONNECTION_MESSAGE;Expand description
\ingroup Structs Defines a basic message from the LeapC message queue. Set by calling LeapPollConnection(). @since 3.0.0
Aliased Type§
#[repr(C, packed(1))]pub struct LEAP_CONNECTION_MESSAGE {
pub size: u32,
pub type_: i32,
pub __bindgen_anon_1: _LEAP_CONNECTION_MESSAGE__bindgen_ty_1,
pub device_id: u32,
}Fields§
§size: u32The size of this message struct. @since 3.0.0
type_: i32The message type. @since 3.0.0
__bindgen_anon_1: _LEAP_CONNECTION_MESSAGE__bindgen_ty_1§device_id: u32A unique ID for the attached device that sent this message. A value of 0 indicates that it was a system-wide message, and not device specific. Use this ID to distinguish messages sent from multiple attached devices. @since 4.1.0