openMSX
KeyClick.hh
Go to the documentation of this file.
1#ifndef KEYCLICK_HH
2#define KEYCLICK_HH
3
4#include "DACSound8U.hh"
5#include "EmuTime.hh"
6
7namespace openmsx {
8
9class DeviceConfig;
10
12{
13public:
14 explicit KeyClick(const DeviceConfig& config);
15
16 void reset(EmuTime::param time);
17 void setClick(bool status, EmuTime::param time);
18
19private:
20 DACSound8U dac;
21 bool status = false;
22};
23
24} // namespace openmsx
25
26#endif
void reset(EmuTime::param time)
Definition KeyClick.cc:10
void setClick(bool status, EmuTime::param time)
Definition KeyClick.cc:15
This file implemented 3 utility functions:
Definition Autofire.cc:9