1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2026-01-19 20:30:59 +00:00
serenity/Kernel/Keyboard.h
Andreas Kling a9ca75c98b Add IRQHandler class that can be subclasses to handle an IRQ.
Also move Keyboard to a class implementation using this pattern.
2018-10-22 12:58:29 +02:00

16 lines
244 B
C++

#pragma once
#include <AK/Types.h>
#include "IRQHandler.h"
class Keyboard final : public IRQHandler {
public:
virtual ~Keyboard() override;
Keyboard();
private:
virtual void handleIRQ() override;
byte m_modifiers { 0 };
};