Search Issue Tracker
By Design
Votes
0
Found in [Package]
0.1.2
Issue ID
1199257
Regression
No
[Input System] # key is named 'backslash' in the Input Debug for keyboard
- key is named 'backslash' in the Input Debug for keyboard.
1. Create a new project.
2. Install the 'Input System' package through Package Manager. (Window -> Package Manager)
3. Click 'Yes' on the dialogue pop-up about enabling backends during package import.
4. Restart the project.
5. Open the debugger window. (Window -> Analysis -> Input debugger)
6. Click on 'Keyboard' under 'Devices'.
7. Scroll down the 'Name' column until you find 'backslash'.
Expected outcome: 'Display Name' column would show \. When you press \ the value column displays 1.
Actual outcome: 'Display Name' column shows #. When you press # the value column displays 1.
Note:
- \ key is named 'OEM1'
- Tested on Windows.
Reproducible in package version preview.3 - 1.0.0, and package version 0.1.2
Could not find an earlier version of the package. Not a regression.
Add comment
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
Resolution Note:
This is expected behavior. The "name" reflects the immutable, internal control name whereas "displayName" reflects how the control should be presented to the user.
In the case of a keyboard, all names are assigned by physical key location. So "backslash" is the key to the left of the enter key and above the right shift key. Its display name will be set according to the current keyboard layout so for the UK layout, that'd be "#".