mirror of
https://github.com/danbulant/Cosmos
synced 2026-05-24 12:35:31 +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()
|
public static void EnableInterrupts()
|
||||||
{
|
{
|
||||||
CPU.EnableInterrupts();
|
CPU.EnableInterrupts();
|
||||||
|
|
@ -68,6 +71,10 @@ namespace Cosmos.HAL
|
||||||
|
|
||||||
public static bool InterruptsEnabled => CPU.mInterruptsEnabled;
|
public static bool InterruptsEnabled => CPU.mInterruptsEnabled;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Get keyboard devices.
|
||||||
|
/// </summary>
|
||||||
|
/// <returns>IEnumerable{KeyboardBase} value.</returns>
|
||||||
public static IEnumerable<KeyboardBase> GetKeyboardDevices()
|
public static IEnumerable<KeyboardBase> GetKeyboardDevices()
|
||||||
{
|
{
|
||||||
var xKeyboardDevices = new List<KeyboardBase>();
|
var xKeyboardDevices = new List<KeyboardBase>();
|
||||||
|
|
@ -85,6 +92,10 @@ namespace Cosmos.HAL
|
||||||
return xKeyboardDevices;
|
return xKeyboardDevices;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Get mouse devices.
|
||||||
|
/// </summary>
|
||||||
|
/// <returns>IEnumerable{MouseBase} value.</returns>
|
||||||
public static IEnumerable<MouseBase> GetMouseDevices()
|
public static IEnumerable<MouseBase> GetMouseDevices()
|
||||||
{
|
{
|
||||||
var xMouseDevices = new List<MouseBase>();
|
var xMouseDevices = new List<MouseBase>();
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue