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) –
No description available
x_axis (double ) –
No description available
y_axis (double ) –
No description available

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) –
No description available
time (int ) –
No description available
x (int ) –
No description available
y (int ) –
No description available
axis (int ) –
No description available
value (int ) –
No description available
modifiers (int ) –
No description available

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 ) –
No description available
key_code (int ) –
No description available
hardware_key_code (int ) –
No description available
pressed (_Bool ) –
No description available
modifiers (int ) –
No description available

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

No description available
time (int ) –
No description available
x (int ) –
No description available
y (int ) –
No description available
button (int ) –
No description available
state (int ) –
No description available
modifiers (int ) –
No description available

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) –
No description available
x_delta (double ) –
No description available
y_delta (double ) –
No description available

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 *) –
No description available
touchpoints_length (int ) –
No description available
type (enum wpe_input_touch_event_type) –
No description available
id (int ) –
No description available
time (int ) –
No description available
modifiers (int ) –
No description available

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) –
No description available
time (int ) –
No description available
id (int ) –
No description available
x (int ) –
No description available
y (int ) –
No description available

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) –
No description available
wpe_input_axis_event_type_motion (1) –
No description available
wpe_input_axis_event_type_motion_smooth (2) –
No description available
wpe_input_axis_event_type_mask_2d (65536) –
No description available

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) –
No description available
wpe_input_keyboard_modifier_shift (2) –
No description available
wpe_input_keyboard_modifier_alt (4) –
No description available
wpe_input_keyboard_modifier_meta (8) –
No description available
wpe_input_pointer_modifier_button1 (1048576) –
No description available
wpe_input_pointer_modifier_button2 (2097152) –
No description available
wpe_input_pointer_modifier_button3 (4194304) –
No description available
wpe_input_pointer_modifier_button4 (8388608) –
No description available
wpe_input_pointer_modifier_button5 (16777216) –
No description available

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) –
No description available
wpe_input_pointer_event_type_motion (1) –
No description available
wpe_input_pointer_event_type_button (2) –
No description available

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) –
No description available
wpe_input_touch_event_type_down (1) –
No description available
wpe_input_touch_event_type_motion (2) –
No description available
wpe_input_touch_event_type_up (3) –
No description available

The results of the search are