Mosa.EmulatedDevices.Synthetic.Keyboard.GetKeyPressed C# (CSharp) Method

GetKeyPressed() public method

Gets the key.
public GetKeyPressed ( ) : Key
return Mosa.DeviceSystem.Key
        public Key GetKeyPressed()
        {
            if (keys.Count == 0)
                return null;

            return keys.Dequeue();
        }