mirror of
https://github.com/JorjBauer/aiie.git
synced 2024-11-27 03:49:27 +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
|