Parameters in constructors omgedraait.

This commit is contained in:
Bram Veenboer
2011-05-08 16:26:37 +00:00
parent e135ea5a6d
commit 23b54e8403
9 changed files with 42 additions and 40 deletions

View File

@@ -23,19 +23,19 @@ public class RumblepadDevice extends JavaInputDevice {
super.initialise(NAME);
add(
new Press(RumblepadButton.ONE),
new Task(Action.PLAY, Target.APPLICATION));
new Task(Target.APPLICATION, Action.PLAY));
add(
new Press(RumblepadButton.TWO),
new Task(Action.PAUSE, Target.APPLICATION));
new Task(Target.APPLICATION, Action.PAUSE));
add(
new Press(RumblepadButton.THREE),
new Task(Action.RESUME, Target.APPLICATION));
new Task(Target.APPLICATION, Action.RESUME));
add(
new Press(RumblepadButton.SIX),
new Task(Action.NEXT, Target.APPLICATION));
new Task(Target.APPLICATION, Action.NEXT));
add(
new Press(RumblepadButton.EIGHT),
new Task(Action.PREVIOUS, Target.APPLICATION));
new Task(Target.APPLICATION, Action.PREVIOUS));
add(
new Hold(RumblepadButton.FIVE),
new Dynamic(Action.FORWARD, Target.APPLICATION, 200, -30));