mirror of
https://github.com/JorjBauer/aiie.git
synced 2024-11-04 19:07:22 +00:00
99d0c8e72c
* 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
24 lines
392 B
C++
24 lines
392 B
C++
#ifndef __SDL_KEYBOARD_H
|
|
#define __SDL_KEYBOARD_H
|
|
|
|
#include "physicalkeyboard.h"
|
|
#include "vmkeyboard.h"
|
|
|
|
#include <SDL.h>
|
|
|
|
class SDLKeyboard : public PhysicalKeyboard {
|
|
public:
|
|
SDLKeyboard(VMKeyboard *k);
|
|
virtual ~SDLKeyboard();
|
|
|
|
virtual void maintainKeyboard();
|
|
|
|
virtual bool kbhit();
|
|
virtual int8_t read();
|
|
|
|
private:
|
|
void handleKeypress(SDL_KeyboardEvent *key);
|
|
};
|
|
|
|
#endif
|