Minor tweaks to get exec.connected working

This commit is contained in:
2016-07-14 08:54:38 +01:00
parent 2b272142aa
commit 1a3235d19c
8 changed files with 26 additions and 23 deletions

View File

@@ -36,15 +36,14 @@ import de.hardcode.jxinput.event.JXInputDirectionalEvent;
public abstract class JavaInputDevice extends Component implements Device {
protected String name;
protected JavaInputListener javaInputListener;
protected Button previousDirectionalButton;
public JavaInputDevice(String title, String name) {
super(title);
this.name = name;
}
protected JavaInputListener javaInputListener;
protected Button previousDirectionalButton;
public void activate() throws ActivateException {
try {
JXInputDevice jxinputDevice = getDevice(name);