3#ifndef RELATIVE_POINTER_UNSTABLE_V1_CLIENT_PROTOCOL_H
4#define RELATIVE_POINTER_UNSTABLE_V1_CLIENT_PROTOCOL_H
8#include "wayland-client.h"
73struct zwp_relative_pointer_manager_v1;
74struct zwp_relative_pointer_v1;
76#ifndef ZWP_RELATIVE_POINTER_MANAGER_V1_INTERFACE
77#define ZWP_RELATIVE_POINTER_MANAGER_V1_INTERFACE
95#ifndef ZWP_RELATIVE_POINTER_V1_INTERFACE
96#define ZWP_RELATIVE_POINTER_V1_INTERFACE
119#define ZWP_RELATIVE_POINTER_MANAGER_V1_DESTROY 0
120#define ZWP_RELATIVE_POINTER_MANAGER_V1_GET_RELATIVE_POINTER 1
126#define ZWP_RELATIVE_POINTER_MANAGER_V1_DESTROY_SINCE_VERSION 1
130#define ZWP_RELATIVE_POINTER_MANAGER_V1_GET_RELATIVE_POINTER_SINCE_VERSION 1
136 wl_proxy_set_user_data((
struct wl_proxy *) zwp_relative_pointer_manager_v1, user_data);
143 return wl_proxy_get_user_data((
struct wl_proxy *) zwp_relative_pointer_manager_v1);
149 return wl_proxy_get_version((
struct wl_proxy *) zwp_relative_pointer_manager_v1);
161 wl_proxy_marshal_flags((
struct wl_proxy *) zwp_relative_pointer_manager_v1,
171static inline struct zwp_relative_pointer_v1 *
176 id = wl_proxy_marshal_flags((
struct wl_proxy *) zwp_relative_pointer_manager_v1,
179 return (
struct zwp_relative_pointer_v1 *)
id;
231 struct zwp_relative_pointer_v1 *zwp_relative_pointer_v1,
236 wl_fixed_t dx_unaccel,
237 wl_fixed_t dy_unaccel);
247 return wl_proxy_add_listener((
struct wl_proxy *) zwp_relative_pointer_v1,
248 (
void (**)(
void)) listener,
data);
251#define ZWP_RELATIVE_POINTER_V1_DESTROY 0
256#define ZWP_RELATIVE_POINTER_V1_RELATIVE_MOTION_SINCE_VERSION 1
261#define ZWP_RELATIVE_POINTER_V1_DESTROY_SINCE_VERSION 1
267 wl_proxy_set_user_data((
struct wl_proxy *) zwp_relative_pointer_v1, user_data);
274 return wl_proxy_get_user_data((
struct wl_proxy *) zwp_relative_pointer_v1);
280 return wl_proxy_get_version((
struct wl_proxy *) zwp_relative_pointer_v1);
289 wl_proxy_marshal_flags((
struct wl_proxy *) zwp_relative_pointer_v1,
SDL_PRINTF_FORMAT_STRING const char int SDL_PRINTF_FORMAT_STRING const char int SDL_PRINTF_FORMAT_STRING const char int SDL_PRINTF_FORMAT_STRING const char const char SDL_SCANF_FORMAT_STRING const char return SDL_ThreadFunction const char void return Uint32 return Uint32 void
GLint GLenum GLsizei GLsizei GLsizei GLint GLsizei const GLvoid * data
GLsizei const void * pointer
static struct zwp_relative_pointer_v1 * zwp_relative_pointer_manager_v1_get_relative_pointer(struct zwp_relative_pointer_manager_v1 *zwp_relative_pointer_manager_v1, struct wl_pointer *pointer)
static void * zwp_relative_pointer_manager_v1_get_user_data(struct zwp_relative_pointer_manager_v1 *zwp_relative_pointer_manager_v1)
static void zwp_relative_pointer_manager_v1_set_user_data(struct zwp_relative_pointer_manager_v1 *zwp_relative_pointer_manager_v1, void *user_data)
static void zwp_relative_pointer_manager_v1_destroy(struct zwp_relative_pointer_manager_v1 *zwp_relative_pointer_manager_v1)
static void zwp_relative_pointer_v1_destroy(struct zwp_relative_pointer_v1 *zwp_relative_pointer_v1)
static void * zwp_relative_pointer_v1_get_user_data(struct zwp_relative_pointer_v1 *zwp_relative_pointer_v1)
static int zwp_relative_pointer_v1_add_listener(struct zwp_relative_pointer_v1 *zwp_relative_pointer_v1, const struct zwp_relative_pointer_v1_listener *listener, void *data)
static void zwp_relative_pointer_v1_set_user_data(struct zwp_relative_pointer_v1 *zwp_relative_pointer_v1, void *user_data)
const struct wl_interface zwp_relative_pointer_manager_v1_interface
#define ZWP_RELATIVE_POINTER_V1_DESTROY
const struct wl_interface zwp_relative_pointer_v1_interface
static uint32_t zwp_relative_pointer_manager_v1_get_version(struct zwp_relative_pointer_manager_v1 *zwp_relative_pointer_manager_v1)
#define ZWP_RELATIVE_POINTER_MANAGER_V1_GET_RELATIVE_POINTER
#define ZWP_RELATIVE_POINTER_MANAGER_V1_DESTROY
static uint32_t zwp_relative_pointer_v1_get_version(struct zwp_relative_pointer_v1 *zwp_relative_pointer_v1)
void(* relative_motion)(void *data, struct zwp_relative_pointer_v1 *zwp_relative_pointer_v1, uint32_t utime_hi, uint32_t utime_lo, wl_fixed_t dx, wl_fixed_t dy, wl_fixed_t dx_unaccel, wl_fixed_t dy_unaccel)