Merge pull request #2 from cschwartz/master

Mapping parameter is not assigned during constructor call for EvdevHandler
This commit is contained in:
irtimmer
2014-01-21 11:14:47 -08:00

View File

@@ -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");