Input
Functions
wpe_key_code_to_unicode
int wpe_key_code_to_unicode ()
Returns
(int )
–
No description available
wpe_unicode_to_key_code
int wpe_unicode_to_key_code ()
Returns
(int )
–
No description available
Structures
wpe_input_axis_2d_event
struct wpe_input_axis_2d_event { struct wpe_input_axis_event base; double x_axis; double y_axis; };
Fields
base
(struct wpe_input_axis_event)
–
x_axis
(double )
–
y_axis
(double )
–
wpe_input_axis_event
struct wpe_input_axis_event { enum wpe_input_axis_event_type type; uint32_t time; int x; int y; uint32_t axis; int32_t value; uint32_t modifiers; };
Fields
type
(enum wpe_input_axis_event_type)
–
time
(int )
–
x
(int )
–
y
(int )
–
axis
(int )
–
value
(int )
–
modifiers
(int )
–
wpe_input_keyboard_event
struct wpe_input_keyboard_event { uint32_t time; uint32_t key_code; uint32_t hardware_key_code; bool pressed; uint32_t modifiers; };
Fields
time
(int )
–
key_code
(int )
–
hardware_key_code
(int )
–
pressed
(_Bool )
–
modifiers
(int )
–
wpe_input_pointer_event
struct wpe_input_pointer_event { enum wpe_input_pointer_event_type type; uint32_t time; int x; int y; uint32_t button; uint32_t state; uint32_t modifiers; };
Fields
type
(enum wpe_input_pointer_event_type)
–
time
(int )
–
x
(int )
–
y
(int )
–
button
(int )
–
state
(int )
–
modifiers
(int )
–
wpe_input_pointer_lock_event
struct wpe_input_pointer_lock_event { struct wpe_input_pointer_event base; double x_delta; double y_delta; };
Fields
base
(struct wpe_input_pointer_event)
–
x_delta
(double )
–
y_delta
(double )
–
wpe_input_touch_event
struct wpe_input_touch_event { const struct wpe_input_touch_event_raw* touchpoints; uint64_t touchpoints_length; enum wpe_input_touch_event_type type; int32_t id; uint32_t time; uint32_t modifiers; };
Fields
touchpoints
(struct wpe_input_touch_event_raw *)
–
touchpoints_length
(int )
–
type
(enum wpe_input_touch_event_type)
–
id
(int )
–
time
(int )
–
modifiers
(int )
–
wpe_input_touch_event_raw
struct wpe_input_touch_event_raw { enum wpe_input_touch_event_type type; uint32_t time; int id; int32_t x; int32_t y; };
Fields
type
(enum wpe_input_touch_event_type)
–
time
(int )
–
id
(int )
–
x
(int )
–
y
(int )
–
Enumerations
wpe_input_axis_event_type
enum wpe_input_axis_event_type { wpe_input_axis_event_type_null, wpe_input_axis_event_type_motion, wpe_input_axis_event_type_motion_smooth, wpe_input_axis_event_type_mask_2d = 1 << 16, };
Members
wpe_input_axis_event_type_null
(0)
–
wpe_input_axis_event_type_motion
(1)
–
wpe_input_axis_event_type_motion_smooth
(2)
–
wpe_input_axis_event_type_mask_2d
(65536)
–
wpe_input_modifier
enum wpe_input_modifier { wpe_input_keyboard_modifier_control = 1 << 0, wpe_input_keyboard_modifier_shift = 1 << 1, wpe_input_keyboard_modifier_alt = 1 << 2, wpe_input_keyboard_modifier_meta = 1 << 3, wpe_input_pointer_modifier_button1 = 1 << 20, wpe_input_pointer_modifier_button2 = 1 << 21, wpe_input_pointer_modifier_button3 = 1 << 22, wpe_input_pointer_modifier_button4 = 1 << 23, wpe_input_pointer_modifier_button5 = 1 << 24, };
Members
wpe_input_keyboard_modifier_control
(1)
–
wpe_input_keyboard_modifier_shift
(2)
–
wpe_input_keyboard_modifier_alt
(4)
–
wpe_input_keyboard_modifier_meta
(8)
–
wpe_input_pointer_modifier_button1
(1048576)
–
wpe_input_pointer_modifier_button2
(2097152)
–
wpe_input_pointer_modifier_button3
(4194304)
–
wpe_input_pointer_modifier_button4
(8388608)
–
wpe_input_pointer_modifier_button5
(16777216)
–
wpe_input_pointer_event_type
enum wpe_input_pointer_event_type { wpe_input_pointer_event_type_null, wpe_input_pointer_event_type_motion, wpe_input_pointer_event_type_button, };
Members
wpe_input_pointer_event_type_null
(0)
–
wpe_input_pointer_event_type_motion
(1)
–
wpe_input_pointer_event_type_button
(2)
–
wpe_input_touch_event_type
enum wpe_input_touch_event_type { wpe_input_touch_event_type_null, wpe_input_touch_event_type_down, wpe_input_touch_event_type_motion, wpe_input_touch_event_type_up, };
Members
wpe_input_touch_event_type_null
(0)
–
wpe_input_touch_event_type_down
(1)
–
wpe_input_touch_event_type_motion
(2)
–
wpe_input_touch_event_type_up
(3)
–
The results of the search are