controller.h 669 Bytes
/*
--------------------------------------------------------------------------------

	controller.h

	Martin Hollis 19/06/95		(c) Rare Ltd 1995

	Functions for initing and reading controllers

--------------------------------------------------------------------------------
*/

extern int initcontrollers(void);	/* Call once */
extern void readcontrollers(void);	/* Call as often as you like after init */
extern void printcontrollers(u32 masks);	/* rmonPrintf current state */

extern int numof;			/* Read only please */
extern OSContPad pad[MAXCONTROLLERS];	/* Controller data */
extern OSContPad lpad[MAXCONTROLLERS];	/* Last data */
					/* Read or write at will */