Camilla Löwy
7dbdd2e6a5
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 .
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)
Camilla Löwy
1f91697cd3
Win32: Fix VS static analysis warnings
ago%!(EXTRA string=6 years)
Camilla Löwy
02874d9c14
Align joystick axis to gamepad button behavior
...
This is an SDL2 compatibility fix.
ago%!(EXTRA string=6 years)
Camilla Löwy
c32dc3a085
Fix half-axis to gamepad button value mapping
...
Negative half-axes were not negated when mapped onto gamepad buttons.
ago%!(EXTRA string=6 years)
Camilla Löwy
9420e6f0d0
Fix invalid ranges for gamepad axis sources
...
Buttons and hat bits were mapped to [0,1] instead of [-1,1].
Fixes #1293 .
ago%!(EXTRA string=6 years)
Camilla Löwy
c20754c4a6
Fix Coverity Scan false positive
ago%!(EXTRA string=6 years)
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 .
ago%!(EXTRA string=7 years)
Nathan Poirier
9e29f556fd
Add GLFW_RAW_INPUT and glfwRawInputSupported
...
This adds runtime per-window control of whether accelerated or raw mouse
motion is provided when the cursor is disabled.
Fixes #1400 .
Closes #1401 .
ago%!(EXTRA string=7 years)
Camilla Löwy
d5ab3e919a
Cleanup
...
Replace client area with content area.
ago%!(EXTRA string=7 years)
iamCaveLamp
a46104ee69
Removed duplicates of centerCursor function
ago%!(EXTRA string=7 years)
Camilla Löwy
8c611fd5d0
Win32: Fix build on older versions of Visual C++
...
Older versions did not provide fmin or fmax. This adds internal
versions of fminf and fmaxf that should not be confused with
standards compliant implementations.
ago%!(EXTRA string=7 years)
Camilla Löwy
fdfb5ab466
Fix tpyo
ago%!(EXTRA string=7 years)
Camilla Löwy
a9a5a0b016
Replace use of ctype function that caused warning
ago%!(EXTRA string=7 years)
Camilla Löwy
50eccd298a
Fix cursor mode application for unfocused windows
...
Fixes #1239 .
Fixes #1247 .
ago%!(EXTRA string=7 years)
Camilla Löwy
3c9011030f
Cleanup
ago%!(EXTRA string=8 years)
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.
ago%!(EXTRA string=8 years)
Camilla Löwy
a678665c49
Cleanup
ago%!(EXTRA string=8 years)
Camilla Löwy
973bf29622
Remove use of non-standard function strdup
...
Related to #873 .
ago%!(EXTRA string=8 years)
Camilla Löwy
bb3ab87a18
Remove unmaintained internal Doxygen docs
...
The useful bits have been transformed to function definition comments.
The style guide stub has been added to the regular docs build.
ago%!(EXTRA string=8 years)
Camilla Löwy
7c2c7858c6
Add monitor and joystick user pointers
ago%!(EXTRA string=8 years)
Camilla Löwy
682f1cf203
Fix wrong element array for hat to axis
ago%!(EXTRA string=8 years)
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 .
ago%!(EXTRA string=8 years)
Camilla Löwy
c2858e9ed7
Verify gamepad mapping indices match hardware
ago%!(EXTRA string=8 years)
Stephen Gowen
bb13275b72
Cocoa: Fix Xcode Warnings
...
Closes #1132 .
ago%!(EXTRA string=8 years)
Camilla Löwy
31cbb20ba2
Deprecate window parameter of clipboard functions
ago%!(EXTRA string=8 years)
Camilla Löwy
b97039f3f5
Cleanup
ago%!(EXTRA string=8 years)
Camilla Löwy
5b7281bd41
Add glfwGetJoystickGUID
...
This function completes the first round of support for
SDL_GameControllerDB.
Fixes #900 .
ago%!(EXTRA string=8 years)
Camilla Löwy
472e5fc4a9
Fix warning
ago%!(EXTRA string=8 years)
Camilla Löwy
82284b86eb
Cleanup
...
Thanks to glfwGetKeyScancode we can now pass only a scancode to the
platform layer for glfwGetKeyName.
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
d5de48ab53
Report invalid constants in the appropriate base
...
If the expected constants are defined in hexadecimal in the header then
the error string should also use hexadecimal.
Idea by IntellectualKitty.
Related to #970 .
ago%!(EXTRA string=8 years)
Camilla Löwy
4f7102be26
Clarify joystick ID error message
ago%!(EXTRA string=8 years)
Camilla Löwy
1982543cd2
Cleanup
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=9 years)
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 .
ago%!(EXTRA string=9 years)
Camilla Löwy
bfd564f257
Move internals to shared joystick objects
...
Preparation for gamecontrollerdb support and the gamepad API.
ago%!(EXTRA string=9 years)
Camilla Löwy
9689f7b925
Remove superfluous comments
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
bb3cb8f233
Cleanup
...
Clean up code and documentation for glfwGetKeyScancode and add
implementation for Wayland and Mir.
Related to #830 .
ago%!(EXTRA string=9 years)
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 .
ago%!(EXTRA string=9 years)
Camilla Berglund
53fafad915
Start 3.3
ago%!(EXTRA string=9 years)
Camilla Berglund
b6b8ff591d
Fix cursor position coordinate delimiter
...
Comma would be great but we don't control the locale.
ago%!(EXTRA string=9 years)
Camilla Berglund
aaccfd8201
I don't know how to C
...
Fixes #773 .
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)