diff --git a/src/org/wiigee/control/Wiigee.java b/src/org/wiigee/control/Wiigee.java index 049909a..fff9e7e 100644 --- a/src/org/wiigee/control/Wiigee.java +++ b/src/org/wiigee/control/Wiigee.java @@ -36,8 +36,8 @@ import org.wiigee.util.Log; */ public class Wiigee { - protected static String version = "1.5.4 alpha"; - protected static String releasedate = "20090706"; + protected static String version = "1.5.5 alpha"; + protected static String releasedate = "20090714"; protected Wiigee() { Log.write("This is wiigee version "+version+" ("+releasedate+")"); diff --git a/src/org/wiigee/device/Device.java b/src/org/wiigee/device/Device.java index 2ed529c..6413610 100644 --- a/src/org/wiigee/device/Device.java +++ b/src/org/wiigee/device/Device.java @@ -49,7 +49,7 @@ public class Device { protected int closegesturebutton; // Functional - protected boolean accelerationenabled; + protected boolean accelerationEnabled; // Filters, can filter the data stream protected Vector accfilters = new Vector(); @@ -150,16 +150,8 @@ public class Device { return this.processingunit; } - public boolean accelerationEnabled() { - return this.accelerationenabled; - } - - public void enableAccelerationSensors() throws IOException { - this.accelerationenabled = true; - } - - public void disableAccelerationSensors() throws IOException { - this.accelerationenabled = false; + public void setAccelerationEnabled(boolean enabled) throws IOException { + this.accelerationEnabled = enabled; } public void loadGesture(String filename) {