class
Keyboard
Represents a single hardware keyboard.
Used by the Input to report raw keyboard input events.
Public
Constructors
Keyboard
Keyboard(const String &name, Input *owner)
Methods
~Keyboard
~Keyboard()
GetName
String GetName() const
Returns the name of the device.
Capture
void Capture()
Captures the input since the last call and triggers the events on the parent Input.
Private
Methods
ChangeCaptureContext
void ChangeCaptureContext(u64 windowHandle)
Changes the capture context.
Should be called when focus is moved to a new window.