mirror of
https://github.com/JorjBauer/aiie.git
synced 2024-12-01 14:50:54 +00:00
16 lines
280 B
C
16 lines
280 B
C
|
#ifndef __VMKEYBOARD_H
|
||
|
#define __VMKEYBOARD_H
|
||
|
|
||
|
#include <stdint.h>
|
||
|
|
||
|
class VMKeyboard {
|
||
|
public:
|
||
|
virtual ~VMKeyboard() {}
|
||
|
|
||
|
virtual void keyDepressed(uint8_t k) = 0;
|
||
|
virtual void keyReleased(uint8_t k) = 0;
|
||
|
virtual void maintainKeyboard(uint32_t cycleCount) = 0;
|
||
|
};
|
||
|
|
||
|
#endif
|