Search Issue Tracker

Won't Fix

Votes

0

Found in [Package]

0.3.1

Issue ID

1165517

Regression

No

[Windows] printscreen gets registered upon pressing Insert/Home/PgUp/PgDn/End/Delete or the arrow keys when NumLock is off

Package: Input System

-

How to reproduce:
1. Open tester-submitted project(NumlockInputBug)
2. Open the New Controls.inputactions asset
3. Add a new Action Map and Action
4. Select <No Binding> and in the properties window click on the empty 'Path' dropdown
5. Make sure that NumLock is set to 'off' on your keyboard
6. Click 'Listen' and press one of the arrow/Insert/Home/PgUp/PgDown/End/Delete keys

Expected result: only the pressed key is registered
Actual result: the pressed key and printscreen are registered

Reproducible with: 2019.1.10f1, 2019.2.0b9, 2019.3.0a9
Could not test with: 2017.4.30f1(Package not yet introduced), 2018.4.4f1(Inputs do not get registered at all)

Reproducible with package versions: 0.2.1, 0.3.1
Could not test with package versions: 0.1.2, 0.2.0(Incompatibility issues)

Notes:
Can also be observed in the Input Debugger
Not reproducible on macOS

  1. Resolution Note:

    The prt scn bits are coming from the actual scancodes produced from the operating system. We can't fix this as this is the read keyboard state. prt scn as well as some other keys such as the windows key etc, should never be read or used in a game due to the possible side effects. Its recommended a prt scn key down or pressed event be ignored.

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.