mirror of
https://github.com/JorjBauer/aiie.git
synced 2024-11-08 16:04:42 +00:00
22 lines
349 B
C
22 lines
349 B
C
|
#ifndef __LINUX_KEYBOARD_H
|
||
|
#define __LINUX_KEYBOARD_H
|
||
|
|
||
|
#include "physicalkeyboard.h"
|
||
|
#include "vmkeyboard.h"
|
||
|
|
||
|
class LinuxKeyboard : public PhysicalKeyboard {
|
||
|
public:
|
||
|
LinuxKeyboard(VMKeyboard *k);
|
||
|
virtual ~LinuxKeyboard();
|
||
|
|
||
|
virtual void maintainKeyboard();
|
||
|
|
||
|
virtual bool kbhit();
|
||
|
virtual int8_t read();
|
||
|
|
||
|
private:
|
||
|
int fd;
|
||
|
};
|
||
|
|
||
|
#endif
|