mirror of
https://github.com/JorjBauer/aiie.git
synced 2024-11-23 06:32:09 +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
|