Cocoa: Fix handling of analog joystick buttons

The reported state was not clamped to [0,1], i.e. GLFW_RELEASE and
GLFW_PRESS.

Fixes #1385.
This commit is contained in:
Camilla Löwy
2019-01-31 01:54:06 +01:00
parent 51ca41dd9f
commit 463ef7eb71
2 changed files with 3 additions and 1 deletions
+1
View File
@@ -289,6 +289,7 @@ information on what to include when reporting a bug.
(#1334,#1346)
- [Cocoa] Bugfix: Caps Lock did not generate any key events (#1368,#1373)
- [Cocoa] Bugfix: Some buttons for some joysticks were ignored (#1385)
- [Cocoa] Bugfix: Analog joystick buttons were not translated correctly (#1385)
- [WGL] Added support for `WGL_EXT_colorspace` for OpenGL ES contexts
- [WGL] Added support for `WGL_ARB_create_context_no_error`
- [GLX] Added support for `GLX_ARB_create_context_no_error`