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
- "Shader warning in 'Hidden/Light2D': implicit truncation of vector type" is thrown when building Universal 2D template
- AI Assistant breaks compilation of packages using System.Runtime.CompilerServices.Unsafe via auto-referencing
- Unity Hub checks the "Documentation" module by default on the 6.4 and 6.5 streams despite that it was unchecked with the previous installs
- Shortcut that toggles between Dopesheet and Curves Views in the Animation Window's Timeline is mislabed
- Property List Items Overlap onto the Property List's top edge when scrolling through a long Property List
Add comment