bsnes/sfc/controller/multitap/multitap.hpp

12 lines
183 B
C++

struct Multitap : Controller {
Multitap(bool port);
auto data() -> uint2;
auto latch(bool data) -> void;
private:
bool latched;
unsigned counter1;
unsigned counter2;
};