File:  [RetroPC.NET] / xmil / win9x / mousemng.h
Revision 1.1: download - view: text, annotated - select for diffs
Sun Aug 1 14:31:31 2004 JST (21 years, 3 months ago) by yui
Branches: MAIN
CVS tags: HEAD
initialize


enum {
	uPD8255A_LEFTBIT	= 0x01,
	uPD8255A_RIGHTBIT	= 0x02
};


#ifdef __cplusplus
extern "C" {
#endif

REG8 mousemng_getstat(SINT16 *x, SINT16 *y, BRESULT clear);

#ifdef __cplusplus
}
#endif


// ---- for windows

enum {
	MOUSEMNG_LEFTDOWN		= 0,
	MOUSEMNG_LEFTUP,
	MOUSEMNG_RIGHTDOWN,
	MOUSEMNG_RIGHTUP
};

enum {
	MOUSEPROC_SYSTEM		= 0,
	MOUSEPROC_WINUI,
	MOUSEPROC_BG
};


void mousemng_initialize(void);
void mousemng_sync(void);
BOOL mousemng_buttonevent(UINT event);
void mousemng_enable(UINT proc);
void mousemng_disable(UINT proc);
void mousemng_toggle(UINT proc);


RetroPC.NET-CVS <cvs@retropc.net>