Function input_sys::libinput_event_tablet_pad_get_key_state[][src]

pub unsafe extern "C" fn libinput_event_tablet_pad_get_key_state(
    event: *mut libinput_event_tablet_pad
) -> libinput_key_state
Expand description

@ingroup event_tablet_pad

Return the key state of the event.

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

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

@since 1.15