mirror of
https://github.com/rodamaral/lsnes.git
synced 2025-04-02 10:42:15 -04:00
12 lines
226 B
C++
Executable file
12 lines
226 B
C++
Executable file
struct Mouse : Controller {
|
|
uint2 data();
|
|
void latch(bool data);
|
|
Mouse(bool port);
|
|
void serialize(serializer& s);
|
|
private:
|
|
bool latched;
|
|
unsigned counter;
|
|
unsigned speed;
|
|
int _position_x;
|
|
int _position_y;
|
|
};
|