Search Issue Tracker
Fixed in 5.1.0
Votes
0
Found in
3.0.0b6
Issue ID
371290
Regression
No
Left command key does not trigger events on Mac
1) What happened
the default key for "fire 3" in the input manager is left cmd, which corresponds to the windows key on windows. which is generally the "close this window and open the start menu" button
2) How can we reproduce it using the example you attached
Create a new project,
open the input manager
observe the madness in the "Fire3" drop down.
Would make much more sense to have this as left shift by default
You can use this script to test that it's impossible to use Fire 3 in Unity on Windows:
using UnityEngine;
using System.Collections;
public class NewBehaviourScript : MonoBehaviour
{
void Update()
{
if (Input.GetKeyDown("left cmd"))
print("fire3 key was pressed");
}
}
See also case 575280 that says Alt key doesn't trigger events on Mac
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
- Mipmap Limit Groups long names are not truncated when creating a new Mipmap Limit Group with a long name
- “ArgumentException: Invalid double parameter.” error is thrown when Infinity is typed into the Fixed Timestep field
- GameObject becomes gray when using HDRP and STP together on macOS
Add comment