diff options
Diffstat (limited to 'Kernel/Keyboard.h')
-rw-r--r-- | Kernel/Keyboard.h | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/Kernel/Keyboard.h b/Kernel/Keyboard.h index a2ed06fa7e..02aa5cec06 100644 --- a/Kernel/Keyboard.h +++ b/Kernel/Keyboard.h @@ -1,16 +1,16 @@ #pragma once -namespace Keyboard { +#include <AK/Types.h> +#include "IRQHandler.h" -enum class LED { - ScrollLock = 1 << 0, - NumLock = 1 << 1, - CapsLock = 1 << 2, -}; +class Keyboard final : public IRQHandler { +public: + virtual ~Keyboard() override; + Keyboard(); + +private: + virtual void handleIRQ() override; -void initialize(); -void setLED(LED); -void unsetLED(LED); -void handleInterrupt(); + byte m_modifiers { 0 }; +}; -} |