Camilla Löwy
fdfb5ab466
Fix tpyo
ago%!(EXTRA string=8 years)
Camilla Löwy
a9a5a0b016
Replace use of ctype function that caused warning
ago%!(EXTRA string=8 years)
Camilla Löwy
50eccd298a
Fix cursor mode application for unfocused windows
...
Fixes #1239 .
Fixes #1247 .
ago%!(EXTRA string=8 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=9 years)
Camilla Löwy
1982543cd2
Cleanup
ago%!(EXTRA string=9 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=10 years)
Camilla Berglund
6a8e169001
Update copyright notice year
ago%!(EXTRA string=10 years)
Camilla Berglund
2d2756cbad
Simplify cursor window logic
ago%!(EXTRA string=10 years)
Camilla Berglund
bda031f4ac
Cleanup
ago%!(EXTRA string=10 years)
Camilla Berglund
797ee8d8e3
Move all cursor positioning to platform code
...
Due to Wayland, shared code cannot rely on cursor positioning being
supported by the underlying platform.
This implicitly fixes #617 as it moves cursor centering into
_glfwPlatformSetCursorMode, thus separating it from the stale value of
_glfw.cursorWindow.
Fixes #617 .
ago%!(EXTRA string=10 years)
Camilla Berglund
0e846883bf
Clarify cursor position variable names
ago%!(EXTRA string=10 years)
Camilla Berglund
edb284f189
Add more argument value checks
ago%!(EXTRA string=10 years)
Camilla Berglund
8a7fa306ce
Add glfwSetJoystickCallback
ago%!(EXTRA string=10 years)
Camilla Berglund
29e232f4b2
Improved error messages
ago%!(EXTRA string=10 years)
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.
ago%!(EXTRA string=10 years)
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.
ago%!(EXTRA string=10 years)
Camilla Berglund
de2d4c7763
Clarify pointer assertions
ago%!(EXTRA string=10 years)
Camilla Berglund
0ebdad53e8
Add asserts for public API pointer parameters
ago%!(EXTRA string=10 years)
Camilla Berglund
864ca4dd57
Remove duplicate inclusion
ago%!(EXTRA string=10 years)
Camilla Berglund
9c315412e1
Add glfwGetKeyName
...
Fixes #464 .
ago%!(EXTRA string=10 years)
Camilla Berglund
5006ef3f56
Use more GLFWbool
ago%!(EXTRA string=10 years)