Search Issue Tracker

Won't Fix

Votes

0

Found in

5.6.2p3

Issue ID

936595

Regression

No

Event.current.capsLock returns false, when capsLock is on, but capsLock key is released

IMGUI

-

To reproduce:
1. Open attached project "CapsTest.zip".
2. Open and Play "Test" scene.
3. Press "Caps Lock" on key board, and check the result.

Expected result: Event.current.capsLock returns true if capslock is turned on (as described in documentation. https://docs.unity3d.com/ScriptReference/Event-capsLock.html)
Actual result: Event.current.capsLock returns true, only while Caps Lock key is pressed.

Reproducible: 5.5.4p2, 5.6.3f1, 2017.1.0p2, 2017.2.0b5, 2017.3.0a2

Workaround:
http://answers.unity3d.com/questions/164795/unable-to-trace-capslock-on-and-off.html

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.