mirror of
https://github.com/fergalmoran/ferglos.git
synced 2026-01-29 12:06:42 +00:00
19 lines
361 B
C++
19 lines
361 B
C++
#ifndef __KEYBOARD_H
|
|
#define __KEYBOARD_H
|
|
|
|
#include "interrupts.h"
|
|
#include "port.h"
|
|
#include "types.h"
|
|
|
|
class KeyboardDriver : public InterruptHandler {
|
|
private:
|
|
Port8Bit _dataport;
|
|
Port8Bit _commandport;
|
|
|
|
public:
|
|
KeyboardDriver(InterruptManager* manager);
|
|
~KeyboardDriver();
|
|
|
|
virtual uint32_t HandleInterrupt(uint32_t esp);
|
|
};
|
|
#endif |