File:  [RetroPC.NET] / np2 / generic / softkbd.h
Revision 1.6: download - view: text, annotated - select for diffs
Wed Apr 7 22:15:40 2004 JST (21 years, 6 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, HEAD
fix softkbd (T.Yui)


#if defined(SUPPORT_SOFTKBD)

#include	"cmndraw.h"

enum {
	LEDFLAG_NUM		= 0x01,
	LEDFLAG_CAPS	= 0x04,
	LEDFLAG_KANA	= 0x08
};

enum {
	SOFTKEY_FLAGDRAW		= 0x01,
	SOFTKEY_FLAGREDRAW		= 0x02
};


#ifdef __cplusplus
extern "C" {
#endif

void softkbd_initialize(void);
void softkbd_deinitialize(void);
BOOL softkbd_getsize(int *width, int *height);
REG8 softkbd_process(void);
BOOL softkbd_paint(CMNVRAM *vram, CMNPALCNV cnv, BOOL redraw);
BOOL softkbd_down(int x, int y);
void softkbd_up(void);
void softkbd_led(REG8 led);

#ifdef __cplusplus
}
#endif

#endif


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