v1.2.0: added custom button names for playstation controllers
This commit is contained in:
@@ -76,6 +76,10 @@ public class KeyBindings {
|
||||
}
|
||||
|
||||
public static String getKeyName( int keyCode ){
|
||||
if (ControllerHandler.customButtonName(keyCode) != null){
|
||||
return ControllerHandler.customButtonName(keyCode);
|
||||
}
|
||||
|
||||
if (keyCode == Input.Keys.UNKNOWN){
|
||||
return "None";
|
||||
} else if (keyCode == Input.Keys.PLUS){
|
||||
|
||||
Reference in New Issue
Block a user