Fix Nyko Playpad input issue

This commit is contained in:
Cameron Gutman 2014-11-28 22:16:33 -06:00
parent 2d6c756e70
commit 3fb3eefa94

View File

@ -236,6 +236,11 @@ public class ControllerHandler {
mapping.isRemote = true;
}
}
// NYKO Playpad has a fake hat that mimics the left stick for some reason
else if (devName.contains("NYKO PLAYPAD")) {
mapping.hatXAxis = -1;
mapping.hatYAxis = -1;
}
}
LimeLog.info("Analog stick deadzone: "+mapping.leftStickDeadzoneRadius+" "+mapping.rightStickDeadzoneRadius);