Limit PS3Eye to 100FPS (#218)

This helps prevent running in to USB bandwidth issues with multiple PS3Eyes.
This commit is contained in:
Banks T
2021-01-06 17:27:01 -05:00
committed by GitHub
parent b8bc65ec32
commit 08a51fd237
4 changed files with 11 additions and 2 deletions

View File

@@ -28,6 +28,7 @@ public class QuirkyCameraTest {
public void ps3EyeTest() {
HashMap<CameraQuirk, Boolean> ps3EyeQuirks = new HashMap<>();
ps3EyeQuirks.put(CameraQuirk.Gain, true);
ps3EyeQuirks.put(CameraQuirk.FPSCap100, true);
for (var q : CameraQuirk.values()) {
ps3EyeQuirks.putIfAbsent(q, false);
}