Simpele feedback van iTunes naar Wiimote toegevoegd, daartoe kleine fouten in initialisatie van Device gerepareerd. Exceptions moeten worden nagekeken!
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user