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
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
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [Dragon Crashers] Build fails in U6
- [Dragon Crashers] 4 Shader error messages on import
- [Dragon Crashers] Readme text is white on light grey
- Cursor stays in front of the first character when entering text in the TextMeshPro field
- Searching in Hierarchy causes unwanted component calls
Add comment