Simpele feedback van iTunes naar Wiimote toegevoegd, daartoe kleine fouten in initialisatie van Device gerepareerd. Exceptions moeten worden nagekeken!

This commit is contained in:
2011-05-09 19:18:36 +00:00
parent a8b0a229d7
commit dab8e9494b
9 changed files with 46 additions and 9 deletions

View File

@@ -496,4 +496,14 @@ public class Wiimote implements WiiUseApiListener {
public Calibration getCalibration() {
return manager.getCalibration(id);
}
public void rumble(int milliseconds) {
activateRumble();
try {
Thread.sleep(milliseconds);
} catch (InterruptedException e) {
} finally {
deactivateRumble();
}
}
}