18 Commits

Author SHA1 Message Date
Francivan Bezerra
0c7f194feb 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).
2019-03-17 13:10:06 -07:00
Toni Helenius
8ed4c222df The mouse pos should be initialized always 2018-12-21 21:49:03 -08:00
Toni Helenius
54a98f13e5 Get initial mouse pos on init, pass it to the InputManager 2018-12-21 21:48:45 -08:00
Toni Helenius
5520863078 Set as finals 2018-12-21 21:48:31 -08:00
Toni Helenius
1fbfc7d465 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
2018-12-21 20:17:55 -08:00
javasabr
e6f8b368a0 refactored and upgraed lwjgl3 module. 2018-12-21 13:09:27 -08:00
Toni Helenius
09f4ae4832 Animated cursor support for LWJGL 3 (#785)
* Simple animated cursor support

* Use primitive array and diamond constructor
2017-12-08 08:26:50 +01:00
Fennel
54c854bec6 Fixes mouse cursor format for LWJGL3 2016-12-04 02:43:27 +01:00
Sebastian Weiß
e8f76d43fe implemented all changes regarding OpenCL (and some missing stuff) 2016-08-26 14:40:44 +02:00
Sebastian Weiß
e40ebdc5c6 updated GL and AL 2016-08-26 12:39:08 +02:00
javasabr
85e284a7b0 moved the magic number to constant 2016-03-29 19:13:00 +03:00
javasabr
7a3a0627c2 fixed the scroll of mouse and the buffer overflow. 2016-03-29 06:48:40 +03:00
javasabr
b5b6ebd97c fixed the input of chars for UI. 2016-03-29 06:47:36 +03:00
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
2015-12-29 00:00:39 -05:00
Daniel Johansson
c375974a9a Fixed a compiler error where glfw input classes wanted to use the old LwjglTimer class. 2015-09-17 14:48:02 +01:00
Daniel Johansson
b68035570d Removed a TODO note and added key count implementation (rough for now). 2015-09-13 20:26:18 +01:00
Daniel Johansson
971b9524bd Fixed an issue with the GLFW mouse input coordinates not being mapped correctly.
Renamed input classes to GlfwXXX.
2015-09-02 12:47:21 +01:00
Daniel Johansson
8f77dca931 Added jme3-lwjgl3 module which ultimately adds support for LWJGL 3.x and GLFW. 2015-08-26 22:34:05 +01:00