C# Class Mosa.DeviceSystem.Keyboard

Implements a keyboard IKeyboard.
Inheritance: IKeyboard
显示文件 Open project: tgiphil/MOSA-Project Class Usage Examples

Protected Properties

Property Type Description
keyboardDevice IKeyboardDevice
scanCodeMap IScanCodeMap

Public Methods

Method Description
GetKeyPressed ( ) : Key

Gets the key pressed.

Keyboard ( IKeyboardDevice keyboardDevice, IScanCodeMap scanCodeMap )

Initializes a new instance of the Keyboard class.

Method Details

GetKeyPressed() public method

Gets the key pressed.
public GetKeyPressed ( ) : Key
return Key

Keyboard() public method

Initializes a new instance of the Keyboard class.
public Keyboard ( IKeyboardDevice keyboardDevice, IScanCodeMap scanCodeMap )
keyboardDevice IKeyboardDevice The keyboard device.
scanCodeMap IScanCodeMap The scan code map.

Property Details

keyboardDevice protected_oe property

protected IKeyboardDevice keyboardDevice
return IKeyboardDevice

scanCodeMap protected_oe property

protected IScanCodeMap scanCodeMap
return IScanCodeMap