Struct
WPEPlatformEvent
Instance methods
wpe_event_get_modifiers
Get the modifiers of event. If the WPEEvent doesn’t have
modifiers state 0 is returned.
wpe_event_get_position
Get the position of event. If the WPEEvent doesn’t have
a position, FALSE is returned.
wpe_event_keyboard_get_keycode
Get the hardware key code of event
Note that event must be a keyboard event (WPE_EVENT_KEYBOARD_KEY_DOWN or WPE_EVENT_KEYBOARD_KEY_UP)
wpe_event_keyboard_get_keyval
Get the translated key value of event
Note that event must be a keyboard event (WPE_EVENT_KEYBOARD_KEY_DOWN or WPE_EVENT_KEYBOARD_KEY_UP)
wpe_event_pointer_button_get_button
Get the button number of event.
Note that event must be a pointer button event (WPE_EVENT_POINTER_DOWN or WPE_EVENT_POINTER_UP).
wpe_event_pointer_button_get_press_count
Get the numbbr of button presses for event
Note that event must be a pointer button press event (WPE_EVENT_POINTER_DOWN).
wpe_event_pointer_move_get_delta
Get the movement delta of event
Note that event must be a pointer move event (WPE_EVENT_POINTER_MOVE, WPE_EVENT_POINTER_ENTER or WPE_EVENT_POINTER_LEAVE)
wpe_event_scroll_get_deltas
Get the scroll deltas of event
Note that event must be a scroll event (WPE_EVENT_SCROLL)
wpe_event_scroll_has_precise_deltas
Get whether event has precise scroll deltas.
Note that event must be a scroll event (WPE_EVENT_SCROLL)
wpe_event_set_user_data
Set user_data to event
When event is destroyed destroy_func is called with user_data.
wpe_event_touch_get_sequence_id
Get the sequence identifier of event.
Note that event must be a touch event (WPE_EVENT_TOUCH_DOWN, WPE_EVENT_TOUCH_UP, WPE_EVENT_TOUCH_MOVER or WPE_EVENT_TOUCH_CANCEL)