Arseny Kapoulkine
b4d4fc8f79
Optimize _glfwInitJoysticks on OS X.
...
This function used to enumerate all devices and capture all properties
of every device into a dictionary. This takes 180 ms on a MacBook Pro
without external devices and 280 ms with an external keyboard/mouse
attached.
Since we're only interested in a few properties, we can just get them
one by one - this reduces the time to <1 ms.
Note that we still use the dictionary to get the joystick elements.
For unknown reason this is required to get all axes/buttons - without
doing this we don't get any joystick elements in addJoystickElement.
Closes #332 .
ago%!(EXTRA string=11 years)
Camilla Berglund
3b7d34a1d5
Moved XKB header to header variable.
ago%!(EXTRA string=11 years)
Camilla Berglund
aa4ec94d71
Removed link interface no-op.
...
Closes #327 .
ago%!(EXTRA string=11 years)
Camilla Berglund
6e0ea02f17
Quoted all CMake paths with substitution.
...
Fixes #258 .
ago%!(EXTRA string=11 years)
Camilla Berglund
87490316c8
Fixed video modes not being rotated to match CRTC.
...
Fixes #284 .
ago%!(EXTRA string=11 years)
Ricardo Vieira
a7c9ca3b43
wayland: Release input focus when window is destroyed
...
This fixes a seg. fault on the reopen test because events might occur
after the window is destroyed (for example leave events).
ago%!(EXTRA string=11 years)
Ricardo Vieira
acf6bfb1f6
wayland: Destroy window context before clearing the egl surface
ago%!(EXTRA string=11 years)
Ricardo Vieira
2c5c6a1ff5
wayland: Add support for resizing windows
ago%!(EXTRA string=11 years)
Ricardo Vieira
08dccc390d
wayland: Remove unused code
ago%!(EXTRA string=11 years)
Camilla Berglund
70fd348432
Fixed API version in header files.
ago%!(EXTRA string=11 years)
Ricardo Vieira
704dc3e34d
Fixed crash on Wayland with DRM-backend.
...
Fixes #319 .
Fixes #301 .
ago%!(EXTRA string=11 years)
Jonas Ådahl
2230a68e42
wayland: Follow _glfwInputChar() type change
ago%!(EXTRA string=11 years)
Jonas Ådahl
9ac854b7bb
wayland: Add keyboard support
...
Adds libxkbcommon as a dependency when enabling the Wayland backend.
ago%!(EXTRA string=11 years)
Jonas Ådahl
2f71bfc152
x11: Move KeySym to unicode converter out of x11 backend
...
To be used by the Wayland backend.
ago%!(EXTRA string=11 years)
Jonas Ådahl
a75cf5a163
wayland: Add basic input support
ago%!(EXTRA string=11 years)
Jonas Ådahl
4c68049d86
wayland: Fix indentation
ago%!(EXTRA string=11 years)
Ricardo Vieira
dea861abd8
Fixed all EGLConfigs listed as single-buffered.
...
The commit c980858
added a new flag to _GLFWfbconfig that was not being
set by EGLConfig enumeration. This patch assumes eglCreateWindowSurface
only creates double-buffered surfaces.
Fixes #315 .
ago%!(EXTRA string=11 years)
Doug Binks
55b5ca0bcc
Fixed WGL not re-creating for sRGB hint.
...
Fixes #312 .
ago%!(EXTRA string=11 years)
Camilla Berglund
96b12ee504
Added character with modifiers callback.
...
The undefined behaviour changed with #40 has been reverted, making the
character-only callback again behave like a system text field. This
behavior has now been documentated.
Fixes #203 .
Fixes #305 .
ago%!(EXTRA string=11 years)
Camilla Berglund
9b6c14b7ae
Unified X11 cursor creation.
ago%!(EXTRA string=11 years)
Camilla Berglund
215924f797
Removed harmless CGDisplay to NSScreen error.
...
This used to be a failure state, but has since been fixed.
Closes #221 .
ago%!(EXTRA string=11 years)
Camilla Berglund
e8e05d462c
Documentation work.
...
Fixes #276 .
ago%!(EXTRA string=11 years)
Camilla Berglund
a7b9deb2ca
Fixed use of previous member name.
ago%!(EXTRA string=11 years)
Camilla Berglund
8ac54e8b14
Formatting.
ago%!(EXTRA string=11 years)
Camilla Berglund
f3b65445dc
Fixed cursor outside new full screen windows.
...
The cursor was not positioned over newly created full screen windows,
leading to confusing behavior like invisible cursor or window
iconification.
This fix is a stop-gap until the direct cursor position work is merged.
Fixes #111 .
ago%!(EXTRA string=11 years)
Camilla Berglund
7cb217ed4a
Fixed plural forms on key/button arrays.
ago%!(EXTRA string=11 years)
Camilla Berglund
3ce7bfef07
Added GLFW_FLOATING.
...
Fixes #23 .
ago%!(EXTRA string=11 years)
Camilla Berglund
c9808586b3
Added GLFW_DOUBLEBUFFER.
ago%!(EXTRA string=11 years)
Camilla Berglund
281013002d
Added GLFW_DONT_CARE.
...
This changes the behavior of framebuffer hints set to zero. Before,
zero meant that any value was acceptable. This changes zero to be an
explicit preference and adds GLFW_DONT_CARE to mean that any value is
equally acceptable.
Fixes #70 .
ago%!(EXTRA string=11 years)
Camilla Berglund
25e7ff1196
Added GLFW_AUTO_ICONIFY.
...
By default, full screen windows that lose focus will be iconified and
the video mode will be restored. This makes it impossible to create
applications spanning multiple monitors. The GLFW_AUTO_ICONIFY window
hint will allow users to disable this behavior.
Fixes #143 .
ago%!(EXTRA string=11 years)
Camilla Berglund
4fb5da75dc
Consume WM_ERASEBKGND.
ago%!(EXTRA string=11 years)
Camilla Berglund
5e008ad074
Removed tautological test.
ago%!(EXTRA string=11 years)
Camilla Berglund
7123bcfc3e
Fixed modifier key events being lost.
ago%!(EXTRA string=11 years)
Camilla Berglund
20b7ac0518
Formatting.
ago%!(EXTRA string=11 years)
Camilla Berglund
7653f3af49
Updated comments on global variables.
ago%!(EXTRA string=11 years)
Camilla Berglund
ae469ee614
Made X11 Unicode table const.
ago%!(EXTRA string=11 years)
Camilla Berglund
c6e02c09ff
Fixed leaks of joystick mutable arrays.
ago%!(EXTRA string=11 years)
Camilla Berglund
8f2336f02c
Fixed release of get rule objects.
...
Partial revert of b4c03b992c
.
Fixes #262 .
ago%!(EXTRA string=11 years)
Camilla Berglund
04ea2112bd
Fixed possible use of invalid HWND.
ago%!(EXTRA string=11 years)
Camilla Berglund
4923f1cf7e
Call platform API directly where possible.
ago%!(EXTRA string=11 years)
Camilla Berglund
56f0bb8613
Comment fix.
ago%!(EXTRA string=11 years)
Camilla Berglund
b91116e2bc
Fixed glfwShowWindow restoring maximized windows.
...
Fixes #264 .
ago%!(EXTRA string=11 years)
Camilla Berglund
dc5c264e26
Fixed broken key repeat detection.
ago%!(EXTRA string=11 years)
Camilla Berglund
22e1b525a5
Cleaned up shared key repeat detection.
ago%!(EXTRA string=11 years)
Camilla Berglund
d95b1b33e5
Cleanup of XKB detection code.
ago%!(EXTRA string=11 years)
Andrew Corrigan
b889aa7841
Automatically detect Xkb at run-time.
...
Uses XGetKeyboardMapping as a fallback. Fixes #282 .
ago%!(EXTRA string=11 years)
Camilla Berglund
e02b278db1
Linux joystick cleanup.
ago%!(EXTRA string=11 years)
Camilla Berglund
deed44a4af
Fixed joystick name dangling pointer.
ago%!(EXTRA string=11 years)
Camilla Berglund
aa6f8d40bd
Fixed misspelled parameter.
...
Fixes #287 .
ago%!(EXTRA string=11 years)
Camilla Berglund
5ea485e197
Added missing function stub.
ago%!(EXTRA string=11 years)