somme fixes on new version. Acceleration threshold is an int.

git-svn-id: http://wiiusej.googlecode.com/svn/trunk@54 ae48ae66-6a45-0410-b38e-211266189506
This commit is contained in:
guilhem.duche
2008-02-15 14:26:50 +00:00
parent f2829ca27f
commit dc13f8feee
5 changed files with 96 additions and 54 deletions

View File

@@ -103,14 +103,14 @@ public class WiiUseApi {
* @param id id of the wiimote concerned
* @param value minimum value detected by an event
*/
native void setAccelThreshold(int id, float value);
native void setAccelThreshold(int id, int value);
/**
* Set alpha smoothing parameter for the given id.
* @param id id of the wiimote concerned
* @param value alpha smoothing value
*/
native void setSmoothAlpha(int id, float value);
native void setAlphaSmoothing(int id, float value);
/**
* Try to resync with the wiimote by starting a new handshake.