3 #ifndef RELATIVE_POINTER_UNSTABLE_V1_CLIENT_PROTOCOL_H 4 #define RELATIVE_POINTER_UNSTABLE_V1_CLIENT_PROTOCOL_H 8 #include "wayland-client.h" 73 struct zwp_relative_pointer_manager_v1;
74 struct zwp_relative_pointer_v1;
113 #define ZWP_RELATIVE_POINTER_MANAGER_V1_DESTROY 0 114 #define ZWP_RELATIVE_POINTER_MANAGER_V1_GET_RELATIVE_POINTER 1 120 #define ZWP_RELATIVE_POINTER_MANAGER_V1_DESTROY_SINCE_VERSION 1 124 #define ZWP_RELATIVE_POINTER_MANAGER_V1_GET_RELATIVE_POINTER_SINCE_VERSION 1 130 wl_proxy_set_user_data((
struct wl_proxy *) zwp_relative_pointer_manager_v1, user_data);
137 return wl_proxy_get_user_data((
struct wl_proxy *) zwp_relative_pointer_manager_v1);
143 return wl_proxy_get_version((
struct wl_proxy *) zwp_relative_pointer_manager_v1);
155 wl_proxy_marshal((
struct wl_proxy *) zwp_relative_pointer_manager_v1,
158 wl_proxy_destroy((
struct wl_proxy *) zwp_relative_pointer_manager_v1);
167 static inline struct zwp_relative_pointer_v1 *
172 id = wl_proxy_marshal_constructor((
struct wl_proxy *) zwp_relative_pointer_manager_v1,
175 return (
struct zwp_relative_pointer_v1 *)
id;
227 struct zwp_relative_pointer_v1 *zwp_relative_pointer_v1,
232 wl_fixed_t dx_unaccel,
233 wl_fixed_t dy_unaccel);
243 return wl_proxy_add_listener((
struct wl_proxy *) zwp_relative_pointer_v1,
244 (
void (**)(
void)) listener, data);
247 #define ZWP_RELATIVE_POINTER_V1_DESTROY 0 252 #define ZWP_RELATIVE_POINTER_V1_RELATIVE_MOTION_SINCE_VERSION 1 257 #define ZWP_RELATIVE_POINTER_V1_DESTROY_SINCE_VERSION 1 263 wl_proxy_set_user_data((
struct wl_proxy *) zwp_relative_pointer_v1, user_data);
270 return wl_proxy_get_user_data((
struct wl_proxy *) zwp_relative_pointer_v1);
276 return wl_proxy_get_version((
struct wl_proxy *) zwp_relative_pointer_v1);
285 wl_proxy_marshal((
struct wl_proxy *) zwp_relative_pointer_v1,
288 wl_proxy_destroy((
struct wl_proxy *) zwp_relative_pointer_v1);
static void * zwp_relative_pointer_v1_get_user_data(struct zwp_relative_pointer_v1 *zwp_relative_pointer_v1)
static void zwp_relative_pointer_v1_set_user_data(struct zwp_relative_pointer_v1 *zwp_relative_pointer_v1, void *user_data)
#define ZWP_RELATIVE_POINTER_MANAGER_V1_GET_RELATIVE_POINTER
const struct wl_interface zwp_relative_pointer_manager_v1_interface
GLint GLenum GLsizei GLsizei GLsizei GLint GLsizei const GLvoid * data
#define ZWP_RELATIVE_POINTER_MANAGER_V1_DESTROY
static void * zwp_relative_pointer_manager_v1_get_user_data(struct zwp_relative_pointer_manager_v1 *zwp_relative_pointer_manager_v1)
const struct wl_interface zwp_relative_pointer_v1_interface
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)
#define ZWP_RELATIVE_POINTER_V1_DESTROY
static uint32_t zwp_relative_pointer_manager_v1_get_version(struct zwp_relative_pointer_manager_v1 *zwp_relative_pointer_manager_v1)
static uint32_t zwp_relative_pointer_v1_get_version(struct zwp_relative_pointer_v1 *zwp_relative_pointer_v1)
static void zwp_relative_pointer_manager_v1_destroy(struct zwp_relative_pointer_manager_v1 *zwp_relative_pointer_manager_v1)
GLsizei const void * pointer
static void zwp_relative_pointer_v1_destroy(struct zwp_relative_pointer_v1 *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
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)
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)
static void zwp_relative_pointer_manager_v1_set_user_data(struct zwp_relative_pointer_manager_v1 *zwp_relative_pointer_manager_v1, void *user_data)