Camilla Löwy
0c6b505619
Convert some declarations to C99 style
ago%!(EXTRA string=6 years)
Camilla Löwy
56aad76b16
Add C dialect reminders to each source file
...
Files built for Win32 must use C89 style declarations for compatibility
with VS 2010 and 2012, which are still supported by GLFW.
ago%!(EXTRA string=6 years)
Camilla Löwy
a337c56848
Start 3.4
ago%!(EXTRA string=6 years)
Camilla Löwy
ab118b2529
Fix copyright years (somewhat)
ago%!(EXTRA string=6 years)
Emmanuel Gil Peyrot
e75af5f531
Linux: Include the null byte in joystick path
...
This potential bug was found thanks to gcc 8’s -Wstringop-truncation
warning.
ago%!(EXTRA string=7 years)
Ahmad Fatoum
f940a97500
Linux: Add support for kernels < v2.6.39
...
Broke build for me on CentOS-6, which sports a 2.6.32 kernel:
http://www.cpantesters.org/cpan/report/d956d128-0339-11e8-b0d1-b6c4abd39192
CentOS-6 is supported till 2020-11-30.
Closes #1196 .
ago%!(EXTRA string=7 years)
Camilla Löwy
94ee10e655
Remove trailing else
ago%!(EXTRA string=8 years)
Camilla Löwy
a397195d3f
Linux: Make joystick init always fail silently
...
Related to #833 .
ago%!(EXTRA string=8 years)
Camilla Löwy
617c42b20a
Cleanup
ago%!(EXTRA string=8 years)
Camilla Löwy
953106e74d
Add support for SDL_GameControllerDB
...
This adds support for importing and applying mappings from the
SDL_GameControllerDB database.
Related to #900 .
ago%!(EXTRA string=8 years)
Camilla Löwy
99762ad7f0
Cleanup
ago%!(EXTRA string=8 years)
Camilla Löwy
6da26c8d6c
Linux: Ignore partial state after SYN_DROPPED
...
Related to #1005 .
ago%!(EXTRA string=8 years)
Camilla Löwy
d2952e4e92
Cleanup
...
Related to #1005 .
ago%!(EXTRA string=8 years)
Camilla Löwy
206f9ca4bc
Linux: Fix joystick array bugs
...
Related to #1005 .
ago%!(EXTRA string=8 years)
Anthony Pesch
d1a2ec4d20
Linux: Move to evdev for joystick input
...
Closes #1005 .
ago%!(EXTRA string=8 years)
Camilla Löwy
78666204a1
Linux: Fix path buffer length warning
ago%!(EXTRA string=8 years)
Camilla Löwy
5bcf9c76fd
Linux: Fix path buffer length warning
...
Fixes #1025 .
ago%!(EXTRA string=8 years)
Camilla Löwy
798d7c6d68
Implement glfwGetJoystickHats
...
This moves the buttons-as-hats logic to shared code and adds the
GLFW_JOYSTICK_HAT_BUTTONS input mode as a way to disable this legacy
behavior.
Fixes #889 .
ago%!(EXTRA string=8 years)
Camilla Löwy
67a55efa27
Add null joystick backend
...
This prepares the X11 backend to support other joystick APIs, for
example the FreeBSD libusb one.
ago%!(EXTRA string=8 years)
Camilla Löwy
c5694b3013
Linux: Fix joystick disconnection detection
...
Joystick disconnection was not dectected by the event processing
functions and required calling a joystick function.
Fixes #932 .
ago%!(EXTRA string=8 years)
Camilla Löwy
bfd564f257
Move internals to shared joystick objects
...
Preparation for gamecontrollerdb support and the gamepad API.
ago%!(EXTRA string=8 years)
Camilla Löwy
e7722af9a2
Cleanup
ago%!(EXTRA string=9 years)
Camilla Löwy
f4d0c83181
Paperwork done
ago%!(EXTRA string=9 years)
Camilla Berglund
efc6b35615
Rename joystick ID variables
ago%!(EXTRA string=9 years)
Camilla Berglund
53fafad915
Start 3.3
ago%!(EXTRA string=9 years)
Camilla Berglund
751be1ae8c
Fix comment
ago%!(EXTRA string=9 years)
Camilla Berglund
f48b63de38
Fix Valgrind false-positive
...
Fixes #818 .
ago%!(EXTRA string=9 years)
Camilla Berglund
757eea2779
Update email address
ago%!(EXTRA string=9 years)
Camilla Berglund
6a8e169001
Update copyright notice year
ago%!(EXTRA string=9 years)
Camilla Berglund
9d50a346f0
Fix X11 build on non-Linux systems
ago%!(EXTRA string=9 years)
Camilla Berglund
8a7fa306ce
Add glfwSetJoystickCallback
ago%!(EXTRA string=9 years)
Camilla Berglund
10c0eb648a
Cleanup
ago%!(EXTRA string=10 years)
Camilla Berglund
ec9fe02a30
Sort initial joystick set on Linux
...
Fixes #654 .
ago%!(EXTRA string=10 years)
Camilla Berglund
45efb935c5
Use more GLFWbool
ago%!(EXTRA string=10 years)
Camilla Berglund
12b6c56903
Add suffixes to platform specific helper functions
...
Also merge win32_tls.h into win32_platform.h.
ago%!(EXTRA string=10 years)
Camilla Berglund
8f0f1cf6c1
Only poll requested joystick on Linux
...
This also performs minor cleanup.
ago%!(EXTRA string=10 years)
Camilla Berglund
0eccf75f65
Replace GL booleans with public macros
ago%!(EXTRA string=10 years)
Camilla Berglund
95a07f3340
Start 3.2
ago%!(EXTRA string=10 years)
Jonathan Miller
dc4f0f6c91
Fixed close being used instead of inotify_rm_watch.
...
Closes #432 .
Fixes #440 .
ago%!(EXTRA string=10 years)
Camilla Berglund
6c7509c942
Improved robustness of Linux joystick init.
ago%!(EXTRA string=11 years)
Camilla Berglund
0fcbaeb596
Fixed broken Mir and Wayland builds.
...
Fixes #411 .
ago%!(EXTRA string=11 years)
Camilla Berglund
56202ee7c6
Added Linux joystick hot-plugging via inotify.
...
This is a temporary solution until the proper libudev one.
Progresses #17 .
ago%!(EXTRA string=11 years)
Camilla Berglund
899117e785
Possible control flow clarification.
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
48619a385e
Renamed joystick state members.
ago%!(EXTRA string=11 years)
Camilla Berglund
660034332d
Separated joystick state from window system state.
...
This is partially in preparation for pending support for additional
joystick APIs like XInput, DirectInput and IOHID.
ago%!(EXTRA string=11 years)
Jonas Ådahl
8e99996321
Introduce experimental Wayland backend
...
This patch introduces a new backend that enables GLFW applications to
run on Wayland. For now, only output is supported (windowed and
fullscreen). Pointer cursor management, input devices, clipboard etc are
not supported yet.
There are some concepts that can not be supported, more specifically
glfwSetWindowPos, glfwGetWindowPos and glfwSetCursorPos, as they are not
supported by Wayland.
This patch also changes the time and joystick implementations used by the
X11 backend to be shared between the Wayland backend and the X11 backend.
ago%!(EXTRA string=11 years)
Camilla Berglund
611006af18
Updated API version in comment headers.
ago%!(EXTRA string=12 years)
Camilla Berglund
e576bdc894
Removed joystick axis value negation.
ago%!(EXTRA string=12 years)