| e8555c89 Andy McCall |
1 |
#ifndef Y8950KEYBOARDDEVICE_HH |
| 2 |
#define Y8950KEYBOARDDEVICE_HH |
| 3 |
|
| 4 |
#include "Pluggable.hh" |
| 5 |
|
| 6 |
#include <cstdint> |
| 7 |
|
| 8 |
namespace openmsx { |
| 9 |
|
| 10 |
class Y8950KeyboardDevice : public Pluggable |
| 11 |
{ |
| 12 |
public: |
| 13 |
|
| 14 |
|
| 15 |
|
| 16 |
|
| 17 |
|
| 18 |
|
| 19 |
|
| 20 |
virtual void write(uint8_t data, EmuTime time) = 0; |
| 21 |
|
| 22 |
|
| 23 |
|
| 24 |
|
| 25 |
|
| 26 |
|
| 27 |
|
| 28 |
|
| 29 |
[[nodiscard]] virtual uint8_t read(EmuTime time) = 0; |
| 30 |
|
| 31 |
|
| 32 |
[[nodiscard]] zstring_view getClass() const final; |
| 33 |
}; |
| 34 |
|
| 35 |
} |
| 36 |
|
| 37 |
#endif |