aiie/sdl/sdl-keyboard.h

21 lines
342 B
C
Raw Normal View History

#ifndef __SDL_KEYBOARD_H
#define __SDL_KEYBOARD_H
#include "physicalkeyboard.h"
#include "vmkeyboard.h"
2017-07-14 00:31:47 +00:00
#include <SDL.h>
class SDLKeyboard : public PhysicalKeyboard {
public:
SDLKeyboard(VMKeyboard *k);
virtual ~SDLKeyboard();
virtual void maintainKeyboard();
private:
void handleKeypress(SDL_KeyboardEvent *key);
};
#endif