// File : fwPad.h // Author : John Wojcik ( QuietBloke ) // Created : September 2000 // Desc : Expose external functions of the 2D game framework pad manager. // In addition to the standard function to return what buttons are // down these routines can return which keys have just been // pressed or released. // History : // Date Author Description // -------- --------------- ---------------------------------------- #ifndef __FWPAD__ #define __FWPAD__ #include // Initialise the pad functions. Must call this before we can use this library void fwPadInit (); // Read the state of each pad void fwPadRead ( void ); // Returns the standard int showing all buttons which are currently down unsigned int fwPadGetDown ( int pad ); // Returns which buttons have been just been pressed. unsigned int fwPadGetPressed ( int pad ); // Returns which buttons have been just been released. unsigned int fwPadGetReleased ( int pad ); #endif