EventMaps van LircDevice gedeeltelijk toegevoegd. In WiimoteDevice SHIFT mechanisme toegepast. iTunes uitgeprobeerd: mechanisme verzinnen om in thread bepaalde taak te draaien!
This commit is contained in:
@@ -56,7 +56,7 @@ public class ClassicControllerButtonsEvent extends ButtonsEvent{
|
||||
super(id, buttonsJustPressed, buttonsJustReleased, buttonsHeld);
|
||||
}
|
||||
|
||||
/* SelectButton LEFT */
|
||||
/* ManageButton LEFT */
|
||||
|
||||
public boolean isButtonLeftJustPressed() {
|
||||
return isButtonJustPressed(CLASSIC_CTRL_BUTTON_LEFT);
|
||||
@@ -74,7 +74,7 @@ public class ClassicControllerButtonsEvent extends ButtonsEvent{
|
||||
return isButtonPressed(CLASSIC_CTRL_BUTTON_LEFT);
|
||||
}
|
||||
|
||||
/* SelectButton RIGHT */
|
||||
/* ManageButton RIGHT */
|
||||
|
||||
public boolean isButtonRightJustPressed() {
|
||||
return isButtonJustPressed(CLASSIC_CTRL_BUTTON_RIGHT);
|
||||
@@ -92,7 +92,7 @@ public class ClassicControllerButtonsEvent extends ButtonsEvent{
|
||||
return isButtonPressed(CLASSIC_CTRL_BUTTON_RIGHT);
|
||||
}
|
||||
|
||||
/* SelectButton UP */
|
||||
/* ManageButton UP */
|
||||
|
||||
public boolean isButtonUpJustPressed() {
|
||||
return isButtonJustPressed(CLASSIC_CTRL_BUTTON_UP);
|
||||
@@ -110,7 +110,7 @@ public class ClassicControllerButtonsEvent extends ButtonsEvent{
|
||||
return isButtonPressed(CLASSIC_CTRL_BUTTON_UP);
|
||||
}
|
||||
|
||||
/* SelectButton DOWN */
|
||||
/* ManageButton DOWN */
|
||||
|
||||
public boolean isButtonDownJustPressed() {
|
||||
return isButtonJustPressed(CLASSIC_CTRL_BUTTON_DOWN);
|
||||
@@ -128,7 +128,7 @@ public class ClassicControllerButtonsEvent extends ButtonsEvent{
|
||||
return isButtonPressed(CLASSIC_CTRL_BUTTON_DOWN);
|
||||
}
|
||||
|
||||
/* SelectButton A */
|
||||
/* ManageButton A */
|
||||
|
||||
public boolean isButtonAJustPressed() {
|
||||
return isButtonJustPressed(CLASSIC_CTRL_BUTTON_A);
|
||||
@@ -146,7 +146,7 @@ public class ClassicControllerButtonsEvent extends ButtonsEvent{
|
||||
return isButtonPressed(CLASSIC_CTRL_BUTTON_A);
|
||||
}
|
||||
|
||||
/* SelectButton B */
|
||||
/* ManageButton B */
|
||||
|
||||
public boolean isButtonBJustPressed() {
|
||||
return isButtonJustPressed(CLASSIC_CTRL_BUTTON_B);
|
||||
@@ -164,7 +164,7 @@ public class ClassicControllerButtonsEvent extends ButtonsEvent{
|
||||
return isButtonPressed(CLASSIC_CTRL_BUTTON_B);
|
||||
}
|
||||
|
||||
/* SelectButton X */
|
||||
/* ManageButton X */
|
||||
|
||||
public boolean isButtonXJustPressed() {
|
||||
return isButtonJustPressed(CLASSIC_CTRL_BUTTON_X);
|
||||
@@ -182,7 +182,7 @@ public class ClassicControllerButtonsEvent extends ButtonsEvent{
|
||||
return isButtonPressed(CLASSIC_CTRL_BUTTON_X);
|
||||
}
|
||||
|
||||
/* SelectButton Y */
|
||||
/* ManageButton Y */
|
||||
|
||||
public boolean isButtonYJustPressed() {
|
||||
return isButtonJustPressed(CLASSIC_CTRL_BUTTON_Y);
|
||||
@@ -200,7 +200,7 @@ public class ClassicControllerButtonsEvent extends ButtonsEvent{
|
||||
return isButtonPressed(CLASSIC_CTRL_BUTTON_Y);
|
||||
}
|
||||
|
||||
/* SelectButton FullLeft */
|
||||
/* ManageButton FullLeft */
|
||||
|
||||
public boolean isButtonFullLeftJustPressed() {
|
||||
return isButtonJustPressed(CLASSIC_CTRL_BUTTON_FULL_L);
|
||||
@@ -218,7 +218,7 @@ public class ClassicControllerButtonsEvent extends ButtonsEvent{
|
||||
return isButtonPressed(CLASSIC_CTRL_BUTTON_FULL_L);
|
||||
}
|
||||
|
||||
/* SelectButton FullRight */
|
||||
/* ManageButton FullRight */
|
||||
|
||||
public boolean isButtonFullRightJustPressed() {
|
||||
return isButtonJustPressed(CLASSIC_CTRL_BUTTON_FULL_R);
|
||||
@@ -236,7 +236,7 @@ public class ClassicControllerButtonsEvent extends ButtonsEvent{
|
||||
return isButtonPressed(CLASSIC_CTRL_BUTTON_FULL_R);
|
||||
}
|
||||
|
||||
/* SelectButton Home */
|
||||
/* ManageButton Home */
|
||||
|
||||
public boolean isButtonHomeJustPressed() {
|
||||
return isButtonJustPressed(CLASSIC_CTRL_BUTTON_HOME);
|
||||
@@ -254,7 +254,7 @@ public class ClassicControllerButtonsEvent extends ButtonsEvent{
|
||||
return isButtonPressed(CLASSIC_CTRL_BUTTON_HOME);
|
||||
}
|
||||
|
||||
/* SelectButton Minus */
|
||||
/* ManageButton Minus */
|
||||
|
||||
public boolean isButtonMinusJustPressed() {
|
||||
return isButtonJustPressed(CLASSIC_CTRL_BUTTON_MINUS);
|
||||
@@ -272,7 +272,7 @@ public class ClassicControllerButtonsEvent extends ButtonsEvent{
|
||||
return isButtonPressed(CLASSIC_CTRL_BUTTON_MINUS);
|
||||
}
|
||||
|
||||
/* SelectButton Plus */
|
||||
/* ManageButton Plus */
|
||||
|
||||
public boolean isButtonPlusJustPressed() {
|
||||
return isButtonJustPressed(CLASSIC_CTRL_BUTTON_PLUS);
|
||||
@@ -290,7 +290,7 @@ public class ClassicControllerButtonsEvent extends ButtonsEvent{
|
||||
return isButtonPressed(CLASSIC_CTRL_BUTTON_PLUS);
|
||||
}
|
||||
|
||||
/* SelectButton ZL */
|
||||
/* ManageButton ZL */
|
||||
|
||||
public boolean isButtonZLJustPressed() {
|
||||
return isButtonJustPressed(CLASSIC_CTRL_BUTTON_ZL);
|
||||
@@ -308,7 +308,7 @@ public class ClassicControllerButtonsEvent extends ButtonsEvent{
|
||||
return isButtonPressed(CLASSIC_CTRL_BUTTON_ZL);
|
||||
}
|
||||
|
||||
/* SelectButton ZR */
|
||||
/* ManageButton ZR */
|
||||
|
||||
public boolean isButtonZRJustPressed() {
|
||||
return isButtonJustPressed(CLASSIC_CTRL_BUTTON_ZR);
|
||||
|
||||
@@ -50,7 +50,7 @@ public class GuitarHeroButtonsEvent extends ButtonsEvent {
|
||||
super(id, buttonsJustPressed, buttonsJustReleased, buttonsHeld);
|
||||
}
|
||||
|
||||
/* SelectButton Strum Up */
|
||||
/* ManageButton Strum Up */
|
||||
|
||||
public boolean isButtonStrumUpJustPressed() {
|
||||
return isButtonJustPressed(GUITAR_HERO_3_BUTTON_STRUM_UP);
|
||||
@@ -68,7 +68,7 @@ public class GuitarHeroButtonsEvent extends ButtonsEvent {
|
||||
return isButtonPressed(GUITAR_HERO_3_BUTTON_STRUM_UP);
|
||||
}
|
||||
|
||||
/* SelectButton Strum Down */
|
||||
/* ManageButton Strum Down */
|
||||
|
||||
public boolean isButtonStrumDownJustPressed() {
|
||||
return isButtonJustPressed(GUITAR_HERO_3_BUTTON_STRUM_DOWN);
|
||||
@@ -86,7 +86,7 @@ public class GuitarHeroButtonsEvent extends ButtonsEvent {
|
||||
return isButtonPressed(GUITAR_HERO_3_BUTTON_STRUM_DOWN);
|
||||
}
|
||||
|
||||
/* SelectButton blue */
|
||||
/* ManageButton blue */
|
||||
|
||||
public boolean isButtonBlueJustPressed() {
|
||||
return isButtonJustPressed(GUITAR_HERO_3_BUTTON_BLUE);
|
||||
@@ -104,7 +104,7 @@ public class GuitarHeroButtonsEvent extends ButtonsEvent {
|
||||
return isButtonPressed(GUITAR_HERO_3_BUTTON_BLUE);
|
||||
}
|
||||
|
||||
/* SelectButton Green */
|
||||
/* ManageButton Green */
|
||||
|
||||
public boolean isButtonGreenJustPressed() {
|
||||
return isButtonJustPressed(GUITAR_HERO_3_BUTTON_GREEN);
|
||||
@@ -122,7 +122,7 @@ public class GuitarHeroButtonsEvent extends ButtonsEvent {
|
||||
return isButtonPressed(GUITAR_HERO_3_BUTTON_GREEN);
|
||||
}
|
||||
|
||||
/* SelectButton Minus */
|
||||
/* ManageButton Minus */
|
||||
|
||||
public boolean isButtonMinusJustPressed() {
|
||||
return isButtonJustPressed(GUITAR_HERO_3_BUTTON_MINUS);
|
||||
@@ -140,7 +140,7 @@ public class GuitarHeroButtonsEvent extends ButtonsEvent {
|
||||
return isButtonPressed(GUITAR_HERO_3_BUTTON_MINUS);
|
||||
}
|
||||
|
||||
/* SelectButton Orange */
|
||||
/* ManageButton Orange */
|
||||
|
||||
public boolean isButtonOrangeJustPressed() {
|
||||
return isButtonJustPressed(GUITAR_HERO_3_BUTTON_ORANGE);
|
||||
@@ -158,7 +158,7 @@ public class GuitarHeroButtonsEvent extends ButtonsEvent {
|
||||
return isButtonPressed(GUITAR_HERO_3_BUTTON_ORANGE);
|
||||
}
|
||||
|
||||
/* SelectButton Plus */
|
||||
/* ManageButton Plus */
|
||||
|
||||
public boolean isButtonPlusJustPressed() {
|
||||
return isButtonJustPressed(GUITAR_HERO_3_BUTTON_PLUS);
|
||||
@@ -176,7 +176,7 @@ public class GuitarHeroButtonsEvent extends ButtonsEvent {
|
||||
return isButtonPressed(GUITAR_HERO_3_BUTTON_PLUS);
|
||||
}
|
||||
|
||||
/* SelectButton Red */
|
||||
/* ManageButton Red */
|
||||
|
||||
public boolean isButtonRedJustPressed() {
|
||||
return isButtonJustPressed(GUITAR_HERO_3_BUTTON_RED);
|
||||
@@ -194,7 +194,7 @@ public class GuitarHeroButtonsEvent extends ButtonsEvent {
|
||||
return isButtonPressed(GUITAR_HERO_3_BUTTON_RED);
|
||||
}
|
||||
|
||||
/* SelectButton Yellow */
|
||||
/* ManageButton Yellow */
|
||||
|
||||
public boolean isButtonYellowJustPressed() {
|
||||
return isButtonJustPressed(GUITAR_HERO_3_BUTTON_YELLOW);
|
||||
|
||||
@@ -44,7 +44,7 @@ public class NunchukButtonsEvent extends ButtonsEvent {
|
||||
super(id, buttonsJustPressed, buttonsJustReleased, buttonsHeld);
|
||||
}
|
||||
|
||||
/* SelectButton Z */
|
||||
/* ManageButton Z */
|
||||
|
||||
public boolean isButtonZJustPressed() {
|
||||
return isButtonJustPressed(NUNCHUK_BUTTON_Z);
|
||||
@@ -62,7 +62,7 @@ public class NunchukButtonsEvent extends ButtonsEvent {
|
||||
return isButtonPressed(NUNCHUK_BUTTON_Z);
|
||||
}
|
||||
|
||||
/* SelectButton Z */
|
||||
/* ManageButton Z */
|
||||
|
||||
public boolean isButtonCJustPressed() {
|
||||
return isButtonJustPressed(NUNCHUK_BUTTON_C);
|
||||
|
||||
@@ -60,7 +60,7 @@ public class WiimoteButtonsEvent extends ButtonsEvent {
|
||||
super(id, buttonsJustPressed, buttonsJustReleased, buttonsHeld);
|
||||
}
|
||||
|
||||
/* SelectButton ONE */
|
||||
/* ManageButton ONE */
|
||||
|
||||
public boolean isButtonOneJustPressed() {
|
||||
return isButtonJustPressed(WIIMOTE_BUTTON_ONE);
|
||||
@@ -78,7 +78,7 @@ public class WiimoteButtonsEvent extends ButtonsEvent {
|
||||
return isButtonPressed(WIIMOTE_BUTTON_ONE);
|
||||
}
|
||||
|
||||
/* SelectButton TWO */
|
||||
/* ManageButton TWO */
|
||||
|
||||
public boolean isButtonTwoJustPressed() {
|
||||
return isButtonJustPressed(WIIMOTE_BUTTON_TWO);
|
||||
@@ -96,7 +96,7 @@ public class WiimoteButtonsEvent extends ButtonsEvent {
|
||||
return isButtonPressed(WIIMOTE_BUTTON_TWO);
|
||||
}
|
||||
|
||||
/* SelectButton A */
|
||||
/* ManageButton A */
|
||||
|
||||
public boolean isButtonAJustPressed() {
|
||||
return isButtonJustPressed(WIIMOTE_BUTTON_A);
|
||||
@@ -114,7 +114,7 @@ public class WiimoteButtonsEvent extends ButtonsEvent {
|
||||
return isButtonPressed(WIIMOTE_BUTTON_A);
|
||||
}
|
||||
|
||||
/* SelectButton B */
|
||||
/* ManageButton B */
|
||||
|
||||
public boolean isButtonBJustPressed() {
|
||||
return isButtonJustPressed(WIIMOTE_BUTTON_B);
|
||||
@@ -132,7 +132,7 @@ public class WiimoteButtonsEvent extends ButtonsEvent {
|
||||
return isButtonPressed(WIIMOTE_BUTTON_B);
|
||||
}
|
||||
|
||||
/* SelectButton LEFT */
|
||||
/* ManageButton LEFT */
|
||||
|
||||
public boolean isButtonLeftJustPressed() {
|
||||
return isButtonJustPressed(WIIMOTE_BUTTON_LEFT);
|
||||
@@ -150,7 +150,7 @@ public class WiimoteButtonsEvent extends ButtonsEvent {
|
||||
return isButtonPressed(WIIMOTE_BUTTON_LEFT);
|
||||
}
|
||||
|
||||
/* SelectButton RIGHT */
|
||||
/* ManageButton RIGHT */
|
||||
|
||||
public boolean isButtonRightJustPressed() {
|
||||
return isButtonJustPressed(WIIMOTE_BUTTON_RIGHT);
|
||||
@@ -168,7 +168,7 @@ public class WiimoteButtonsEvent extends ButtonsEvent {
|
||||
return isButtonPressed(WIIMOTE_BUTTON_RIGHT);
|
||||
}
|
||||
|
||||
/* SelectButton UP */
|
||||
/* ManageButton UP */
|
||||
|
||||
public boolean isButtonUpJustPressed() {
|
||||
return isButtonJustPressed(WIIMOTE_BUTTON_UP);
|
||||
@@ -186,7 +186,7 @@ public class WiimoteButtonsEvent extends ButtonsEvent {
|
||||
return isButtonPressed(WIIMOTE_BUTTON_UP);
|
||||
}
|
||||
|
||||
/* SelectButton DOWN */
|
||||
/* ManageButton DOWN */
|
||||
|
||||
public boolean isButtonDownJustPressed() {
|
||||
return isButtonJustPressed(WIIMOTE_BUTTON_DOWN);
|
||||
@@ -204,7 +204,7 @@ public class WiimoteButtonsEvent extends ButtonsEvent {
|
||||
return isButtonPressed(WIIMOTE_BUTTON_DOWN);
|
||||
}
|
||||
|
||||
/* SelectButton - */
|
||||
/* ManageButton - */
|
||||
|
||||
public boolean isButtonMinusJustPressed() {
|
||||
return isButtonJustPressed(WIIMOTE_BUTTON_MINUS);
|
||||
@@ -222,7 +222,7 @@ public class WiimoteButtonsEvent extends ButtonsEvent {
|
||||
return isButtonPressed(WIIMOTE_BUTTON_MINUS);
|
||||
}
|
||||
|
||||
/* SelectButton + */
|
||||
/* ManageButton + */
|
||||
|
||||
public boolean isButtonPlusJustPressed() {
|
||||
return isButtonJustPressed(WIIMOTE_BUTTON_PLUS);
|
||||
@@ -240,7 +240,7 @@ public class WiimoteButtonsEvent extends ButtonsEvent {
|
||||
return isButtonPressed(WIIMOTE_BUTTON_PLUS);
|
||||
}
|
||||
|
||||
/* SelectButton HOME */
|
||||
/* ManageButton HOME */
|
||||
|
||||
public boolean isButtonHomeJustPressed() {
|
||||
return isButtonJustPressed(WIIMOTE_BUTTON_HOME);
|
||||
|
||||
Reference in New Issue
Block a user