Blame view

depot/rf/sw/n64os20l/apps/nnsample1/controller.h 870 Bytes
root committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
/*============================================================================

		NINTENDO64 TECHNICAL SUPPORT CENTER 
		
		    NINTENDO64 SAMPLE PROGRAM 1

		Copyright (C) 1997, NINTENDO Co,Ltd.

============================================================================*/
#ifndef CONTROLLER_H
#define CONTROLLER_H
#define CONTROLLER_THREAD_PRI  115
extern OSContStatus statusdata[];
extern OSContPad    controllerdata[];   /* normal Pad data */
extern OSContPad    controllerdataTriger[];  /* toriger Pad data */
extern OSContPad    *controllerdata_ptr[];    /* valid normal Pad data */
extern int          numControllers;


extern int controllerInit(int );        /* initialize controller */
extern void controllerReadStart(void);  /* controller read start */
extern void controllerThreadMake(NNSched*);  /* make controller thread     */

#endif /* CONTROLLER_H */