When i disable keyboard input by calling DisableDevice
, and I hold a key while it’s disabled, when the device is enabled again, it doesn’t register when i release the key. It remains held forever.
This does not happen with gamepads. And it only seems to happen on the Right Shift key, specifically. I’m on a Mac.
Timeline of events:
- Call to InputSystem.DisableDevice
- Hold down Right Shift
- Call to InputSystem.EnableDevice
After this, the Action mapped to this key will never be cancelled (“canceled” event) until I disable the device.
This was tested on the just-released Input System version 1.12.0. This problem is still there