File: 
 
[RetroPC.NET] / 
np2 / 
sdl / 
inputmng.h
 Revision 
1.1: 
download - view: 
text, 
annotated - 
select for diffs
Fri Nov 21 15:51:12 2003 JST (21 years, 11 months ago) by 
yui
Branches: 
MAIN
CVS tags: 
VER_0_82_x64,
VER_0_82,
VER_0_81A,
VER_0_81,
VER_0_80,
VER_0_79,
VER_0_78,
VER_0_77,
VER_0_76,
VER_0_75,
VER_0_74,
VER_0_73,
VER_0_72,
HEAD
debuneko- (T.Yui)
enum {
	LBUTTON_BIT			= (1 << 0),
	RBUTTON_BIT			= (1 << 1),
	LBUTTON_DOWNBIT		= (1 << 2),
	RBUTTON_DOWNBIT		= (1 << 3),
	LBUTTON_UPBIT		= (1 << 4),
	RBUTTON_UPBIT		= (1 << 5),
	MOUSE_MOVEBIT		= (1 << 6),
	KEY_ENTER			= 0x01,
	KEY_MENU			= 0x02,
	KEY_SKIP			= 0x04,
	KEY_EXT				= 0x08,
	KEY_UP				= 0x10,
	KEY_DOWN			= 0x20,
	KEY_LEFT			= 0x40,
	KEY_RIGHT			= 0x80
};
#ifdef __cplusplus
extern "C" {
#endif
void inputmng_init(void);
void inputmng_keybind(short key, UINT bit);
UINT inputmng_getkey(short key);
#ifdef __cplusplus
}
#endif
RetroPC.NET-CVS <cvs@retropc.net>