summaryrefslogtreecommitdiff
path: root/Source/Kernel/Devices/Keyboard/PS2Keyboard.class.h
blob: b4cd7a89fd6155b9a5b1b7d42973fd8de1ac9e0d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#ifndef DEF_PS2KEYBOARD_CLASS_H
#define DEF_PS2KEYBOARD_CLASS_H

#include <Devices/Keyboard/Keyboard.proto.h>

class PS2Keyboard : public Keyboard {
	private:
	bool m_escaped;
	
	public:
	PS2Keyboard();
	String getClass();
	String getName();	
	void handleIRQ(registers_t regs, int irq);
	void updateLeds(u32int kbdstatus);
};

#endif