Work in progress: fixing gamepad to work on all OSs and be customizable

This commit is contained in:
Diego Waxemberg
2013-12-19 17:31:14 -05:00
parent 99a2a53163
commit 2ef77aae4a
5 changed files with 180 additions and 0 deletions

View File

@@ -1,9 +1,12 @@
package com.limelight.input;
import java.util.Collections;
import java.util.LinkedList;
import java.util.List;
import javax.swing.event.ListSelectionEvent;
import com.limelight.input.Gamepad.ControllerType;
import com.limelight.nvstream.NvConnection;
@@ -37,6 +40,10 @@ public class GamepadHandler {
return null;
}
public static List<Gamepad> getGamepads() {
return Collections.unmodifiableList(gamepads);
}
private void startUp() {
new Thread(new Runnable() {
@Override