2012-09-04 00:20:36 +00:00
|
|
|
struct Multitap : Controller {
|
2012-09-04 20:23:18 +00:00
|
|
|
uint2 data();
|
|
|
|
void latch(bool data);
|
|
|
|
Multitap(bool port);
|
|
|
|
void serialize(serializer& s);
|
|
|
|
private:
|
2017-04-22 21:07:33 +00:00
|
|
|
bool connected;
|
|
|
|
bool toggleConnectedInput;
|
2012-09-04 20:23:18 +00:00
|
|
|
bool latched;
|
|
|
|
unsigned counter1;
|
2012-09-04 00:20:36 +00:00
|
|
|
unsigned counter2;
|
|
|
|
};
|