Omzetten van javainput events naar buttons afgemaakt. Begonnen met ondersteuning voor macro's implementeren.

This commit is contained in:
2011-02-06 17:41:58 +00:00
parent aaba82d6dc
commit 06c773a9c9
25 changed files with 268 additions and 71 deletions

View File

@@ -0,0 +1,26 @@
package pm.device.wiimote;
public enum WiimoteButton {
TWO (0x0001),
ONE (0x0002),
B (0x0004),
A (0x0008),
MINUS (0x0010),
HOME (0x0080),
LEFT (0x0100),
RIGHT (0x0200),
DOWN (0x0400),
UP (0x0800),
PLUS (0x1000),
ALL (0x1F9F);
protected int code;
private WiimoteButton(int code) {
this.code = code;
}
public int getCode() {
return code;
}
}