using sysIO = System.IO; using Cosmos.Debug.Kernel; namespace Cosmos.System { // This class exists purely for testing purposes. /// /// Testing helpers class. /// internal static class TestingHelpers { /// /// Add fake scan codes to the keyboard, fake pressing keys. /// Used to test kernals. /// /// A key code. /// Is key pressed. /// An I/O error occurred. internal static void KeyboardAddFakeScanCode(byte aScanCode, bool aReleased) { Global.mDebugger.Send("Before HandleFakeScanCode"); KeyboardManager.HandleFakeScanCode(aScanCode, aReleased); Global.mDebugger.Send("After HandleFakeScanCode"); } } }