mirror of
https://github.com/moonlight-stream/moonlight-embedded.git
synced 2026-04-04 06:56:27 +00:00
Work in progress: fixing gamepad to work on all OSs and be customizable
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user