Miniscule aanpassingen

This commit is contained in:
2011-04-25 14:39:12 +00:00
parent 10ec337a51
commit 12467a043e
5 changed files with 11 additions and 16 deletions

View File

@@ -17,12 +17,12 @@ import pm.macro.state.Release;
public abstract class Device extends EventListener {
protected SequenceListener sequenceListener;
protected InterruptListener interruptListener;
//protected InterruptListener interruptListener;
public Device() {
super();
sequenceListener = new SequenceListener(this);
interruptListener = new InterruptListener(this);
//interruptListener = new InterruptListener(this);
}
/* Register macro's */
@@ -72,10 +72,10 @@ public abstract class Device extends EventListener {
add(new Press(button), new Release(button), continuous);
}
/* Register interruptibles */
/* Register interruptibles *
protected void add(Interruptible interruptible) {
interruptListener.add(interruptible);
}
}*/
/* Recognize events */
protected void add(State state) {