mirror of
https://github.com/JorjBauer/aiie.git
synced 2024-08-27 10:29:33 +00:00
* New BIOS interface * New linux framebuffer version * Unified linuxfb and SDL with Teensy * Abstracted VM RAM * Fixed disk image corruption due to bad cache handling * Variable CPU speed support
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
|