borgware-2d/simulator/joystick.h

16 lines
315 B
C
Raw Normal View History

#ifndef JOYSTICK_H_
#define JOYSTICK_H_
2009-01-01 17:06:38 +00:00
extern unsigned char fakeport;
#define JOYISFIRE (0x01 & fakeport)
#define JOYISLEFT (0x02 & fakeport)
#define JOYISRIGHT (0x04 & fakeport)
#define JOYISDOWN (0x08 & fakeport)
#define JOYISUP (0x10 & fakeport)
unsigned char waitForFire;
#endif /*JOYSTICK_H_*/