Search Issue Tracker

Fixed in 2017.2.0f3

Votes

0

Found in

2.6.1f3

Issue ID

332558

Regression

No

Input.GetKeyDown doesn't detect KeyCode.Print and KeyCode.SysReq on Windows.

Windows

-

Input.GetKeyDown doesn't detect KeyCode.Print or KeyCode.SysReq.
This code will not work as intended:

if (Input.GetKeyDown(KeyCode.Print) || Input.GetKeyDown(KeyCode.SysReq)) print("screenshot");

As a workaround Input.GetKeyUp can be used.

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.