Enthuin
e65723069f
change gamepad state callback to use the state. post empty event after joystick polling to make waitEvents return
2022-10-20 21:25:38 -05:00
Enthuin
712942e596
Merge remote-tracking branch 'upstream/master' into beoran-601-joystick-callbacks
2022-10-19 18:25:56 -05:00
Camilla Löwy
c50d53160f
Make events test window appear on Wayland
2022-07-13 21:54:55 +02:00
Beoran
ccf7c931b0
Merge branch 'master' into beoran-601-joystick-callbacks
2021-09-22 19:38:40 +02:00
Camilla Löwy
62074f3dea
Update glad2 and switch to header-only version
...
This updates to a newer version of glad2 and switches to the header-only
variant.
This also (finally) switches to the newer glad2 loader signature that
allows us to pass in glfwGetInstanceProcAddress directly.
2021-08-26 16:03:40 +02:00
Camilla Löwy
de23429455
Add reminder for why events test is not closing
2019-11-11 22:37:18 +01:00
Camilla Löwy
08f01c31a0
Add gamepad information to events test output
2019-11-11 22:37:18 +01:00
Camilla Löwy
20e522cdf4
Make events test output only UTF-8 in C locale
2019-11-11 22:37:18 +01:00
Beoran
ee4132b5cf
Test and fix joystick and game pad callbacks on Linux.
2019-11-07 01:01:31 +01:00
luz.paz
7105ff2dfd
Fix typos
...
Found via `codespell -q 3 -S ./deps -L fo,numer,te,uint,wille`
2019-09-16 12:30:25 +02:00
Camilla Löwy
537ea4ccf1
Explicitly disable inclusion for test and examples
...
Thank you, Travis CI, for reminding me that one cannot disable a header
with inclusion guards if it doesn't exist.
2019-05-24 17:28:32 +02:00
Camilla Löwy
51bb76c7c3
Improve (?) reference documentation for callbacks
2019-05-24 14:58:54 +02:00
Camilla Löwy
d7e30b1c74
Replace glad and the Vulkan SDK with glad2
...
This removes all dependencies from the GLFW test programs on the Vulkan
SDK.
It also removes support for linking the GLFW shared library (dynamic
library, DLL) against the Vulkan loader static library.
2019-04-15 02:45:48 +02:00
Camilla Löwy
7f4dde15e4
Allow zero windows for events test
...
glfwWaitEvents is sane now, yay.
2019-01-25 12:46:46 +01:00
Camilla Löwy
f4a304ff03
Remove deprecated event from events test
2018-12-25 22:13:08 +01:00
Camilla Löwy
ff6a8891d4
Make remaining tests set viewport in render loop
2018-02-07 16:46:51 +01:00
Camilla Löwy
370eac3c48
Add glfwSetWindowContentScaleCallback
...
Related to #677 .
Related to #1115 .
2018-01-09 18:00:22 +01:00
Camilla Löwy
0e8c4ea7ce
Add lock key modifier bits input mode
...
This adds the GLFW_MOD_CAPS_LOCK and GLFW_MOD_NUM_LOCK modifier bits.
Set the GLFW_LOCK_KEY_MODS input mode to enable these for all callbacks
that receive modifier bits.
Fixes #946 .
2017-12-06 18:01:34 +01:00
IntellectualKitty
368dec7ac7
Add glfwGetJoystickHats
...
This merges the public part of the glfwGetJoystickHats work by
@IntellectualKitty. The implementation needs replacing due to
refactoring in preparation for gamecontrollerdb support.
Closes #906 .
2017-03-05 23:20:07 +01:00
Camilla Löwy
f4d0c83181
Paperwork done
2016-11-30 14:00:41 +01:00
Camilla Berglund
efc6b35615
Rename joystick ID variables
2016-10-16 14:07:18 +02:00
Camilla Berglund
ea1958a948
Replace sprintf with snprintf
2016-09-30 05:31:07 +02:00
Camilla Berglund
c156b50e4c
Add glfwSetWindowMaximizeCallback
...
Fixes #778 .
2016-09-29 01:24:56 +02:00
Camilla Berglund
757eea2779
Update email address
2016-06-01 21:25:20 +02:00
Camilla Berglund
8a7fa306ce
Add glfwSetJoystickCallback
2016-03-31 12:12:09 +02:00
Camilla Berglund
addb977ef1
Use monitor callback event more strictly
2015-12-15 22:37:22 +01:00
Camilla Berglund
9c315412e1
Add glfwGetKeyName
...
Fixes #464 .
2015-11-09 14:46:09 +01:00
Camilla Berglund
1b1ef31228
Make tests and examples use glad
2015-10-14 12:38:18 +02:00
Camilla Berglund
0eccf75f65
Replace GL booleans with public macros
2015-10-13 00:46:02 +02:00
Camilla Berglund
93855ae6ab
Fixed name of path drop list.
2015-02-16 15:40:08 +01:00
Camilla Berglund
a611144d0c
Restored events locale setting for output.
2014-12-18 03:33:17 +01:00
Camilla Berglund
b2030f6d73
Fixed X11 character input for C locale.
...
Fixes #396 .
2014-12-18 03:24:38 +01:00
Camilla Berglund
2488c67798
Improved grammar of charmods event reporting.
2014-09-22 11:32:10 +02:00
Camilla Berglund
cd93df4fe0
Made events test monitor callback static.
2014-07-07 23:23:46 +02:00
Camilla Berglund
46a56ea742
Clarified charmods in events test.
2014-06-24 13:04:50 +02:00
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 .
2014-06-24 10:50:05 +02:00
Camilla Berglund
a7f93060dd
Killed lab escapee.
2014-03-18 21:40:02 +01:00
Camilla Berglund
c84bd6d393
Formatting.
2014-03-11 12:53:00 +01:00
Camilla Berglund
d2cc815009
Only set the monitor callback once.
2014-03-10 18:56:33 +01:00
Camilla Berglund
4889b4ceee
Added missing detection of invalid flags.
2014-03-10 13:15:50 +01:00
Camilla Berglund
d7c42c8132
Added window creation intent printing.
2014-03-10 13:12:03 +01:00
Camilla Berglund
91e069f979
Desktop mode full screen fixes for tests.
2014-02-13 13:30:15 +01:00
Camilla Berglund
135ee0d93f
Added multi-window support to events test.
2014-02-12 00:49:26 +01:00
Camilla Berglund
8f349e84ae
Cleaned up drop callback design.
2014-01-21 18:23:25 +01:00
Camilla Berglund
ed4c8b27f1
Added drop reporting to events test.
2014-01-21 15:25:50 +01:00
Camilla Berglund
2c920fbb8b
Clarified character callback parameter.
2013-10-10 19:41:56 +02:00
Camilla Berglund
7dd8770e6f
Added full screen option to events test.
2013-10-10 00:17:53 +02:00
Camilla Berglund
11615fcaf2
Added scancode to key callback.
2013-06-05 23:46:09 +02:00
Camilla Berglund
3498163da1
Separated window and framebuffer sizes.
2013-06-04 01:51:54 +02:00
Camilla Berglund
1f0122e05c
Fixed uses of renamed symbol.
2013-05-23 14:41:43 +02:00