Mogelijkheid tot het sturen van Actions naar Devices toegevoegd. Gestures ingevoerd in de WiimoteDevice. Herkennen is nog niet constant succesvol!
This commit is contained in:
24
java/src/pm/device/wiimote/gesture/event/Close.java
Normal file
24
java/src/pm/device/wiimote/gesture/event/Close.java
Normal file
@@ -0,0 +1,24 @@
|
||||
package pm.device.wiimote.gesture.event;
|
||||
|
||||
import org.wiigee.device.Device;
|
||||
import org.wiigee.event.ButtonPressedEvent;
|
||||
|
||||
public class Close extends ButtonPressedEvent {
|
||||
protected static final long serialVersionUID = 1L;
|
||||
|
||||
public Close(Device device) {
|
||||
super(device, 0);
|
||||
}
|
||||
|
||||
public boolean isRecognitionInitEvent() {
|
||||
return false;
|
||||
}
|
||||
|
||||
public boolean isTrainInitEvent() {
|
||||
return false;
|
||||
}
|
||||
|
||||
public boolean isCloseGestureInitEvent() {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user