mirror of
https://github.com/danbulant/Cosmos
synced 2026-05-19 04:18:43 +00:00
Started working on Global api docs
This commit is contained in:
parent
f8d0924a18
commit
7f7035b769
1 changed files with 11 additions and 0 deletions
|
|
@ -61,6 +61,9 @@ namespace Cosmos.HAL
|
|||
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Enable interrupts.
|
||||
/// </summary>
|
||||
public static void EnableInterrupts()
|
||||
{
|
||||
CPU.EnableInterrupts();
|
||||
|
|
@ -68,6 +71,10 @@ namespace Cosmos.HAL
|
|||
|
||||
public static bool InterruptsEnabled => CPU.mInterruptsEnabled;
|
||||
|
||||
/// <summary>
|
||||
/// Get keyboard devices.
|
||||
/// </summary>
|
||||
/// <returns>IEnumerable{KeyboardBase} value.</returns>
|
||||
public static IEnumerable<KeyboardBase> GetKeyboardDevices()
|
||||
{
|
||||
var xKeyboardDevices = new List<KeyboardBase>();
|
||||
|
|
@ -85,6 +92,10 @@ namespace Cosmos.HAL
|
|||
return xKeyboardDevices;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Get mouse devices.
|
||||
/// </summary>
|
||||
/// <returns>IEnumerable{MouseBase} value.</returns>
|
||||
public static IEnumerable<MouseBase> GetMouseDevices()
|
||||
{
|
||||
var xMouseDevices = new List<MouseBase>();
|
||||
|
|
|
|||
Loading…
Reference in a new issue