bsnes/sfc/controller/multitap/multitap.hpp

11 lines
166 B
C++

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