I’m trying to use onAnyButtonPress to log all input, but when typing it is logging some keystrokes multiple times. This seems the happen when typing quickly. I’m using InputSystem 1.3.0.
void Start() { InputSystem.onAnyButtonPress.Call( button => { if (button is KeyControl key) { Debug.Log($"Key {key.name} pressed! (text: {key.displayName})"); } }); }
You can see here I typed “tester”, but it produced “teesteer”.