mirror of
https://github.com/JorjBauer/aiie.git
synced 2024-12-02 05:49:31 +00:00
21 lines
347 B
C
21 lines
347 B
C
|
#ifndef __SDL_KEYBOARD_H
|
||
|
#define __SDL_KEYBOARD_H
|
||
|
|
||
|
#include "physicalkeyboard.h"
|
||
|
#include "vmkeyboard.h"
|
||
|
|
||
|
#include <SDL2/SDL.h>
|
||
|
|
||
|
class SDLKeyboard : public PhysicalKeyboard {
|
||
|
public:
|
||
|
SDLKeyboard(VMKeyboard *k);
|
||
|
virtual ~SDLKeyboard();
|
||
|
|
||
|
virtual void maintainKeyboard();
|
||
|
|
||
|
private:
|
||
|
void handleKeypress(SDL_KeyboardEvent *key);
|
||
|
};
|
||
|
|
||
|
#endif
|