InputSystem icon indicating copy to clipboard operation
InputSystem copied to clipboard

[Debugger] Events are shown out of order

Open Rene-Damm opened this issue 7 years ago • 3 comments

The input event trace in the input debugger seems to be buggy. Events sometimes disappear or appear out of order.

To reproduce, bring up input debugger for mouse and check the event log while moving the mouse around. After a while, you should see disappearing events or events appearing out of order (check the IDs and timestamps; neither should go back to lower values).

I'm pretty sure that InputEventTrace has at least one bug in either the recording or in traversal.

Rene-Damm avatar Feb 05 '19 16:02 Rene-Damm

Is it possible to use the data from InputEventTrace to implement an input buffer, or will their be built in functionality for the public API?

manablight avatar Feb 26 '19 21:02 manablight

Is it possible to use the data from InputEventTrace to implement an input buffer, or will their be built in functionality for the public API?

It is possible to use it for that. Basically, InputEventTrace allows you to maintain a record of input that's been coming in. Either on a specific device or generally in the system.

There's also thoughts about building a more easily accessible mechanism through InputStateHistory which would allow you to keep arbitrary history of input state. However, that part isn't functional yet.

Rene-Damm avatar Mar 18 '19 13:03 Rene-Damm

Fixed. Closing.

JiaUnity avatar Mar 27 '19 21:03 JiaUnity