Input
Functions
wpe_key_code_to_unicode
uint32_t wpe_key_code_to_unicode (uint32_t )
Parameters:
–
Returns
(uint32_t)
–
No description available
wpe_unicode_to_key_code
uint32_t wpe_unicode_to_key_code (uint32_t )
Parameters:
–
Returns
(uint32_t)
–
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
(uint32_t)
–
x
(int )
–
y
(int )
–
axis
(uint32_t)
–
value
(int32_t)
–
modifiers
(uint32_t)
–
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
(uint32_t)
–
key_code
(uint32_t)
–
hardware_key_code
(uint32_t)
–
pressed
(_Bool )
–
modifiers
(uint32_t)
–
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
(uint32_t)
–
x
(int )
–
y
(int )
–
button
(uint32_t)
–
state
(uint32_t)
–
modifiers
(uint32_t)
–
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
(uint64_t)
–
type
(enum wpe_input_touch_event_type)
–
id
(int32_t)
–
time
(uint32_t)
–
modifiers
(uint32_t)
–
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
(uint32_t)
–
id
(int )
–
x
(int32_t)
–
y
(int32_t)
–
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