I had read on another forum post that the new system is frame rate independent. I am looking for a way to reduce input lag. I am using touch on Windows 10. Using GetTouch(0) with the current input system I am getting 20-30 ms of delay. For UI elements I am getting 70 ms. The 20-30 ms latency is acceptable for my purposes but the 70 ms is not. I am presently using the slider component in my project and I am trying to find a way to reduce the latency for UI elements as I would rather not have to go about figuring out how to remake the slider component. With the new input system, I keep getting 150-300 ms’ latency. It is really really bad compared to the current system. I am toggling a GPIO pin or a board when input is registered or buttons or sliders are used and I have a program that shows the latency. Is the new system still really inefficient or am I doing something wrong? I just have the Input System UI Input module attached to the event system. For just checking touches anywhere on the screen in my scripts awake I am calling EnhancedTouchSupport.Enable();. Then I just get the touch by doing
if (UnityEngine.InputSystem.EnhancedTouch.Touch.activeTouches.Count > 0 && TestRegTouchObjs.activeSelf == true)
{
UnityEngine.InputSystem.EnhancedTouch.Touch touch = UnityEngine.InputSystem.EnhancedTouch.Touch.activeTouches[0];
And then doing whatever with the touch.
I was hoping to get 30 ms or less for UI and touches. Any suggestions?