mirror of
https://github.com/glfw/glfw.git
synced 2024-11-14 18:34:34 +00:00
1.8 KiB
1.8 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
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