openMSX
sound
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
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::param time);
17
void
setClick
(
bool
status, EmuTime::param time);
18
19
private
:
20
DACSound8U
dac;
21
bool
status =
false
;
22
};
23
24
}
// namespace openmsx
25
26
#endif
DACSound8U.hh
EmuTime.hh
openmsx::DACSound8U
Definition
DACSound8U.hh:11
openmsx::DeviceConfig
Definition
DeviceConfig.hh:21
openmsx::KeyClick
Definition
KeyClick.hh:12
openmsx::KeyClick::reset
void reset(EmuTime::param time)
Definition
KeyClick.cc:10
openmsx::KeyClick::setClick
void setClick(bool status, EmuTime::param time)
Definition
KeyClick.cc:15
openmsx
This file implemented 3 utility functions:
Definition
Autofire.cc:11
Generated on Thu Dec 19 2024 23:13:46 for openMSX by
1.9.8