Function input_sys::libinput_event_keyboard_get_seat_key_count[][src]

pub unsafe extern "C" fn libinput_event_keyboard_get_seat_key_count(
    event: *mut libinput_event_keyboard
) -> u32
Expand description

@ingroup event_keyboard

For the key of a @ref LIBINPUT_EVENT_KEYBOARD_KEY event, return the total number of keys pressed on all devices on the associated seat after the event was triggered.

@note It is an application bug to call this function for events other than @ref LIBINPUT_EVENT_KEYBOARD_KEY. For other events, this function returns 0.

@return The seat wide pressed key count for the key of this event