Function input_sys::libinput_event_pointer_get_seat_button_count [] [src]

pub unsafe extern "C" fn libinput_event_pointer_get_seat_button_count(
    event: *mut libinput_event_pointer
) -> u32

@ingroup event_pointer

For the button of a @ref LIBINPUT_EVENT_POINTER_BUTTON event, return the total number of buttons 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_POINTER_BUTTON. For other events, this function returns 0.

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