GUI improvements, Settings Tab added, Dynamic activation of Acceleration, Infrared and Wii MotionPlus now possible, but not every modus works yet.

git-svn-id: svn://svn.code.sf.net/p/wiigee/code/trunk@100 c7eff9ee-dd40-0410-8832-91a4d88773cf
This commit is contained in:
bepo23
2009-07-14 07:51:41 +00:00
parent 739747a093
commit 06dd7174a7
2 changed files with 5 additions and 13 deletions

View File

@@ -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+")");

View File

@@ -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<Filter> accfilters = new Vector<Filter>();
@@ -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) {