mirror of
https://github.com/moonlight-stream/moonlight-embedded.git
synced 2026-04-12 02:46:30 +00:00
renamed gamepad config page, No longer shit bricks if the gamepad disconnects while trying to map. Now rescans for gamepads
This commit is contained in:
@@ -39,12 +39,10 @@ public class ControllerListener {
|
||||
construct.setAccessible(true);
|
||||
|
||||
ControllerEnvironment defaultEnv = null;
|
||||
|
||||
//TODO: allow "rescanning" to work again
|
||||
defaultEnv = (ControllerEnvironment)construct.newInstance();
|
||||
|
||||
while(!isInterrupted()) {
|
||||
|
||||
|
||||
defaultEnv = (ControllerEnvironment)construct.newInstance();
|
||||
Controller[] ca = defaultEnv.getControllers();
|
||||
LinkedList<Controller> gamepads = new LinkedList<Controller>();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user