mirror of
https://github.com/danbulant/Cosmos
synced 2026-05-19 12:30:32 +00:00
19 lines
578 B
C#
19 lines
578 B
C#
using Cosmos.Debug.Kernel;
|
|
|
|
namespace Cosmos.System
|
|
{
|
|
// This class exists purely for testing purposes.
|
|
internal static class TestingHelpers
|
|
{
|
|
internal static void KeyboardAddFakeScanCode(byte aScanCode, bool aReleased)
|
|
{
|
|
Debugger.DoSend("Before HandleFakeScanCode");
|
|
if (Global.Keyboard == null)
|
|
{
|
|
Debugger.DoSend("No Keyboard set!");
|
|
}
|
|
Global.Keyboard.HandleFakeScanCode(aScanCode, aReleased);
|
|
Debugger.DoSend("After HandleFakeScanCode");
|
|
}
|
|
}
|
|
}
|