[][src]Function input_sys::libinput_event_tablet_pad_get_button_state

pub unsafe extern "C" fn libinput_event_tablet_pad_get_button_state(
    event: *mut libinput_event_tablet_pad
) -> libinput_button_state

@ingroup event_tablet_pad

Return the button state of the event.

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

@param event The libinput tablet pad event @return the button state triggering this event

@since 1.3