struct tw_globals::wl_inputs

#include <client.h>

struct wl_inputs
{
    // fields

    struct wl_seat* wl_seat;
    struct wl_keyboard* wl_keyboard;
    struct wl_pointer* wl_pointer;
    struct wl_touch* wl_touch;
    struct wl_data_device* wl_data_device;
    struct wl_data_offer* wl_data_offer;
    struct itimerspec repeat_info;
    char name[64];
    uint32_t millisec;
    uint32_t serial;
    uint32_t mime_offered;
    struct xkb_context* kcontext;
    struct xkb_keymap* keymap;
    struct xkb_state* kstate;
    struct wl_surface* keyboard_focused;
    uint32_t modifiers;
    bool key_pressed;
    xkb_keycode_t keycode;
    xkb_keysym_t keysym;
    size_t cursor_size;
    char cursor_theme_name[64];
    struct wl_cursor* cursor;
    struct wl_cursor_theme* cursor_theme;
    struct wl_surface* cursor_surface;
    struct wl_buffer* cursor_buffer;
    struct wl_callback_listener cursor_done_listener;
    struct wl_surface* pointer_focused;
    bool cursor_set;
    uint32_t btn;
    bool btn_pressed;
    uint32_t enter_serial;
    uint32_t pointer_events;
    int16_t sx;
    int16_t sy;
    int16_t dx;
    int16_t dy;
    uint32_t dx_axis;
    uint32_t dy_axis;
};