InputSystem icon indicating copy to clipboard operation
InputSystem copied to clipboard

[MacOS] [Keyboard] When Caps Lock is active, the key is always read as pressed.

Open JiaUnity opened this issue 8 years ago • 2 comments

The Control.ReadValue() is always bigger than 0 for Caps Lock key when the cap lock is active, which also affects the Control.isPressed. This is different from the Windows standalone build. maccaplock Note: The Caps lock key was NOT held down. It was only pressed at the beginning and end of the gif.

JiaUnity avatar Jun 15 '18 19:06 JiaUnity

Not sure we'll be able to get a different read here. Pretty sure that on the OS side, given that it's a key with a "lock" state, the press and release we get is for the lock state and not the key press. But maybe we can drop a level lower and look at the actual key state to still read press and release.

Rene-Damm avatar Jun 15 '18 19:06 Rene-Damm

Closing as By Design.

JiaUnity avatar Feb 05 '19 20:02 JiaUnity