mirror of
https://github.com/glfw/glfw.git
synced 2025-08-30 18:41:48 +00:00
Merge 7ca8474604
into 63a7e8b7f8
This commit is contained in:
commit
596eaf7e0a
@ -135,7 +135,7 @@ static void registryHandleGlobal(void* userData,
|
||||
{
|
||||
_glfw.wl.seat =
|
||||
wl_registry_bind(registry, name, &wl_seat_interface,
|
||||
_glfw_min(4, version));
|
||||
_glfw_min(5, version));
|
||||
_glfwAddSeatListenerWayland(_glfw.wl.seat);
|
||||
|
||||
if (wl_seat_get_version(_glfw.wl.seat) >=
|
||||
|
@ -1662,6 +1662,31 @@ static void pointerHandleAxis(void* userData,
|
||||
}
|
||||
}
|
||||
|
||||
static void pointerHandleFrame(void* userData,
|
||||
struct wl_pointer* pointer)
|
||||
{
|
||||
}
|
||||
|
||||
static void pointerHandleAxisSource(void* userData,
|
||||
struct wl_pointer* pointer,
|
||||
uint32_t axis_source)
|
||||
{
|
||||
}
|
||||
|
||||
static void pointerHandleAxisStop(void* userData,
|
||||
struct wl_pointer* pointer,
|
||||
uint32_t time,
|
||||
uint32_t axis)
|
||||
{
|
||||
}
|
||||
|
||||
static void pointerHandleAxisDiscrete(void* userData,
|
||||
struct wl_pointer* pointer,
|
||||
uint32_t axis,
|
||||
int32_t discrete)
|
||||
{
|
||||
}
|
||||
|
||||
static const struct wl_pointer_listener pointerListener =
|
||||
{
|
||||
pointerHandleEnter,
|
||||
@ -1669,6 +1694,10 @@ static const struct wl_pointer_listener pointerListener =
|
||||
pointerHandleMotion,
|
||||
pointerHandleButton,
|
||||
pointerHandleAxis,
|
||||
pointerHandleFrame,
|
||||
pointerHandleAxisSource,
|
||||
pointerHandleAxisStop,
|
||||
pointerHandleAxisDiscrete,
|
||||
};
|
||||
|
||||
static void keyboardHandleKeymap(void* userData,
|
||||
|
Loading…
Reference in New Issue
Block a user