mirror of
https://github.com/shadowfacts/lwjgl2-arm64.git
synced 2026-03-05 04:54:36 +01:00
I correct that it was pointed out in my pull request
・src/java/org/lwjgl/input/Controllers.java, line 265: Should be "The timestamp assigned to the current event" ・src/java/org/lwjgl/input/JInputController.java, line 211: Consider splitting on two lines.
This commit is contained in:
parent
a9e492d93a
commit
dc580e2584
|
|
@ -262,7 +262,7 @@ public class Controllers {
|
|||
/**
|
||||
* Get the timestamp assigned to the current event
|
||||
*
|
||||
* @return The timestamp assigned at the current event
|
||||
* @return The timestamp assigned to the current event
|
||||
*/
|
||||
public static long getEventNanoseconds() {
|
||||
return event.getTimeStamp();
|
||||
|
|
|
|||
|
|
@ -208,7 +208,8 @@ class JInputController implements Controller {
|
|||
buttonState[buttonIndex] = event.getValue() != 0;
|
||||
|
||||
// fire button pressed event
|
||||
Controllers.addEvent(new ControllerEvent(this,event.getNanos(),ControllerEvent.BUTTON,buttonIndex,buttonState[buttonIndex],false,false,0,0));
|
||||
Controllers.addEvent(new ControllerEvent(this,event.getNanos(),ControllerEvent.BUTTON,buttonIndex,
|
||||
buttonState[buttonIndex],false,false,0,0));
|
||||
}
|
||||
|
||||
// handle pov events
|
||||
|
|
|
|||
Loading…
Reference in a new issue