glfw/docs/news.md

56 lines
1.8 KiB
Markdown
Raw Normal View History

2024-02-29 14:28:46 +00:00
# Release notes for version 3.5 {#news}
2013-06-13 10:24:07 +00:00
[TOC]
2016-08-18 21:42:15 +00:00
2024-02-22 21:22:47 +00:00
## New features {#features}
2019-04-16 12:43:29 +00:00
### Unlimited mouse buttons {#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 {#joystick_input_callbacks}
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.
2024-02-22 21:22:47 +00:00
## Caveats {#caveats}
2024-02-22 21:22:47 +00:00
## Deprecations {#deprecations}
## Removals {#removals}
## New symbols {#new_symbols}
2019-04-16 12:43:29 +00:00
2024-02-22 21:22:47 +00:00
### New functions {#new_functions}
- @ref glfwSetJoystickButtonCallback
- @ref glfwSetJoystickAxisCallback
- @ref glfwSetJoystickHatCallback
- @ref glfwSetGamepadStateCallback
2024-02-22 21:22:47 +00:00
### New types {#new_types}
- @ref GLFWjoystickbuttonfun
- @ref GLFWjoystickaxisfun
- @ref GLFWjoystickhatfun
- @ref GLFWgamepadstatefun
2024-02-22 21:22:47 +00:00
### New constants {#new_constants}
2019-04-16 12:43:29 +00:00
- @ref GLFW_UNLIMITED_MOUSE_BUTTONS
2024-02-13 19:45:29 +00:00
## Release notes for earlier versions {#news_archive}
2024-02-29 14:28:46 +00:00
- [Release notes for 3.4](https://www.glfw.org/docs/3.4/news.html)
- [Release notes for 3.3](https://www.glfw.org/docs/3.3/news.html)
- [Release notes for 3.2](https://www.glfw.org/docs/3.2/news.html)
- [Release notes for 3.1](https://www.glfw.org/docs/3.1/news.html)
- [Release notes for 3.0](https://www.glfw.org/docs/3.0/news.html)
2013-06-13 10:24:07 +00:00