mirror of
https://github.com/danbulant/Cosmos
synced 2026-05-19 04:18:43 +00:00
Started working on KeyboardBase api docs
This commit is contained in:
parent
7f7035b769
commit
69c75731ee
1 changed files with 6 additions and 0 deletions
|
|
@ -7,11 +7,17 @@
|
|||
/// </summary>
|
||||
public abstract void Initialize();
|
||||
|
||||
/// <summary>
|
||||
/// Update keyboard LEDs.
|
||||
/// </summary>
|
||||
public abstract void UpdateLeds();
|
||||
|
||||
public delegate void KeyPressedEventHandler(byte ScanCode, bool Released);
|
||||
public KeyPressedEventHandler OnKeyPressed;
|
||||
|
||||
/// <summary>
|
||||
/// Wait for key to be pressed.
|
||||
/// </summary>
|
||||
public static void WaitForKey()
|
||||
{
|
||||
Core.Global.CPU.Halt();
|
||||
|
|
|
|||
Loading…
Reference in a new issue