James Khan
b9b4a2d75b
Reference the joystick that changed state instead of the ID.
...
Use separate connection methods (onConnected/onDisconnected).
6 years ago
James Khan
2f6185b5cf
Remove JoystickState enum and replace with boolean value.
6 years ago
James Khan
682d8c9fd8
Use RawInputListener for InputManager instead of creating another field.
...
Set methods to use JoystickState enum instead of event integers.
6 years ago
James Khan
318d6d0e89
Add support for listening to joystick connection/disconnection.
...
Fixes bug causing NullPointerException when removing joysticks.
Allows adding joysticks after the application has started.
6 years ago
Francivan Bezerra
467af4fff5
Fixed call to onJoyButtonEvent()
...
The method onJoyButtonEvent() was being called on every update(). Now it is called only when the state of a button changes (from not pressed to pressed and vice-versa).
6 years ago
Toni Helenius
989fc0a9f0
The mouse pos should be initialized always
6 years ago
Toni Helenius
ca81975988
Get initial mouse pos on init, pass it to the InputManager
6 years ago
Toni Helenius
87023eb3f7
Set as finals
6 years ago
Toni Helenius
bbcb8c5701
Feature 871 ( #873 )
...
* Update LWJGL to 3.1.6
* Change LinkedLists to ArrayDeques
* Call glfwTerminate & set NULL error callback on destroy
fixes crash when context is re-created
6 years ago
javasabr
555a348692
refactored and upgraed lwjgl3 module.
7 years ago
Toni Helenius
09f4ae4832
Animated cursor support for LWJGL 3 ( #785 )
...
* Simple animated cursor support
* Use primitive array and diamond constructor
7 years ago
Fennel
54c854bec6
Fixes mouse cursor format for LWJGL3
8 years ago
Sebastian Weiß
e8f76d43fe
implemented all changes regarding OpenCL (and some missing stuff)
8 years ago
Sebastian Weiß
e40ebdc5c6
updated GL and AL
8 years ago
javasabr
85e284a7b0
moved the magic number to constant
9 years ago
javasabr
7a3a0627c2
fixed the scroll of mouse and the buffer overflow.
9 years ago
javasabr
b5b6ebd97c
fixed the input of chars for UI.
9 years ago
Kirill Vainer
2ca55c8b3a
LWJGL3 improvements
...
* Added key remapping for GLFW key constants
* Rename AppSettings.getGammaCorrection() to isGammaCorrection()
* Use LWJGL3 artifacts from maven
* Minor compatibility changes for LWJGL 3.0.0b
* Fixed some minor bugs in LwjglWindow
9 years ago
Daniel Johansson
c375974a9a
Fixed a compiler error where glfw input classes wanted to use the old LwjglTimer class.
9 years ago
Daniel Johansson
b68035570d
Removed a TODO note and added key count implementation (rough for now).
9 years ago
Daniel Johansson
971b9524bd
Fixed an issue with the GLFW mouse input coordinates not being mapped correctly.
...
Renamed input classes to GlfwXXX.
9 years ago
Daniel Johansson
8f77dca931
Added jme3-lwjgl3 module which ultimately adds support for LWJGL 3.x and GLFW.
9 years ago
Daniel Johansson
89f10eca58
Added jme3-lwjgl3 module which ultimately adds support for LWJGL 3.x and GLFW.
9 years ago