glfw/docs/news.md
2024-09-19 17:32:15 -05:00

1.4 KiB

Release notes for version 3.5

[TOC]

New features

Unlimited mouse buttons

GLFW now has an input mode which allows an unlimited number of mouse buttons to be reported by the mouse buttton callback, rather than just the associated [mouse button tokens](@ref buttons). This allows using mouse buttons with values over 8. For compatibility with older versions, the @ref GLFW_UNLIMITED_MOUSE_BUTTONS input mode needs to be set to make use of this.

Support for trackpad zoom and rotate on macOS and Wayland

Trackpad zoom and rotate events are now supported on macOS and Wayland using [glfwSetTrackpadZoomCallback](@ref glfwSetTrackpadZoomCallback) and [glfwSetTrackpadRotateCallback](@ref glfwSetTrackpadRotateCallback). These events will not yet emit anything on Windows or X11.

Caveats

Deprecations

Removals

New symbols

New functions

New types

New constants

  • @ref GLFW_UNLIMITED_MOUSE_BUTTONS

Release notes for earlier versions