Camilla Löwy
bc7ebc1a89
Fix joystick test attention request
...
Fixes #1020 .
2017-05-22 15:16:47 +02:00
Camilla Löwy
2f5e230338
Add attention request to joystick test
2017-05-11 20:10:28 +02:00
Camilla Löwy
43fc399cd1
Add hat button toggling to joystick test
2017-03-08 12:39:16 +01:00
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 .
2017-03-06 03:23:29 +01:00
Camilla Löwy
106a617fa8
Update Nuklear to 1.33.0
2017-02-26 18:47:53 +01:00
Camilla Löwy
afb5449ca4
Update Nuklear to 1.20
2017-02-07 19:12:22 +01:00
Camilla Löwy
f44307da4e
Update Nuklear to 1.18
...
Fixes #907 .
2016-12-03 20:35:17 +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
cc3036860a
Add list window to joystick test
2016-10-06 19:08:35 +02:00
Camilla Berglund
2af40c3fe6
Update Nuklear to 1.156
2016-10-06 19:07:47 +02:00
Camilla Berglund
66ff4aae89
Convert joystick test to Nuklear
2016-09-27 02:13:55 +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
3bbc8e3191
Hack for msvcrt and mintty
2016-03-31 12:12:07 +02: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
f5c9265d1b
Fixed test joystick drawing leaving holes.
...
Fixes #437 .
2015-02-02 20:08:30 +01:00
Camilla Berglund
cc4c7167fd
Fixed joysticks test segfault.
2013-11-07 19:29:33 +01:00
Camilla Berglund
180a4ee640
Fixed constness of joystick data.
2013-06-04 18:20:38 +02:00
Camilla Berglund
3498163da1
Separated window and framebuffer sizes.
2013-06-04 01:51:54 +02:00
Camilla Berglund
15ed715f4e
Moved public headers to the GLFW directory.
2013-05-22 22:46:34 +02:00
Camilla Berglund
7f2eb7b15b
New joystick API.
2013-05-22 21:56:14 +02:00
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.
2013-03-01 14:13:45 +01:00
Camilla Berglund
f0f4af4287
Fixed warnings on VC++.
2013-01-06 21:02:57 +01:00
Camilla Berglund
9af960e2dd
Made the pointer-ness of object handles explicit.
2013-01-05 21:13:28 +01:00
Camilla Berglund
835f00eb10
Merge branch 'master' into multi-monitor
...
Conflicts:
include/GL/glfw3.h
readme.html
src/fullscreen.c
src/internal.h
src/window.c
src/x11_fullscreen.c
2012-12-31 21:13:10 +01:00
Camilla Berglund
21f41a2bb7
Renamed GLFW_SAMPLES and GLFW_SHOULD_CLOSE.
2012-12-31 19:55:41 +01:00
Camilla Berglund
23c6def880
Merge branch 'master' into multi-monitor
...
Conflicts:
src/cocoa_window.m
src/init.c
tests/iconify.c
tests/reopen.c
2012-12-30 22:18:15 +01:00
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.
2012-12-30 01:50:03 +01:00
Camilla Berglund
73cdc34df7
Merge branch 'master' into multi-monitor
...
Conflicts:
CMakeLists.txt
readme.html
src/CMakeLists.txt
src/cocoa_platform.h
src/win32_platform.h
src/x11_platform.h
tests/events.c
2012-12-02 20:52:03 +01:00
Camilla Berglund
42c78fbe42
Merge branch 'master' into joystickname
2012-12-02 16:45:08 +01:00
Camilla Berglund
7be9e87ef1
Removed bad use of glfwGetCurrentContext.
2012-12-02 16:45:03 +01:00
Camilla Berglund
821997ad55
Merge branch 'master' into joystickname
2012-12-02 16:36:44 +01:00
Camilla Berglund
41bc0d18f4
Merge branch 'master' into multi-monitor
...
Conflicts:
include/GL/glfw3.h
readme.html
src/CMakeLists.txt
src/win32_window.c
src/window.c
src/x11_window.c
tests/clipboard.c
tests/defaults.c
tests/events.c
tests/fsfocus.c
tests/glfwinfo.c
tests/joysticks.c
tests/peter.c
tests/sharing.c
tests/tearing.c
tests/title.c
tests/windows.c
2012-11-27 16:55:04 +01:00
Camilla Berglund
b8c16e49f1
Removed window size DWIM.
2012-11-22 17:04:54 +01:00
Camilla Berglund
1fd9428287
Merge branch 'master' into joystickname
...
Conflicts:
src/x11_joystick.c
2012-11-08 15:55:25 +01:00
Camilla Berglund
7c426d1c92
Merge branch 'master' into multi-monitor
...
Conflicts:
examples/wave.c
src/init.c
src/internal.h
src/window.c
tests/accuracy.c
tests/events.c
tests/reopen.c
2012-11-01 00:07:01 +01:00
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.
2012-10-29 13:36:01 +01:00
Camilla Berglund
1be1636326
Begun integrating monitor and window.
2012-09-27 21:38:35 +02:00
Camilla Berglund
93a1d1c226
Added stubs, implemented on Linux and Cocoa.
2012-09-07 01:01:34 +02:00
Camilla Berglund
2502e4d6f3
Renamed glfwGetJoystickPos to glfwGetJoystickAxes.
2012-08-29 18:58:16 +02:00
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.
2012-08-10 15:29:45 +02:00
Camilla Berglund
2410e2aaf4
Replaced automatic closing with window parameter.
2012-08-10 13:31:15 +02:00
Camilla Berglund
585a840329
Added window parameter to glfwSwapBuffers.
2012-08-06 18:13:37 +02:00
Camilla Berglund
aff30d0baa
Renamed window creation/destruction functions.
...
Renamed glfwOpenWindow to glfwCreateWindow.
Renamed glfwCloseWindow to glfwDestroyWindow.
Renamed glfwOpenWindowHint to glfwWindowHint.
2012-08-06 17:59:34 +02:00
Camilla Berglund
2972cdfeb1
Removed glfwIsWindow.
2012-08-03 16:20:52 +02:00
Camilla Berglund
9cc0abffc5
Rewrote joystick test.
2012-06-06 02:04:15 +02:00
Camilla Berglund
abaac3ea99
Added GLFW error strings to test programs, various tweaks.
2010-09-11 14:32:05 +02:00
Camilla Berglund
cfbafc5b39
Renamed glfw.h to glfw3.h to avoid conflicts.
2010-09-10 13:16:03 +02:00