Camilla Löwy
02461dc843
Add more standard cursors
...
This adds the standard cursors for diagonal and omnidirectional
resize/move and operation-not-allowed. It also adds new (better?) names
for the horizontal and vertical resize/move and pointing hand cursors.
References:
- https://developer.apple.com/documentation/appkit/nscursor
- https://stackoverflow.com/questions/10733228/
- https://docs.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-setsystemcursor
- https://freedesktop.org/wiki/Specifications/cursor-spec/
- https://tronche.com/gui/x/xlib/appendix/b/
Related to #427 .
2020-04-02 23:28:42 +02:00
luz.paz
13a4e4e810
Fix typos
...
Found via `codespell -q 3 -S ./deps -L fo,numer,te,uint,wille`
(cherry picked from commit 7105ff2dfd
)
2019-09-23 15:27:17 +02:00
Camilla Löwy
e01128f32f
Clarify difference between time and timer in docs
...
(cherry picked from commit bb6945a18a
)
2019-05-27 16:34:04 +02:00
Camilla Löwy
422bf79e8f
Documentation work
2019-04-05 03:26:52 +02:00
Camilla Löwy
1155c83013
Rename raw input to raw mouse motion, cleanup
...
This renames 'raw input' to 'raw mouse motion' as there are other kinds
of raw input. The update path is restructured to avoid reinitializing
all of disabled cursor mode. Modification of shared state is moved out
into shared code. Raw mouse motion is disabled by default for
compatibility.
Related to #1401 .
2019-02-22 13:04:11 +01:00
Camilla Löwy
d5ab3e919a
Cleanup
...
Replace client area with content area.
2019-01-25 12:46:46 +01:00
Camilla Löwy
55b1a16f90
Remove window requirement for all event functions
...
This lets an application wait for non-window events without needing to
create a window.
Fixes #1317 .
2019-01-15 19:28:17 +01:00
Camilla Löwy
9bfdd218fb
Fix Markdown table heads
2018-11-11 18:49:47 +01:00
MrVallentin
769f727e47
Fixed repeated words
2018-11-02 23:09:59 +01:00
tnixeu
245461eb86
Fix guide example callback name mismatch
...
The cursor position callback is named differently in example usage and
example declaration.
Closes #1364 .
2018-10-24 18:01:12 +02:00
Siavash Eliasi
2de2589f91
Documentation work. ( #1328 )
...
Using GLFW_TRUE where applicable.
2018-10-22 17:45:11 +03:30
Emmanuel Gil Peyrot
8d3595fb4d
Remove redundant redundancy
2018-08-23 09:51:01 +02:00
Camilla Löwy
2040309d0c
Add support for gamepad mapping input modifiers
...
This adds support for the + and - and ~ input modifiers for joystick
axes. It also changes how joystick axes are translated to buttons to
more closely match SDL 2.0.7.
Output modifiers are still not supported but have not yet been seen in
the wild.
2018-02-13 18:30:07 +01:00
Camilla Löwy
ee9dffcd66
Add GLFW_HOVERED for polling cursor hover state
...
This window attribute corresponds to the cursor enter/leave callback.
Fixes #1166 .
2018-01-09 18:02:52 +01:00
Camilla Löwy
7c2c7858c6
Add monitor and joystick user pointers
2017-12-19 15:08:28 +01:00
Emmanuel Gil Peyrot
c3cba58a71
Remove trailing whitespace
2017-12-14 15:36:55 +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
Camilla Löwy
b8df6ae3c1
Finish deprecating charmods callback
2017-12-06 18:01:32 +01:00
Camilla Löwy
31cbb20ba2
Deprecate window parameter of clipboard functions
2017-11-10 02:52:16 +01:00
Camilla Löwy
1be81a1540
Documentation work
2017-10-22 16:30:19 +02:00
Camilla Löwy
f308228a19
Documentation work
...
Remove sentence describing GLFW-specific behavior. This describes the
behavior of glfwUpdateGamepadMappings, whose behavior is a mix between
the two related SDL functions, but is not part of the format.
2017-10-18 16:47:00 +02:00
Camilla Löwy
d3247a8c83
Documentation work
2017-07-13 01:26:06 +02:00
Camilla Löwy
6634c47e57
Documentation work
2017-07-09 21:55:06 +02:00
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 .
2017-07-07 15:52:33 +02:00
Camilla Löwy
beaeb0d4af
Add missing pixel format documentation
...
Fixes #1027 .
2017-06-07 20:07:24 +02: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
463930761b
Documentation work
...
[ci skip]
2017-02-20 16:35:02 +01:00
Camilla Löwy
f69829f7b4
Documentation work
...
[ci skip]
2017-02-14 14:56:29 +01:00
Camilla Löwy
a46c95c7f2
Clarify requirements for receiving joystick events
...
As of c5694b3013
this is now consistent
enough across platforms to describe.
Fixes #887 .
[ci skip]
2017-02-01 05:40:48 +01:00
Camilla Löwy
21eeaffc23
Documentation fix
...
Doxygen cannot handle line breaks in Markdown links.
2016-12-09 01:32:09 +01:00
Camilla Löwy
766a9dc9fd
Documentation work
...
Related to glfw/website#34 .
2016-12-08 16:56:05 +01:00
Camilla Berglund
efc6b35615
Rename joystick ID variables
2016-10-16 14:07:18 +02:00
Camilla Berglund
bb3cb8f233
Cleanup
...
Clean up code and documentation for glfwGetKeyScancode and add
implementation for Wayland and Mir.
Related to #830 .
2016-09-07 16:46:48 +02:00
Michael Stocker
e745b0dd47
Add glfwGetKeyScancode
...
Allows retrieval of platform scancode from GLFW_KEY_*. Implemented for
Win32, Cocoa and X11. Stubs for Mir and Wayland.
Closes #830 .
2016-09-07 16:38:22 +02:00
Camilla Berglund
0f12be7549
Documentation work
2016-08-12 01:57:17 +02:00
Camilla Berglund
8a7fa306ce
Add glfwSetJoystickCallback
2016-03-31 12:12:09 +02:00
Camilla Berglund
5661d03be8
Replace GLFWuint64 with uint64_t
...
C99 stdint.h is provided by VS 2010 and later. GLFW has not provided
testing or binaries for VS 2008 for several releases.
For earlier versions of VS there are third-party alternatives:
https://msinttypes.googlecode.com/svn/trunk/stdint.h
http://www.azillionmonkeys.com/qed/pstdint.h
This change does not affect the ABI.
2016-03-28 12:34:44 +02:00
Camilla Berglund
728a088cd7
Fix event processing guide section
2016-03-18 12:08:43 +01:00
Camilla Berglund
5620895e88
Add glfwWaitEventsTimeout
...
This function will put the calling thread to sleep until an event
arrives or until the specified timeout has elapsed.
2016-03-06 17:28:40 +01:00
Camilla Berglund
337c77a39b
Documentation work
2016-03-06 14:11:14 +01:00
Camilla Berglund
31f67dd3cc
Add glfwGetTimerValue and glfwGetTimerFrequency
...
This adds raw timer access to the public API and builds the
floating-point time functions on top. It also makes the GLFWuint64 type
public.
2016-03-06 11:51:23 +01:00
Camilla Berglund
80c203f3bb
Separate guide and reference documentation tags
2016-02-19 10:38:30 +01:00
Camilla Berglund
95c44ab298
Fix cursor coordinate phrasing
...
Fixes #387 .
2016-02-17 15:06:56 +01:00
Camilla Berglund
9c315412e1
Add glfwGetKeyName
...
Fixes #464 .
2015-11-09 14:46:09 +01:00
Camilla Berglund
0b65053ffd
Clarify documentation of glfwGetClipboardString
...
The reference documentation for glfwGetClipboardString did not link to
GLFW_FORMAT_UNAVAILABLE.
Fixes #605 .
2015-09-16 18:25:56 +02:00
Camilla Berglund
85a01bfd9b
Document image data being non-premultiplied
...
Fixes #426 .
2015-08-17 21:09:59 +02:00
Camilla Berglund
5733b0e4cb
Removed repetitition in input guide.
...
Fixes #496 .
2015-04-10 13:31:54 +02:00
Camilla Berglund
4188c263e3
Documentation work.
2015-01-18 17:30:10 +01:00
Camilla Berglund
138feb8be6
Documentation work.
2015-01-05 18:01:24 +01:00
Camilla Berglund
d459145d28
Made glfwGetCursorPos query system directly.
...
Fixes #103 .
Fixes #153 .
Fixes #193 .
Fixes #355 .
Fixes #381 .
2015-01-04 16:54:19 +01:00