Slight tweak to the controller patch, rename getEventButtonStatus() to

getEventButtonState() to make it consistent with Keyboard and Mouse
classes and remove unused import.
This commit is contained in:
kappaOne 2013-10-29 22:06:20 +00:00
parent aacd16acd1
commit 6c4de65e20
2 changed files with 3 additions and 5 deletions

View file

@ -31,8 +31,6 @@
*/
package org.lwjgl.input;
import org.lwjgl.Sys;
/**
* An event occuring on a controller.
*

View file

@ -269,11 +269,11 @@ public class Controllers {
}
/**
* Check the button is pressed or not at the current event
* Gets the state of the button that generated the current event
*
* @return True when a button is pressed at the current event
* @return True if button was down, or false if released
*/
public static boolean getEventButtonStatus() {
public static boolean getEventButtonState() {
return event.getButtonState();
}