Function libinput_device_config_send_events_get_mode
pub unsafe extern "C" fn libinput_device_config_send_events_get_mode(
device: *mut libinput_device,
) -> u32
Expand description
@ingroup config
Get the send-event mode for this device. The mode defines when the device processes and sends events to the caller.
If a caller enables the bits for multiple modes, some of which are subsets of another mode libinput may drop the bits that are subsets. In other words, don’t expect libinput_device_config_send_events_get_mode() to always return exactly the same bitmask as passed into libinput_device_config_send_events_set_mode().
@param device The device to configure @return The current bitmask of the send-event mode for this device.
@see libinput_device_config_send_events_get_modes @see libinput_device_config_send_events_set_mode @see libinput_device_config_send_events_get_default_mode