1
0
forked from Clones/Controlify

pre1 and less sodium stuff cuz i got a pr merged

This commit is contained in:
isXander
2023-02-22 20:19:48 +00:00
parent a40cd9a2e2
commit f17685535a
19 changed files with 51 additions and 259 deletions

View File

@ -14,7 +14,7 @@ import java.util.Objects;
import java.util.UUID;
public abstract class AbstractController<S extends ControllerState, C extends ControllerConfig> implements Controller<S, C> {
private final int joystickId;
protected final int joystickId;
protected String name;
private final String uid;
private final String guid;
@ -47,11 +47,6 @@ public abstract class AbstractController<S extends ControllerState, C extends Co
this.bindings = new ControllerBindings<>(this);
}
@Override
public int joystickId() {
return this.joystickId;
}
public String name() {
if (config().customName != null)
return config().customName;