Added network joystick handling

This commit is contained in:
2015-06-11 19:55:54 +02:00
parent 44f4444ad0
commit ce35aaf667
2 changed files with 72 additions and 6 deletions
+1 -2
View File
@@ -23,13 +23,12 @@ public class JoystickHandler implements KeyListener{
List<JoystickListener> listeners;
Set<Integer> keys;
Joystick j;
public static Joystick j = new Joystick();;
public JoystickHandler()
{
listeners = new ArrayList<JoystickListener>();
keys = new HashSet<Integer>();
j = new Joystick();
// if(Window.ON_RASP)
// addGpioListeners();
}