mirror of
https://github.com/moonlight-stream/moonlight-embedded.git
synced 2026-04-03 06:26:04 +00:00
Merge pull request #2 from cschwartz/master
Mapping parameter is not assigned during constructor call for EvdevHandler
This commit is contained in:
@@ -36,6 +36,7 @@ public class EvdevHandler implements Runnable {
|
||||
|
||||
public EvdevHandler(NvConnection conn, String device, GamepadMapping mapping) throws FileNotFoundException, IOException {
|
||||
this.conn = conn;
|
||||
this.mapping = mapping;
|
||||
File file = new File(device);
|
||||
if (!file.exists())
|
||||
throw new FileNotFoundException("File " + device + " not found");
|
||||
|
||||
Reference in New Issue
Block a user