/********************************************************************
 *  Shinobi Library Sample
 *  Copyright (c) 1998-2000 SEGA
 *
 *  Library : Controller Library
 *  Module  : Controller distinction
 *  File    : perchk.c
 *  Date    : 2000-08-25
 *  Version : 2.01
 *  Note    :
 ********************************************************************/

#ifndef _PERCHK_H_
#define _PERCHK_H_

#include <shinobi.h>

#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */


/* 関数 CheckController()は、以下のenum値を返す。 */

enum {
	PER_NONE,
	PER_CONTROLLER,
	PER_STICK,
	PER_RACING,
	PER_GUN,
	PER_KEYBOARD,
	PER_FISHING,
	PER_TWINSTICK,
	PER_MARACAS,
	PER_MOUSE,
	PER_UNKNOWN
};


extern Sint32 CheckController(Uint32 port);

#ifdef __cplusplus
}
#endif /* __cplusplus */

#endif /* _PERCHK_H_ */
