2.3 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.
Callback functions for gamepad state, joystick buttons, joystick axes, and joystick hat inputs
GLFW now has callback functions for [gamepad state](@ref glfwSetGamepadStateCallback), [joystick buttons](@ref glfwSetJoystickButtonCallback), [joystick axes](@ref glfwSetJoystickAxisCallback), and [joystick hats](@ref glfwSetJoystickHatCallback), allowing for event-based inputs for joysticks and gamepads.
Caveats
Deprecations
Removals
Windows XP and Vista support has been removed
Support for Windows XP and Vista has been removed. Windows XP has been out of extended support since 2014.
Original MinGW support has been removed
Support for the now unmaintained original MinGW distribution has been removed.
This does not apply to the much more capable MinGW-w64, which remains fully supported. MinGW-w64 can build both 32- and 64-bit binaries, is actively maintained and available on many platforms.
New symbols
New functions
- @ref glfwSetJoystickButtonCallback
- @ref glfwSetJoystickAxisCallback
- @ref glfwSetJoystickHatCallback
- @ref glfwSetGamepadStateCallback
New types
- @ref GLFWjoystickbuttonfun
- @ref GLFWjoystickaxisfun
- @ref GLFWjoystickhatfun
- @ref GLFWgamepadstatefun
New constants
- @ref GLFW_UNLIMITED_MOUSE_BUTTONS