Input

Functions

wpe_input_xkb_context_get_compose_state

struct xkb_compose_state*
wpe_input_xkb_context_get_compose_state (struct wpe_input_xkb_context * )

Parameters:

No description available
Returns (struct xkb_compose_state*)
No description available

wpe_input_xkb_context_get_compose_table

struct xkb_compose_table*
wpe_input_xkb_context_get_compose_table (struct wpe_input_xkb_context * )

Parameters:

No description available
Returns (struct xkb_compose_table*)
No description available

wpe_input_xkb_context_get_context

struct xkb_context*
wpe_input_xkb_context_get_context (struct wpe_input_xkb_context * )

Parameters:

No description available
Returns (struct xkb_context*)
No description available

wpe_input_xkb_context_get_default

struct wpe_input_xkb_context *
wpe_input_xkb_context_get_default ()
Returns (struct wpe_input_xkb_context *)
No description available

wpe_input_xkb_context_get_entries_for_key_code

void 
wpe_input_xkb_context_get_entries_for_key_code (struct wpe_input_xkb_context * ,
                                                uint32_t key_code,
                                                struct wpe_input_xkb_keymap_entry ** ,
                                                uint32_t* n_entries)

Parameters:

No description available
key_code
No description available
No description available
n_entries
No description available
Returns (void )
No description available

wpe_input_xkb_context_get_key_code

uint32_t
wpe_input_xkb_context_get_key_code (struct wpe_input_xkb_context * ,
                                    uint32_t hardware_key_code,
                                    _Bool  pressed)

Parameters:

No description available
hardware_key_code
No description available
pressed
No description available
Returns (uint32_t)
No description available

wpe_input_xkb_context_get_keymap

struct xkb_keymap*
wpe_input_xkb_context_get_keymap (struct wpe_input_xkb_context * )

Parameters:

No description available
Returns (struct xkb_keymap*)
No description available

wpe_input_xkb_context_get_modifiers

uint32_t
wpe_input_xkb_context_get_modifiers (struct wpe_input_xkb_context * ,
                                     uint32_t depressed,
                                     uint32_t latched,
                                     uint32_t locked,
                                     uint32_t group)

Parameters:

No description available
depressed
No description available
latched
No description available
locked
No description available
group
No description available
Returns (uint32_t)
No description available

wpe_input_xkb_context_get_state

struct xkb_state*
wpe_input_xkb_context_get_state (struct wpe_input_xkb_context * )

Parameters:

No description available
Returns (struct xkb_state*)
No description available

wpe_input_xkb_context_set_compose_table

void 
wpe_input_xkb_context_set_compose_table (struct wpe_input_xkb_context * ,
                                         struct xkb_compose_table* )

Parameters:

No description available
No description available
Returns (void )
No description available

wpe_input_xkb_context_set_keymap

void 
wpe_input_xkb_context_set_keymap (struct wpe_input_xkb_context * ,
                                  struct xkb_keymap* )

Parameters:

No description available
No description available
Returns (void )
No description available

wpe_key_code_to_unicode

uint32_t
wpe_key_code_to_unicode (uint32_t )

Parameters:

No description available
Returns (uint32_t)
No description available

wpe_unicode_to_key_code

uint32_t
wpe_unicode_to_key_code (uint32_t )

Parameters:

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

wpe_input_xkb_context


wpe_input_xkb_keymap_entry

struct wpe_input_xkb_keymap_entry {
    uint32_t hardware_key_code;
    int32_t layout;
    int32_t level;
};

Fields

hardware_key_code (uint32_t) –
No description available
layout (int32_t) –
No description available
level (int32_t) –
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