mirror of
https://github.com/libretro/bsnes-libretro-cplusplus98.git
synced 2025-04-13 23:50:38 +00:00
18 lines
357 B
C++
18 lines
357 B
C++
struct Justifier : Controller {
|
|
void enter();
|
|
uint2 data();
|
|
void latch(bool data);
|
|
Justifier(bool port, bool chained);
|
|
|
|
//private:
|
|
const bool chained; //true if the second justifier is attached to the first
|
|
bool latched;
|
|
unsigned counter;
|
|
|
|
bool active;
|
|
signed x1, x2;
|
|
signed y1, y2;
|
|
bool trigger1, trigger2;
|
|
bool start1, start2;
|
|
};
|