43 lines
1.9 KiB
C
43 lines
1.9 KiB
C
/*
|
|
Simple DirectMedia Layer
|
|
Copyright (C) 1997-2026 Sam Lantinga <slouken@libsdl.org>
|
|
|
|
This software is provided 'as-is', without any express or implied
|
|
warranty. In no event will the authors be held liable for any damages
|
|
arising from the use of this software.
|
|
|
|
Permission is granted to anyone to use this software for any purpose,
|
|
including commercial applications, and to alter it and redistribute it
|
|
freely, subject to the following restrictions:
|
|
|
|
1. The origin of this software must not be misrepresented; you must not
|
|
claim that you wrote the original software. If you use this software
|
|
in a product, an acknowledgment in the product documentation would be
|
|
appreciated but is not required.
|
|
2. Altered source versions must be plainly marked as such, and must not be
|
|
misrepresented as being the original software.
|
|
3. This notice may not be removed or altered from any source distribution.
|
|
*/
|
|
|
|
#include "SDL_internal.h"
|
|
|
|
#ifndef SDL_waylandmouse_h_
|
|
#define SDL_waylandmouse_h_
|
|
|
|
extern void Wayland_InitMouse(SDL_VideoData *data);
|
|
extern void Wayland_FiniMouse(SDL_VideoData *data);
|
|
extern void Wayland_SeatUpdatePointerCursor(SDL_WaylandSeat *seat);
|
|
extern void Wayland_SeatSetDefaultCursor(SDL_WaylandSeat *seat);
|
|
extern void Wayland_SeatResetCursor(SDL_WaylandSeat *seat);
|
|
extern void Wayland_DisplayUpdatePointerFocusedScale(SDL_WindowData *updated_window);
|
|
extern void Wayland_TabletToolUpdateCursor(SDL_WaylandPenTool *tool);
|
|
extern void Wayland_SeatWarpMouse(SDL_WaylandSeat *seat, SDL_WindowData *window, float x, float y);
|
|
extern void Wayland_CursorStateSetFrameCallback(SDL_WaylandCursorState *state, void *userdata);
|
|
extern void Wayland_CursorStateDestroyFrameCallback(SDL_WaylandCursorState *state);
|
|
extern void Wayland_CursorStateRelease(SDL_WaylandCursorState *state);
|
|
#if 0 // TODO RECONNECT: See waylandvideo.c for more information!
|
|
extern void Wayland_RecreateCursors(void);
|
|
#endif // 0
|
|
|
|
#endif
|