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:
momokan 2013-07-12 05:58:31 +09:00
parent a9e492d93a
commit dc580e2584
2 changed files with 3 additions and 2 deletions

View file

@ -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();

View file

@ -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