A game about forced loneliness, made by TACStudios
1#if UNITY_EDITOR
2using UnityEngine.InputSystem.LowLevel;
3
4namespace UnityEngine.InputSystem
5{
6 /// <summary>
7 /// Internal interface that allows monitoring the system for problems.
8 /// </summary>
9 /// <remarks>
10 /// This is primarily meant to make it easier to diagnose problems in the event stream.
11 ///
12 /// Note that while the diagnostics hook is only enabled in the editor, when using
13 /// the input debugger connected to a player it will also diagnose problems in the
14 /// event stream of the player.
15 /// </remarks>
16 internal interface IInputDiagnostics
17 {
18 void OnCannotFindDeviceForEvent(InputEventPtr eventPtr);
19 void OnEventTimestampOutdated(InputEventPtr eventPtr, InputDevice device);
20 void OnEventFormatMismatch(InputEventPtr eventPtr, InputDevice device);
21 void OnEventForDisabledDevice(InputEventPtr eventPtr, InputDevice device);
22 }
23}
24#endif