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:
@@ -36,8 +36,8 @@ import org.wiigee.util.Log;
|
|||||||
*/
|
*/
|
||||||
public class Wiigee {
|
public class Wiigee {
|
||||||
|
|
||||||
protected static String version = "1.5.4 alpha";
|
protected static String version = "1.5.5 alpha";
|
||||||
protected static String releasedate = "20090706";
|
protected static String releasedate = "20090714";
|
||||||
|
|
||||||
protected Wiigee() {
|
protected Wiigee() {
|
||||||
Log.write("This is wiigee version "+version+" ("+releasedate+")");
|
Log.write("This is wiigee version "+version+" ("+releasedate+")");
|
||||||
|
|||||||
@@ -49,7 +49,7 @@ public class Device {
|
|||||||
protected int closegesturebutton;
|
protected int closegesturebutton;
|
||||||
|
|
||||||
// Functional
|
// Functional
|
||||||
protected boolean accelerationenabled;
|
protected boolean accelerationEnabled;
|
||||||
|
|
||||||
// Filters, can filter the data stream
|
// Filters, can filter the data stream
|
||||||
protected Vector<Filter> accfilters = new Vector<Filter>();
|
protected Vector<Filter> accfilters = new Vector<Filter>();
|
||||||
@@ -150,16 +150,8 @@ public class Device {
|
|||||||
return this.processingunit;
|
return this.processingunit;
|
||||||
}
|
}
|
||||||
|
|
||||||
public boolean accelerationEnabled() {
|
public void setAccelerationEnabled(boolean enabled) throws IOException {
|
||||||
return this.accelerationenabled;
|
this.accelerationEnabled = enabled;
|
||||||
}
|
|
||||||
|
|
||||||
public void enableAccelerationSensors() throws IOException {
|
|
||||||
this.accelerationenabled = true;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void disableAccelerationSensors() throws IOException {
|
|
||||||
this.accelerationenabled = false;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public void loadGesture(String filename) {
|
public void loadGesture(String filename) {
|
||||||
|
|||||||
Reference in New Issue
Block a user