Verder gewerkt aan implementatie wiimote.

This commit is contained in:
2011-02-08 19:06:16 +00:00
parent 6310e39312
commit e9c0216ad9
2 changed files with 33 additions and 7 deletions

View File

@@ -7,6 +7,7 @@ import pm.exception.DeviceException;
import pm.exception.MacroException;
import pm.macro.event.Press;
import wiiusej.Wiimote;
import wiiusej.wiiusejevents.physicalevents.WiimoteButtonsEvent;
public class WiimoteDevice extends Device {
protected static final int CONNECT_MAX = 10;
@@ -33,4 +34,8 @@ public class WiimoteDevice extends Device {
e.printStackTrace();
}
}
public void onButtonsEvent(WiimoteButtonsEvent event) {
//evm.macroEvent(event, getWiimote(event));
}
}