C# Class Mosa.EmulatedDevices.Synthetic.Keyboard

Implements an emulated keyboard
Inheritance: Mosa.DeviceSystem.Device, IKeyboard
显示文件 Open project: tgiphil/MOSA-Project Class Usage Examples

Public Methods

Method Description
AcceptKey ( Key key ) : void

Accepts the key.

GetKeyPressed ( ) : Key

Gets the key.

GetKeyPressed_OLD ( ) : Key

Gets the key pressed.

Keyboard ( ) : System

Initializes a new instance of the Keyboard class.

Keyboard ( DisplayForm display ) : System

Initializes a new instance of the Keyboard class.

Method Details

AcceptKey() public method

Accepts the key.
public AcceptKey ( Key key ) : void
key Mosa.DeviceSystem.Key The key.
return void

GetKeyPressed() public method

Gets the key.
public GetKeyPressed ( ) : Key
return Mosa.DeviceSystem.Key

GetKeyPressed_OLD() public method

Gets the key pressed.
public GetKeyPressed_OLD ( ) : Key
return Mosa.DeviceSystem.Key

Keyboard() public method

Initializes a new instance of the Keyboard class.
public Keyboard ( ) : System
return System

Keyboard() public method

Initializes a new instance of the Keyboard class.
public Keyboard ( DisplayForm display ) : System
display DisplayForm
return System