Camilla Löwy
43fc399cd1
Add hat button toggling to joystick test
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
106a617fa8
Update Nuklear to 1.33.0
ago%!(EXTRA string=8 years)
Camilla Löwy
afb5449ca4
Update Nuklear to 1.20
ago%!(EXTRA string=8 years)
Camilla Löwy
f44307da4e
Update Nuklear to 1.18
...
Fixes #907 .
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
cc3036860a
Add list window to joystick test
ago%!(EXTRA string=9 years)
Camilla Berglund
2af40c3fe6
Update Nuklear to 1.156
ago%!(EXTRA string=9 years)
Camilla Berglund
66ff4aae89
Convert joystick test to Nuklear
ago%!(EXTRA string=9 years)
Camilla Berglund
757eea2779
Update email address
ago%!(EXTRA string=9 years)
Camilla Berglund
8a7fa306ce
Add glfwSetJoystickCallback
ago%!(EXTRA string=9 years)
Camilla Berglund
3bbc8e3191
Hack for msvcrt and mintty
ago%!(EXTRA string=9 years)
Camilla Berglund
1b1ef31228
Make tests and examples use glad
ago%!(EXTRA string=10 years)
Camilla Berglund
0eccf75f65
Replace GL booleans with public macros
ago%!(EXTRA string=10 years)
Camilla Berglund
f5c9265d1b
Fixed test joystick drawing leaving holes.
...
Fixes #437 .
ago%!(EXTRA string=10 years)
Camilla Berglund
cc4c7167fd
Fixed joysticks test segfault.
ago%!(EXTRA string=12 years)
Camilla Berglund
180a4ee640
Fixed constness of joystick data.
ago%!(EXTRA string=12 years)
Camilla Berglund
3498163da1
Separated window and framebuffer sizes.
ago%!(EXTRA string=12 years)
Camilla Berglund
15ed715f4e
Moved public headers to the GLFW directory.
ago%!(EXTRA string=12 years)
Camilla Berglund
7f2eb7b15b
New joystick API.
ago%!(EXTRA string=12 years)
Camilla Berglund
6fadf37bda
Replaced window close parameter with mutable flag.
...
Replaced the GLFW_SHOULD_CLOSE window parameter with the
glfwWindowShouldClose and glfwSetWindowShouldClose functions, allowing
the setting of the close flag from any point in the program.
ago%!(EXTRA string=12 years)
Camilla Berglund
f0f4af4287
Fixed warnings on VC++.
ago%!(EXTRA string=13 years)
Camilla Berglund
9af960e2dd
Made the pointer-ness of object handles explicit.
ago%!(EXTRA string=13 years)
Camilla Berglund
21f41a2bb7
Renamed GLFW_SAMPLES and GLFW_SHOULD_CLOSE.
ago%!(EXTRA string=13 years)
Camilla Berglund
9cc8fc0d0a
Removed glfwGetError and glfwErrorString.
...
The cached error code cannot be made per-thread unless it required
glfwInit (due to lack of __thread on OS X), which would be confusing and
partially defeats the purpose of it.
Beginners would use the generic error string facility instead of the
error callback and then be confused by its nondescript messages.
Storing the provided error code from within the error callback, whether
globally or per-thread, requires just a few lines of code and hands
control to the user without compromising thread safety.
ago%!(EXTRA string=13 years)
Camilla Berglund
7be9e87ef1
Removed bad use of glfwGetCurrentContext.
ago%!(EXTRA string=13 years)
Camilla Berglund
b8c16e49f1
Removed window size DWIM.
ago%!(EXTRA string=13 years)
Camilla Berglund
18d71c2b6d
Made window-related callbacks per-window.
...
This makes polymorphic behaviour easier to implement and avoids the problem of
events being triggered before the GLFW window object is fully usable.
ago%!(EXTRA string=13 years)
Camilla Berglund
1be1636326
Begun integrating monitor and window.
ago%!(EXTRA string=13 years)
Camilla Berglund
93a1d1c226
Added stubs, implemented on Linux and Cocoa.
ago%!(EXTRA string=13 years)
Camilla Berglund
2502e4d6f3
Renamed glfwGetJoystickPos to glfwGetJoystickAxes.
ago%!(EXTRA string=13 years)
Camilla Berglund
2f095cc9e3
Removed implicit glfwMakeCurrentContext.
...
Implicitly making the context current makes sense in a
single-window API but less sense in a multi-window one.
ago%!(EXTRA string=13 years)
Camilla Berglund
2410e2aaf4
Replaced automatic closing with window parameter.
ago%!(EXTRA string=13 years)
Camilla Berglund
585a840329
Added window parameter to glfwSwapBuffers.
ago%!(EXTRA string=13 years)
Camilla Berglund
aff30d0baa
Renamed window creation/destruction functions.
...
Renamed glfwOpenWindow to glfwCreateWindow.
Renamed glfwCloseWindow to glfwDestroyWindow.
Renamed glfwOpenWindowHint to glfwWindowHint.
ago%!(EXTRA string=13 years)
Camilla Berglund
2972cdfeb1
Removed glfwIsWindow.
ago%!(EXTRA string=13 years)
Camilla Berglund
9cc0abffc5
Rewrote joystick test.
ago%!(EXTRA string=13 years)
Camilla Berglund
0c3b1b5a0e
Removed allocator.
ago%!(EXTRA string=13 years)
Camilla Berglund
b997db3a8b
Removed GLFWthreadmodel and glfwInitWithModels.
ago%!(EXTRA string=13 years)
Camilla Berglund
abaac3ea99
Added GLFW error strings to test programs, various tweaks.
ago%!(EXTRA string=15 years)
Camilla Berglund
cfbafc5b39
Renamed glfw.h to glfw3.h to avoid conflicts.
ago%!(EXTRA string=15 years)
Camilla Berglund
3249f812d6
Initial import of 2.7 Lite.
ago%!(EXTRA string=15 years)