OXYGENHUB
◆ main openmsx / src / sound / KeyClick.hh
359 B · C++ · last changed chore(): initial commit 1 month ago source blame history raw
e8555c89 Andy McCall 1
#ifndef KEYCLICK_HH
2
#define KEYCLICK_HH
3
4
#include "DACSound8U.hh"
5
#include "EmuTime.hh"
6
7
namespace openmsx {
8
9
class DeviceConfig;
10
11
class KeyClick
12
{
13
public:
14
	explicit KeyClick(const DeviceConfig& config);
15
16
	void reset(EmuTime time);
17
	void setClick(bool status, EmuTime time);
18
19
private:
20
	DACSound8U dac;
21
	bool status = false;
22
};
23
24
} // namespace openmsx
25
26
#endif