Android: Revision of PR 3253 (Wiimote controls)

- Fix small error in NativeLibrary (line 141)
- Fix faulty indentment in arrays.xml
- Rework numbering system to be more accessible.
This commit is contained in:
Phatcat 2015-12-17 18:26:58 +01:00
parent d354034498
commit cfe8400cdd
4 changed files with 767 additions and 793 deletions

File diff suppressed because it is too large Load Diff

View File

@ -47,134 +47,140 @@ public final class NativeLibrary
public static final int STICK_C_RIGHT = 19;
public static final int TRIGGER_L = 20;
public static final int TRIGGER_R = 21;
public static final int WIIMOTE_BUTTON_A = 22;
public static final int WIIMOTE_BUTTON_B = 23;
public static final int WIIMOTE_BUTTON_MINUS = 24;
public static final int WIIMOTE_BUTTON_PLUS = 25;
public static final int WIIMOTE_BUTTON_HOME = 26;
public static final int WIIMOTE_BUTTON_1 = 27;
public static final int WIIMOTE_BUTTON_2 = 28;
public static final int WIIMOTE_UP = 29;
public static final int WIIMOTE_DOWN = 30;
public static final int WIIMOTE_LEFT = 31;
public static final int WIIMOTE_RIGHT = 32;
public static final int WIIMOTE_IR_UP = 33;
public static final int WIIMOTE_IR_DOWN = 34;
public static final int WIIMOTE_IR_LEFT = 35;
public static final int WIIMOTE_IR_RIGHT = 36;
public static final int WIIMOTE_IR_FORWARD = 37;
public static final int WIIMOTE_IR_BACKWARD = 38;
public static final int WIIMOTE_IR_HIDE = 39;
public static final int WIIMOTE_SWING_UP = 40;
public static final int WIIMOTE_SWING_DOWN = 41;
public static final int WIIMOTE_SWING_LEFT = 42;
public static final int WIIMOTE_SWING_RIGHT = 43;
public static final int WIIMOTE_SWING_FORWARD = 44;
public static final int WIIMOTE_SWING_BACKWARD = 45;
public static final int WIIMOTE_TILT_FORWARD = 46;
public static final int WIIMOTE_TILT_BACKWARD = 47;
public static final int WIIMOTE_TILT_LEFT = 48;
public static final int WIIMOTE_TILT_RIGHT = 49;
public static final int WIIMOTE_TILT_MODIFIER = 50;
public static final int WIIMOTE_SHAKE_X = 51;
public static final int WIIMOTE_SHAKE_Y = 52;
public static final int WIIMOTE_SHAKE_Z = 53;
public static final int NUNCHUK_BUTTON_C = 54;
public static final int NUNCHUK_BUTTON_Z = 55;
public static final int NUNCHUK_STICK = 56;
public static final int NUNCHUK_STICK_UP = 57;
public static final int NUNCHUK_STICK_DOWN = 58;
public static final int NUNCHUK_STICK_LEFT = 59;
public static final int NUNCHUK_STICK_RIGHT = 60;
public static final int NUNCHUK_SWING_UP = 61;
public static final int NUNCHUK_SWING_DOWN = 62;
public static final int NUNCHUK_SWING_LEFT = 63;
public static final int NUNCHUK_SWING_RIGHT = 64;
public static final int NUNCHUK_SWING_FORWARD = 65;
public static final int NUNCHUK_SWING_BACKWARD = 66;
public static final int NUNCHUK_TILT_FORWARD = 67;
public static final int NUNCHUK_TILT_BACKWARD = 68;
public static final int NUNCHUK_TILT_LEFT = 69;
public static final int NUNCHUK_TILT_RIGHT = 70;
public static final int NUNCHUK_TILT_MODIFIER = 71;
public static final int NUNCHUK_SHAKE_X = 72;
public static final int NUNCHUK_SHAKE_Y = 73;
public static final int NUNCHUK_SHAKE_Z = 74;
public static final int CLASSIC_BUTTON_A = 75;
public static final int CLASSIC_BUTTON_B = 76;
public static final int CLASSIC_BUTTON_X = 77;
public static final int CLASSIC_BUTTON_Y = 78;
public static final int CLASSIC_BUTTON_MINUS = 79;
public static final int CLASSIC_BUTTON_PLUS = 80;
public static final int CLASSIC_BUTTON_HOME = 81;
public static final int CLASSIC_BUTTON_ZL = 82;
public static final int CLASSIC_BUTTON_ZR = 83;
public static final int CLASSIC_DPAD_UP = 84;
public static final int CLASSIC_DPAD_DOWN = 85;
public static final int CLASSIC_DPAD_LEFT = 86;
public static final int CLASSIC_DPADON_RIGHT = 87;
public static final int CLASSIC_STICK_LEFT = 88;
public static final int CLASSIC_STICK_LEFT_UP = 89;
public static final int CLASSIC_STICK_LEFT_DOWN = 90;
public static final int CLASSIC_STICK_LEFT_LEFT = 91;
public static final int CLASSIC_STICK_LEFT_RIGHT = 92;
public static final int CLASSIC_STICK_RIGHT = 93;
public static final int CLASSIC_STICK_RIGHT_UP = 94;
public static final int CLASSIC_STICK_RIGHT_DOWN = 95;
public static final int CLASSIC_STICK_RIGHT_LEFT = 96;
public static final int CLASSIC_STICK_RIGHT_RIGHT = 97;
public static final int CLASSIC_TRIGGER_L = 98;
public static final int CLASSIC_TRIGGER_R = 99;
public static final int GUITAR_BUTTON_MINUS = 100;
public static final int GUITAR_BUTTON_PLUS = 101;
public static final int GUITAR_FRET_GREEN = 102;
public static final int GUITAR_FRET_RED = 103;
public static final int GUITAR_FRET_YELLOW = 104;
public static final int GUITAR_FRET_BLUE = 105;
public static final int GUITAR_FRET_ORANGE = 106;
public static final int GUITAR_STRUM_UP = 107;
public static final int GUITAR_STRUM_DOWN = 108;
public static final int GUITAR_STICK = 109;
public static final int GUITAR_STICK_UP = 110;
public static final int GUITAR_STICK_DOWN = 111;
public static final int GUITAR_STICK_LEFT = 112;
public static final int GUITAR_STOCK_RIGHT = 113;
public static final int GUITAR_WHAMMY_BAR = 114;
public static final int DRUMS_BUTTON_MINUS = 115;
public static final int DRUMS_BUTTON_PLUS = 116;
public static final int DRUMS_PAD_RED = 117;
public static final int DRUMS_PAD_YELLOW = 118;
public static final int DRUMS_PAD_BLUE = 119;
public static final int DRUMS_PAD_GREEN = 120;
public static final int DRUMS_PAD_ORANGE = 121;
public static final int DRUMS_PAD_BASS = 122;
public static final int DRUMS_STICK = 123;
public static final int DRUMS_STICK_UP = 124;
public static final int DRUMS_STICK_DOWN = 125;
public static final int DRUMS_STICK_LEFT = 126;
public static final int DRUMS_STICK_RIGHT = 127;
public static final int TURNTABLE_BUTTON_GREEN_LEFT = 128;
public static final int TURNTABLE_BUTTON_RED_LEFT = 129;
public static final int TURNTABLE_BUTTON_BLUE_LEFT = 130;
public static final int TURNTABLE_BUTTON_GREEN_RIGHT = 131;
public static final int TURNTABLE_BUTTON_RED_RIGHT = 132;
public static final int TURNTABLE_BUTTON_BLUE_RIGHT = 133;
public static final int TURNTABLE_BUTTON_MINUS = 134;
public static final int TURNTABLE_BUTTON_PLUS = 135;
public static final int TURNTABLE_BUTTON_HOME = 136;
public static final int TURNTABLE_BUTTON_EUPHORIA = 137;
public static final int TURNTABLE_TABLE_LEFT_LEFT = 138;
public static final int TURNTABLE_TABLE_LEFT_RIGHT = 139;
public static final int TURNTABLE_TABLE_RIGHT_LEFT = 140;
public static final int TURNTABLE_TABLE_RIGHT_RIGHT = 141;
public static final int TURNTABLE_STICK = 142;
public static final int TURNTABLE_STICK_UP = 143;
public static final int TURNTABLE_STICK_DOWN = 144;
public static final int TURNTABLE_STICK_LEFT = 145;
public static final int TURNTABLE_STICK_RIGHT = 146;
public static final int TURNTABLE_EFFECT_DIAL = 147;
public static final int TURNTABLE_CROSSFADE_LEFT = 148;
public static final int TURNTABLE_CROSSFADE_RIGHT = 149;
public static final int WIIMOTE_BUTTON_A = 100;
public static final int WIIMOTE_BUTTON_B = 101;
public static final int WIIMOTE_BUTTON_MINUS = 102;
public static final int WIIMOTE_BUTTON_PLUS = 103;
public static final int WIIMOTE_BUTTON_HOME = 104;
public static final int WIIMOTE_BUTTON_1 = 105;
public static final int WIIMOTE_BUTTON_2 = 106;
public static final int WIIMOTE_UP = 107;
public static final int WIIMOTE_DOWN = 108;
public static final int WIIMOTE_LEFT = 119;
public static final int WIIMOTE_RIGHT = 110;
public static final int WIIMOTE_IR = 111;
public static final int WIIMOTE_IR_UP = 112;
public static final int WIIMOTE_IR_DOWN = 113;
public static final int WIIMOTE_IR_LEFT = 114;
public static final int WIIMOTE_IR_RIGHT = 115;
public static final int WIIMOTE_IR_FORWARD = 116;
public static final int WIIMOTE_IR_BACKWARD = 117;
public static final int WIIMOTE_IR_HIDE = 118;
public static final int WIIMOTE_SWING = 119;
public static final int WIIMOTE_SWING_UP = 120;
public static final int WIIMOTE_SWING_DOWN = 121;
public static final int WIIMOTE_SWING_LEFT = 122;
public static final int WIIMOTE_SWING_RIGHT = 123;
public static final int WIIMOTE_SWING_FORWARD = 124;
public static final int WIIMOTE_SWING_BACKWARD = 125;
public static final int WIIMOTE_TILT = 126;
public static final int WIIMOTE_TILT_FORWARD = 127;
public static final int WIIMOTE_TILT_BACKWARD = 128;
public static final int WIIMOTE_TILT_LEFT = 129;
public static final int WIIMOTE_TILT_RIGHT = 130;
public static final int WIIMOTE_SHAKE_X = 132;
public static final int WIIMOTE_SHAKE_Y = 133;
public static final int WIIMOTE_SHAKE_Z = 134;
public static final int NUNCHUK_BUTTON_C = 200;
public static final int NUNCHUK_BUTTON_Z = 201;
public static final int NUNCHUK_STICK = 202;
public static final int NUNCHUK_STICK_UP = 203;
public static final int NUNCHUK_STICK_DOWN = 204;
public static final int NUNCHUK_STICK_LEFT = 205;
public static final int NUNCHUK_STICK_RIGHT = 206;
public static final int NUNCHUK_SWING = 207;
public static final int NUNCHUK_SWING_UP = 208;
public static final int NUNCHUK_SWING_DOWN = 209;
public static final int NUNCHUK_SWING_LEFT = 210;
public static final int NUNCHUK_SWING_RIGHT = 221;
public static final int NUNCHUK_SWING_FORWARD = 212;
public static final int NUNCHUK_SWING_BACKWARD = 213;
public static final int NUNCHUK_TILT = 214;
public static final int NUNCHUK_TILT_FORWARD = 215;
public static final int NUNCHUK_TILT_BACKWARD = 216;
public static final int NUNCHUK_TILT_LEFT = 217;
public static final int NUNCHUK_TILT_RIGHT = 218;
public static final int NUNCHUK_SHAKE_X = 220;
public static final int NUNCHUK_SHAKE_Y = 221;
public static final int NUNCHUK_SHAKE_Z = 222;
public static final int CLASSIC_BUTTON_A = 300;
public static final int CLASSIC_BUTTON_B = 301;
public static final int CLASSIC_BUTTON_X = 302;
public static final int CLASSIC_BUTTON_Y = 303;
public static final int CLASSIC_BUTTON_MINUS = 304;
public static final int CLASSIC_BUTTON_PLUS = 305;
public static final int CLASSIC_BUTTON_HOME = 306;
public static final int CLASSIC_BUTTON_ZL = 307;
public static final int CLASSIC_BUTTON_ZR = 308;
public static final int CLASSIC_DPAD_UP = 309;
public static final int CLASSIC_DPAD_DOWN = 310;
public static final int CLASSIC_DPAD_LEFT = 311;
public static final int CLASSIC_DPADON_RIGHT = 312;
public static final int CLASSIC_STICK_LEFT = 313;
public static final int CLASSIC_STICK_LEFT_UP = 314;
public static final int CLASSIC_STICK_LEFT_DOWN = 315;
public static final int CLASSIC_STICK_LEFT_LEFT = 316;
public static final int CLASSIC_STICK_LEFT_RIGHT = 317;
public static final int CLASSIC_STICK_RIGHT = 318;
public static final int CLASSIC_STICK_RIGHT_UP = 319;
public static final int CLASSIC_STICK_RIGHT_DOWN = 100;
public static final int CLASSIC_STICK_RIGHT_LEFT = 321;
public static final int CLASSIC_STICK_RIGHT_RIGHT = 322;
public static final int CLASSIC_TRIGGER_L = 323;
public static final int CLASSIC_TRIGGER_R = 324;
public static final int GUITAR_BUTTON_MINUS = 400;
public static final int GUITAR_BUTTON_PLUS = 401;
public static final int GUITAR_FRET_GREEN = 402;
public static final int GUITAR_FRET_RED = 403;
public static final int GUITAR_FRET_YELLOW = 404;
public static final int GUITAR_FRET_BLUE = 405;
public static final int GUITAR_FRET_ORANGE = 406;
public static final int GUITAR_STRUM_UP = 407;
public static final int GUITAR_STRUM_DOWN = 408;
public static final int GUITAR_STICK = 409;
public static final int GUITAR_STICK_UP = 410;
public static final int GUITAR_STICK_DOWN = 411;
public static final int GUITAR_STICK_LEFT = 412;
public static final int GUITAR_STICK_RIGHT = 413;
public static final int GUITAR_WHAMMY_BAR = 414;
public static final int DRUMS_BUTTON_MINUS = 500;
public static final int DRUMS_BUTTON_PLUS = 501;
public static final int DRUMS_PAD_RED = 502;
public static final int DRUMS_PAD_YELLOW = 503;
public static final int DRUMS_PAD_BLUE = 504;
public static final int DRUMS_PAD_GREEN = 505;
public static final int DRUMS_PAD_ORANGE = 506;
public static final int DRUMS_PAD_BASS = 507;
public static final int DRUMS_STICK = 508;
public static final int DRUMS_STICK_UP = 509;
public static final int DRUMS_STICK_DOWN = 510;
public static final int DRUMS_STICK_LEFT = 511;
public static final int DRUMS_STICK_RIGHT = 512;
public static final int TURNTABLE_BUTTON_GREEN_LEFT = 600;
public static final int TURNTABLE_BUTTON_RED_LEFT = 601;
public static final int TURNTABLE_BUTTON_BLUE_LEFT = 602;
public static final int TURNTABLE_BUTTON_GREEN_RIGHT = 603;
public static final int TURNTABLE_BUTTON_RED_RIGHT = 604;
public static final int TURNTABLE_BUTTON_BLUE_RIGHT = 605;
public static final int TURNTABLE_BUTTON_MINUS = 606;
public static final int TURNTABLE_BUTTON_PLUS = 607;
public static final int TURNTABLE_BUTTON_HOME = 608;
public static final int TURNTABLE_BUTTON_EUPHORIA = 609;
public static final int TURNTABLE_TABLE_LEFT = 610;
public static final int TURNTABLE_TABLE_LEFT_LEFT = 611;
public static final int TURNTABLE_TABLE_LEFT_RIGHT = 612;
public static final int TURNTABLE_TABLE_RIGHT = 613;
public static final int TURNTABLE_TABLE_RIGHT_LEFT = 614;
public static final int TURNTABLE_TABLE_RIGHT_RIGHT = 615;
public static final int TURNTABLE_STICK = 616;
public static final int TURNTABLE_STICK_UP = 617;
public static final int TURNTABLE_STICK_DOWN = 618;
public static final int TURNTABLE_STICK_LEFT = 619;
public static final int TURNTABLE_STICK_RIGHT = 620;
public static final int TURNTABLE_EFFECT_DIAL = 621;
public static final int TURNTABLE_CROSSFADE = 622;
public static final int TURNTABLE_CROSSFADE_LEFT = 623;
public static final int TURNTABLE_CROSSFADE_RIGHT = 624;
}
/**

View File

@ -83,22 +83,22 @@
<!-- Wiimote extensions -->
<string-array name="wiimoteExtEntries" translatable="false">
<item>"None"</item>
<item>"Nunchuk"</item>
<item>"Classic"</item>
<item>"Guitar"</item>
<item>"Drums"</item>
<item>"Turntable"</item>
<item>"None"</item>
<item>"Nunchuk"</item>
<item>"Classic"</item>
<item>"Guitar"</item>
<item>"Drums"</item>
<item>"Turntable"</item>
</string-array>
<string-array name="wiimoteExtValues" translatable="false">
<item>None</item>
<item>Nunchuk</item>
<item>Classic</item>
<item>Guitar</item>
<item>Drums</item>
<item>Turntable</item>
<item>None</item>
<item>Nunchuk</item>
<item>Classic</item>
<item>Guitar</item>
<item>Drums</item>
<item>Turntable</item>
</string-array>
<!-- EFB Copy Method Preference -->
<string-array name="efbCopyMethodEntries" translatable="false">
<item>@string/disabled</item>

View File

@ -22,12 +22,12 @@ namespace ButtonManager
BUTTON_DOWN = 7,
BUTTON_LEFT = 8,
BUTTON_RIGHT = 9,
STICK_MAIN = 10, /* Used on Java Side */
STICK_MAIN = 10, // Used on Java Side
STICK_MAIN_UP = 11,
STICK_MAIN_DOWN = 12,
STICK_MAIN_LEFT = 13,
STICK_MAIN_RIGHT = 14,
STICK_C = 15, /* Used on Java Side */
STICK_C = 15, // Used on Java Side
STICK_C_UP = 16,
STICK_C_DOWN = 17,
STICK_C_LEFT = 18,
@ -35,137 +35,145 @@ namespace ButtonManager
TRIGGER_L = 20,
TRIGGER_R = 21,
// Wiimote
WIIMOTE_BUTTON_A = 22,
WIIMOTE_BUTTON_B = 23,
WIIMOTE_BUTTON_MINUS = 24,
WIIMOTE_BUTTON_PLUS = 25,
WIIMOTE_BUTTON_HOME = 26,
WIIMOTE_BUTTON_1 = 27,
WIIMOTE_BUTTON_2 = 28,
WIIMOTE_UP = 29,
WIIMOTE_DOWN = 30,
WIIMOTE_LEFT = 31,
WIIMOTE_RIGHT = 32,
WIIMOTE_IR_UP = 33,
WIIMOTE_IR_DOWN = 34,
WIIMOTE_IR_LEFT = 35,
WIIMOTE_IR_RIGHT = 36,
WIIMOTE_IR_FORWARD = 37,
WIIMOTE_IR_BACKWARD = 38,
WIIMOTE_IR_HIDE = 39,
WIIMOTE_SWING_UP = 40,
WIIMOTE_SWING_DOWN = 41,
WIIMOTE_SWING_LEFT = 42,
WIIMOTE_SWING_RIGHT = 43,
WIIMOTE_SWING_FORWARD = 44,
WIIMOTE_SWING_BACKWARD = 45,
WIIMOTE_TILT_FORWARD = 46,
WIIMOTE_TILT_BACKWARD = 47,
WIIMOTE_TILT_LEFT = 48,
WIIMOTE_TILT_RIGHT = 49,
WIIMOTE_SHAKE_X = 51,
WIIMOTE_SHAKE_Y = 52,
WIIMOTE_SHAKE_Z = 53,
WIIMOTE_BUTTON_A = 100,
WIIMOTE_BUTTON_B = 101,
WIIMOTE_BUTTON_MINUS = 102,
WIIMOTE_BUTTON_PLUS = 103,
WIIMOTE_BUTTON_HOME = 104,
WIIMOTE_BUTTON_1 = 105,
WIIMOTE_BUTTON_2 = 106,
WIIMOTE_UP = 107,
WIIMOTE_DOWN = 108,
WIIMOTE_LEFT = 109,
WIIMOTE_RIGHT = 110,
WIIMOTE_IR = 111, // To Be Used on Java Side
WIIMOTE_IR_UP = 112,
WIIMOTE_IR_DOWN = 113,
WIIMOTE_IR_LEFT = 114,
WIIMOTE_IR_RIGHT = 115,
WIIMOTE_IR_FORWARD = 116,
WIIMOTE_IR_BACKWARD = 117,
WIIMOTE_IR_HIDE = 118,
WIIMOTE_SWING = 119, // To Be Used on Java Side
WIIMOTE_SWING_UP = 120,
WIIMOTE_SWING_DOWN = 121,
WIIMOTE_SWING_LEFT = 122,
WIIMOTE_SWING_RIGHT = 123,
WIIMOTE_SWING_FORWARD = 124,
WIIMOTE_SWING_BACKWARD = 125,
WIIMOTE_TILT = 126, // To Be Used on Java Side
WIIMOTE_TILT_FORWARD = 127,
WIIMOTE_TILT_BACKWARD = 128,
WIIMOTE_TILT_LEFT = 129,
WIIMOTE_TILT_RIGHT = 130,
WIIMOTE_SHAKE_X = 132,
WIIMOTE_SHAKE_Y = 133,
WIIMOTE_SHAKE_Z = 134,
//Nunchuk
NUNCHUK_BUTTON_C = 54,
NUNCHUK_BUTTON_Z = 55,
NUNCHUK_STICK = 56,
NUNCHUK_STICK_UP = 57,
NUNCHUK_STICK_DOWN = 58,
NUNCHUK_STICK_LEFT = 59,
NUNCHUK_STICK_RIGHT = 60,
NUNCHUK_SWING_UP = 61,
NUNCHUK_SWING_DOWN = 62,
NUNCHUK_SWING_LEFT = 63,
NUNCHUK_SWING_RIGHT = 64,
NUNCHUK_SWING_FORWARD = 65,
NUNCHUK_SWING_BACKWARD = 66,
NUNCHUK_TILT_FORWARD = 67,
NUNCHUK_TILT_BACKWARD = 68,
NUNCHUK_TILT_LEFT = 69,
NUNCHUK_TILT_RIGHT = 70,
NUNCHUK_SHAKE_X = 72,
NUNCHUK_SHAKE_Y = 73,
NUNCHUK_SHAKE_Z = 74,
NUNCHUK_BUTTON_C = 200,
NUNCHUK_BUTTON_Z = 201,
NUNCHUK_STICK = 202, // To Be Used on Java Side
NUNCHUK_STICK_UP = 203,
NUNCHUK_STICK_DOWN = 204,
NUNCHUK_STICK_LEFT = 205,
NUNCHUK_STICK_RIGHT = 206,
NUNCHUK_SWING = 207, // To Be Used on Java Side
NUNCHUK_SWING_UP = 208,
NUNCHUK_SWING_DOWN = 209,
NUNCHUK_SWING_LEFT = 210,
NUNCHUK_SWING_RIGHT = 211,
NUNCHUK_SWING_FORWARD = 212,
NUNCHUK_SWING_BACKWARD = 213,
NUNCHUK_TILT = 214, // To Be Used on Java Side
NUNCHUK_TILT_FORWARD = 215,
NUNCHUK_TILT_BACKWARD = 216,
NUNCHUK_TILT_LEFT = 217,
NUNCHUK_TILT_RIGHT = 218,
NUNCHUK_SHAKE_X = 220,
NUNCHUK_SHAKE_Y = 221,
NUNCHUK_SHAKE_Z = 222,
//Classic
CLASSIC_BUTTON_A = 75,
CLASSIC_BUTTON_B = 76,
CLASSIC_BUTTON_X = 77,
CLASSIC_BUTTON_Y = 78,
CLASSIC_BUTTON_MINUS = 79,
CLASSIC_BUTTON_PLUS = 80,
CLASSIC_BUTTON_HOME = 81,
CLASSIC_BUTTON_ZL = 82,
CLASSIC_BUTTON_ZR = 83,
CLASSIC_DPAD_UP = 84,
CLASSIC_DPAD_DOWN = 85,
CLASSIC_DPAD_LEFT = 86,
CLASSIC_DPAD_RIGHT = 87,
CLASSIC_STICK_LEFT = 88,
CLASSIC_STICK_LEFT_UP = 89,
CLASSIC_STICK_LEFT_DOWN = 90,
CLASSIC_STICK_LEFT_LEFT = 91,
CLASSIC_STICK_LEFT_RIGHT = 92,
CLASSIC_STICK_RIGHT = 93,
CLASSIC_STICK_RIGHT_UP = 94,
CLASSIC_STICK_RIGHT_DOWN = 95,
CLASSIC_STICK_RIGHT_LEFT = 96,
CLASSIC_STICK_RIGHT_RIGHT = 97,
CLASSIC_TRIGGER_L = 98,
CLASSIC_TRIGGER_R = 99,
CLASSIC_BUTTON_A = 300,
CLASSIC_BUTTON_B = 301,
CLASSIC_BUTTON_X = 302,
CLASSIC_BUTTON_Y = 303,
CLASSIC_BUTTON_MINUS = 304,
CLASSIC_BUTTON_PLUS = 305,
CLASSIC_BUTTON_HOME = 306,
CLASSIC_BUTTON_ZL = 307,
CLASSIC_BUTTON_ZR = 308,
CLASSIC_DPAD_UP = 309,
CLASSIC_DPAD_DOWN = 310,
CLASSIC_DPAD_LEFT = 311,
CLASSIC_DPAD_RIGHT = 312,
CLASSIC_STICK_LEFT = 313, // To Be Used on Java Side
CLASSIC_STICK_LEFT_UP = 314,
CLASSIC_STICK_LEFT_DOWN = 315,
CLASSIC_STICK_LEFT_LEFT = 316,
CLASSIC_STICK_LEFT_RIGHT = 317,
CLASSIC_STICK_RIGHT = 318, // To Be Used on Java Side
CLASSIC_STICK_RIGHT_UP = 319,
CLASSIC_STICK_RIGHT_DOWN = 320,
CLASSIC_STICK_RIGHT_LEFT = 321,
CLASSIC_STICK_RIGHT_RIGHT = 322,
CLASSIC_TRIGGER_L = 323,
CLASSIC_TRIGGER_R = 324,
//Guitar
GUITAR_BUTTON_MINUS = 100,
GUITAR_BUTTON_PLUS = 101,
GUITAR_FRET_GREEN = 102,
GUITAR_FRET_RED = 103,
GUITAR_FRET_YELLOW = 104,
GUITAR_FRET_BLUE = 105,
GUITAR_FRET_ORANGE = 106,
GUITAR_STRUM_UP = 107,
GUITAR_STRUM_DOWN = 108,
GUITAR_STICK = 109,
GUITAR_STICK_UP = 110,
GUITAR_STICK_DOWN = 111,
GUITAR_STICK_LEFT = 112,
GUITAR_STICK_RIGHT = 113,
GUITAR_WHAMMY_BAR = 114,
GUITAR_BUTTON_MINUS = 400,
GUITAR_BUTTON_PLUS = 401,
GUITAR_FRET_GREEN = 402,
GUITAR_FRET_RED = 403,
GUITAR_FRET_YELLOW = 404,
GUITAR_FRET_BLUE = 405,
GUITAR_FRET_ORANGE = 406,
GUITAR_STRUM_UP = 407,
GUITAR_STRUM_DOWN = 408,
GUITAR_STICK = 409, // To Be Used on Java Side
GUITAR_STICK_UP = 410,
GUITAR_STICK_DOWN = 411,
GUITAR_STICK_LEFT = 412,
GUITAR_STICK_RIGHT = 413,
GUITAR_WHAMMY_BAR = 414,
//Drums
DRUMS_BUTTON_MINUS = 115,
DRUMS_BUTTON_PLUS = 116,
DRUMS_PAD_RED = 117,
DRUMS_PAD_YELLOW = 118,
DRUMS_PAD_BLUE = 119,
DRUMS_PAD_GREEN = 120,
DRUMS_PAD_ORANGE = 121,
DRUMS_PAD_BASS = 122,
DRUMS_STICK = 123,
DRUMS_STICK_UP = 124,
DRUMS_STICK_DOWN = 125,
DRUMS_STICK_LEFT = 126,
DRUMS_STICK_RIGHT = 127,
DRUMS_BUTTON_MINUS = 500,
DRUMS_BUTTON_PLUS = 501,
DRUMS_PAD_RED = 502,
DRUMS_PAD_YELLOW = 503,
DRUMS_PAD_BLUE = 504,
DRUMS_PAD_GREEN = 505,
DRUMS_PAD_ORANGE = 506,
DRUMS_PAD_BASS = 507,
DRUMS_STICK = 508, // To Be Used on Java Side
DRUMS_STICK_UP = 509,
DRUMS_STICK_DOWN = 510,
DRUMS_STICK_LEFT = 511,
DRUMS_STICK_RIGHT = 512,
//Turntable
TURNTABLE_BUTTON_GREEN_LEFT = 128,
TURNTABLE_BUTTON_RED_LEFT = 129,
TURNTABLE_BUTTON_BLUE_LEFT = 130,
TURNTABLE_BUTTON_GREEN_RIGHT = 131,
TURNTABLE_BUTTON_RED_RIGHT = 132,
TURNTABLE_BUTTON_BLUE_RIGHT = 133,
TURNTABLE_BUTTON_MINUS = 134,
TURNTABLE_BUTTON_PLUS = 135,
TURNTABLE_BUTTON_HOME = 136,
TURNTABLE_BUTTON_EUPHORIA = 137,
TURNTABLE_TABLE_LEFT_LEFT = 138,
TURNTABLE_TABLE_LEFT_RIGHT = 139,
TURNTABLE_TABLE_RIGHT_LEFT = 140,
TURNTABLE_TABLE_RIGHT_RIGHT = 141,
TURNTABLE_STICK = 142,
TURNTABLE_STICK_UP = 143,
TURNTABLE_STICK_DOWN = 144,
TURNTABLE_STICK_LEFT = 145,
TURNTABLE_STICK_RIGHT = 146,
TURNTABLE_EFFECT_DIAL = 147,
TURNTABLE_CROSSFADE_LEFT = 148,
TURNTABLE_CROSSFADE_RIGHT = 149,
TURNTABLE_BUTTON_GREEN_LEFT = 600,
TURNTABLE_BUTTON_RED_LEFT = 601,
TURNTABLE_BUTTON_BLUE_LEFT = 602,
TURNTABLE_BUTTON_GREEN_RIGHT = 603,
TURNTABLE_BUTTON_RED_RIGHT = 604,
TURNTABLE_BUTTON_BLUE_RIGHT = 605,
TURNTABLE_BUTTON_MINUS = 606,
TURNTABLE_BUTTON_PLUS = 607,
TURNTABLE_BUTTON_HOME = 608,
TURNTABLE_BUTTON_EUPHORIA = 609,
TURNTABLE_TABLE_LEFT = 610, // To Be Used on Java Side
TURNTABLE_TABLE_LEFT_LEFT = 611,
TURNTABLE_TABLE_LEFT_RIGHT = 612,
TURNTABLE_TABLE_RIGHT = 613, // To Be Used on Java Side
TURNTABLE_TABLE_RIGHT_LEFT = 614,
TURNTABLE_TABLE_RIGHT_RIGHT = 615,
TURNTABLE_STICK = 616, // To Be Used on Java Side
TURNTABLE_STICK_UP = 617,
TURNTABLE_STICK_DOWN = 618,
TURNTABLE_STICK_LEFT = 619,
TURNTABLE_STICK_RIGHT = 620,
TURNTABLE_EFFECT_DIAL = 621,
TURNTABLE_CROSSFADE = 622, // To Be Used on Java Side
TURNTABLE_CROSSFADE_LEFT = 623,
TURNTABLE_CROSSFADE_RIGHT = 624,
};
enum ButtonState
{