feat(input): unify low latency mode (#1604)

This commit is contained in:
Kurt Himebauch authored and GitHub committed 2026-10-26 08:12:47 -04:00
1 parent 63d1e4d61d
commit 9fc48515c1
6 files changed
+21 -38

No files matched your search

@@ -525,8 +525,8 @@ public class FakeInputWriter {
}
}
public static void setLowLatency(boolean controller, boolean touch) {
int flags = (controller ? LATENCY_CONTROLLER : 0) | (touch ? LATENCY_TOUCH : 0);
public static void setLowLatency(boolean enabled) {
int flags = enabled ? LATENCY_CONTROLLER | LATENCY_TOUCH : 0;
latency = flags;
RingSlot ringSlot;
synchronized (RING_LOCK) {