mirror of
https://github.com/moonlight-stream/moonlight-embedded.git
synced 2026-06-15 21:31:12 +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 {
|
public EvdevHandler(NvConnection conn, String device, GamepadMapping mapping) throws FileNotFoundException, IOException {
|
||||||
this.conn = conn;
|
this.conn = conn;
|
||||||
|
this.mapping = mapping;
|
||||||
File file = new File(device);
|
File file = new File(device);
|
||||||
if (!file.exists())
|
if (!file.exists())
|
||||||
throw new FileNotFoundException("File " + device + " not found");
|
throw new FileNotFoundException("File " + device + " not found");
|
||||||
|
|||||||
Reference in New Issue
Block a user