File:  [RetroPC.NET] / np2 / generic / softkbd.res
Revision 1.4: download - view: text, annotated - select for diffs
Fri Mar 26 05:00:18 2004 JST (21 years, 7 months ago) by yui
Branches: MAIN
CVS tags: HEAD
fix soft keyboard (T.Yui)


// デスクトップ用 308x90 (SUPPORT_SOFTKBD == 0)

static const BYTE np2kbd_bmp[3563] = {
		0x4e,0x37,0x00,0x07,0x05,0x42,0x4d,0x4e,0x37,0x00,0x00,0x04,0x76,
		0x01,0x82,0x41,0x28,0x01,0x82,0x34,0x01,0x00,0x00,0x5a,0x03,0x82,
		0x10,0x01,0x00,0x04,0x0b,0x84,0xd8,0x36,0x00,0x00,0x30,0x10,0x0e,
		0x01,0x86,0x15,0x05,0x00,0x10,0x10,0x10,0x00,0x00,0x52,0x52,0x52,
		0x00,0x8c,0x8c,0x8c,0x00,0x00,0xad,0xad,0xad,0x00,0xce,0xce,0xce,
		0x00,0x00,0xe7,0xe7,0xe7,0x00,0xf7,0xf7,0xf7,0x0d,0x00,0xff,0xff,
		0xff,0x12,0x86,0x00,0x19,0x66,0x00,0x7f,0xef,0x00,0x18,0x83,0x82,
		0x08,0x0d,0x77,0x03,0x0c,0x0e,0x07,0x07,0x06,0x00,0x28,0x92,0x1b,
		0x97,0x67,0x77,0x0c,0x87,0x67,0x77,0x29,0x98,0x67,0xc4,0x11,0x86,
		0x9b,0x8f,0x65,0x21,0x11,0x00,0x02,0x12,0x45,0xb3,0x03,0x06,0x22,
		0x03,0x84,0x04,0x82,0x24,0x53,0x04,0x86,0x00,0x23,0x64,0x13,0x1b,
		0x8a,0x2f,0x0d,0x52,0x22,0x0c,0x87,0x11,0x22,0x6a,0x22,0x0d,0x82,
		0x2a,0x85,0x34,0x03,0x0d,0x52,0x0f,0x84,0x24,0x89,0x9b,0x90,0x62,
		0x24,0x55,0x00,0x02,0x52,0x32,0x03,0x06,0x20,0x53,0x35,0x03,0x83,
		0x55,0x55,0x42,0x54,0x33,0x25,0x57,0x77,0x00,0x28,0x73,0x42,0x1b,
		0x89,0x46,0x2f,0x0c,0x23,0x25,0x55,0x0c,0x87,0x54,0x25,0x55,0x0d,
		0x82,0x2a,0x85,0x49,0x34,0x03,0x0d,0x22,0x45,0x10,0x03,0x23,0x46,
		0x9b,0x8f,0x52,0x61,0x1c,0x85,0x21,0x03,0x05,0x22,0x52,0x03,0x85,
		0x55,0x11,0x55,0x25,0x17,0x4d,0x29,0x77,0x77,0x32,0x1b,0x89,0x72,
		0x36,0x4d,0x8e,0x0c,0x88,0x04,0x02,0x36,0x66,0x2a,0x85,0x73,0xad,
		0x03,0x0d,0x15,0x0f,0x85,0x36,0x9b,0x8f,0x4d,0xe4,0x53,0x8c,0x03,
		0x8d,0x4d,0x86,0x74,0x11,0x67,0x4d,0x99,0x9b,0xf2,0x40,0x3e,0x83,
		0x8c,0x4d,0x86,0x40,0x21,0x07,0x9b,0xff,0x4d,0x8c,0x10,0x01,0x8c,
		0x4d,0x89,0x20,0x74,0x04,0x9b,0xff,0x4d,0x8c,0x50,0x25,0x8a,0x4d,
		0x89,0x11,0x76,0x03,0x4a,0x04,0x23,0x4d,0x85,0x22,0xd6,0x9b,0xff,
		0x4d,0x93,0x11,0x4d,0x85,0x33,0x9b,0xff,0x4d,0x8b,0x20,0x58,0x75,
		0xe9,0x85,0x66,0xe9,0x93,0x9b,0xfe,0x40,0x31,0x07,0xe4,0x4a,0x08,
		0x4d,0x90,0x9b,0xf2,0x52,0x35,0x4d,0x89,0x73,0x11,0x6e,0x57,0x4d,
		0x99,0x9b,0x8e,0x45,0x4d,0x85,0x03,0x05,0x4d,0x8a,0x25,0xda,0x4d,
		0xca,0x00,0x04,0x43,0x4d,0x83,0x2a,0x85,0x73,0x03,0x0d,0x14,0xa2,
		0x9b,0x96,0x63,0xb7,0x03,0x55,0x53,0x23,0x03,0x06,0x53,0x85,0x51,
		0x85,0x55,0x53,0x42,0x33,0x4d,0x2a,0x74,0x1b,0x8a,0x94,0x2f,0x0d,
		0x35,0x55,0x0c,0x87,0x55,0x53,0x02,0x76,0x66,0xe9,0x2a,0x85,0x2e,
		0x06,0x03,0x07,0x32,0x0f,0x84,0x32,0x66,0x9b,0x82,0x60,0x67,0x07,
		0x82,0x1d,0x87,0x77,0x77,0x31,0x12,0x22,0x09,0x22,0x22,0x12,0x56,
		0x03,0x06,0x32,0x11,0x03,0x02,0x85,0x04,0x83,0x25,0x63,0x12,0x33,
		0x00,0x27,0x32,0x1b,0x8b,0x30,0x67,0x77,0xcc,0x07,0x33,0x82,0x66,
		0x63,0x22,0x22,0xdb,0x0c,0x86,0x03,0x02,0x25,0x85,0x02,0x2a,0x83,
		0x21,0x2e,0x05,0x03,0x09,0x93,0x11,0x03,0x21,0x25,0x4d,0x82,0x66,
		0x52,0x15,0x04,0x00,0x05,0x8b,0x48,0x83,0x24,0x53,0x21,0x05,0x03,
		0x34,0x03,0x45,0x2e,0x82,0xec,0x04,0x04,0x00,0x02,0x2d,0x02,0x52,
		0x04,0x04,0x03,0x07,0x66,0x66,0xf5,0x19,0x15,0x0e,0x86,0x9b,0x82,
		0xdf,0x03,0x33,0xb4,0x06,0x42,0x01,0x82,0x14,0x54,0x33,0x57,0xad,
		0x03,0x34,0x03,0x45,0x25,0x55,0x20,0x53,0x35,0x2d,0x85,0x54,0x25,
		0x55,0x54,0x22,0xa7,0xe8,0x84,0x23,0x03,0x06,0x46,0x66,0x19,0x14,
		0x0e,0x87,0x9b,0x82,0xf5,0x4d,0x83,0x01,0x83,0x00,0x04,0x04,0x03,
		0x17,0xfb,0x04,0x73,0x03,0x45,0x1b,0x25,0x55,0x52,0x2d,0x87,0x04,
		0x02,0x15,0x04,0x05,0x03,0x06,0x3c,0x36,0x66,0x19,0x14,0x0e,0x87,
		0x9b,0x86,0x4d,0x8e,0x22,0x22,0x44,0x23,0x14,0x83,0x13,0x77,0x41,
		0x03,0x03,0x73,0x11,0x51,0x26,0x1b,0x84,0x23,0x1f,0x04,0x22,0x22,
		0x37,0x03,0x03,0x10,0x14,0x77,0x22,0x03,0x02,0x72,0x27,0x24,0x51,
		0x72,0x57,0x4a,0x10,0x14,0x02,0x4d,0xa9,0x71,0x47,0x15,0x83,0x42,
		0x46,0x22,0x31,0x84,0x73,0x11,0x57,0x4d,0x8b,0x9b,0x93,0x00,0x22,
		0x11,0x13,0x14,0x83,0x20,0x66,0x02,0x03,0x03,0x30,0x24,0x23,0x01,
		0x03,0x03,0x75,0x00,0x38,0x84,0x00,0x11,0x48,0x03,0x03,0x03,0x02,
		0x74,0x0a,0x03,0x71,0x15,0x01,0x2a,0x40,0x47,0x4d,0x90,0x50,0x4d,
		0xab,0x70,0x75,0x04,0x20,0x25,0x11,0x16,0x35,0x04,0x21,0x07,0x9b,
		0x9f,0x30,0xfc,0x02,0x99,0x14,0x82,0x71,0x11,0x14,0x82,0x43,0x02,
		0x77,0x40,0x8d,0x83,0x22,0x72,0x00,0x70,0x84,0x03,0x77,0x11,0x03,
		0x04,0x70,0x92,0x4d,0x84,0x12,0x00,0x4d,0x92,0x72,0x27,0x4d,0x99,
		0x42,0xb6,0x4d,0x86,0x54,0x0c,0x02,0x4d,0x8a,0x60,0x04,0x82,0x03,
		0x02,0x31,0x22,0x74,0x05,0x4d,0x83,0x21,0x11,0x13,0x9b,0x98,0x72,
		0x50,0x07,0x14,0x84,0x75,0x46,0x84,0x76,0x03,0x77,0x63,0x4d,0x67,
		0x06,0x82,0x70,0x21,0xb9,0x82,0x54,0x82,0x44,0x4d,0x84,0x21,0x02,
		0x20,0x03,0x03,0x71,0x10,0x20,0x20,0x4d,0x84,0xe4,0xf7,0x85,0xf3,
		0x82,0x03,0x03,0x76,0x06,0x03,0x04,0x74,0x34,0xc0,0xd0,0x02,0x4d,
		0x8e,0x53,0x01,0x11,0x11,0x35,0x52,0x02,0x15,0x52,0x11,0x11,0x01,
		0x45,0x4d,0x8b,0x75,0x51,0x01,0x20,0x05,0x41,0x9b,0x84,0x32,0x22,
		0x24,0x9b,0x98,0x26,0x77,0x12,0x14,0x85,0x00,0x67,0x4d,0x85,0x06,
		0x84,0x30,0x29,0x63,0x06,0xe9,0x84,0x00,0x03,0x04,0x02,0x03,0x4d,
		0x84,0x15,0x00,0x52,0x00,0x4d,0x84,0x11,0x18,0x05,0x34,0x51,0x0b,
		0x32,0x73,0x33,0x6d,0x02,0x4d,0x8e,0x52,0x00,0x4d,0x87,0x00,0x45,
		0x35,0x4d,0x8b,0x77,0x40,0x27,0x03,0x04,0x30,0x03,0x02,0xc9,0xe9,
		0x89,0x9b,0x93,0x77,0x60,0x18,0x04,0x72,0x01,0x94,0x85,0x2d,0x77,
		0x30,0x9b,0x83,0x11,0x04,0x02,0xe6,0x03,0x76,0x03,0x04,0x25,0x00,
		0x17,0x4d,0x84,0x01,0x74,0x4d,0x85,0x66,0xe9,0x8b,0x35,0x77,0x71,
		0x98,0x02,0xe9,0x96,0x31,0xe9,0x87,0x14,0xe9,0x86,0x59,0x40,0x35,
		0x04,0x51,0xd5,0x02,0x03,0x02,0x52,0x73,0x9b,0x84,0x12,0x10,0x00,
		0x03,0x9b,0x98,0x54,0x42,0xfb,0x02,0x17,0x09,0x77,0x40,0x44,0x03,
		0x98,0x04,0x23,0x01,0x9f,0x05,0x69,0x20,0xe9,0x85,0x4d,0x85,0x57,
		0x4d,0x84,0x02,0x77,0x4d,0x85,0xdf,0x4a,0x06,0x03,0x06,0x74,0x69,
		0x84,0x4d,0x94,0x04,0x04,0x8c,0x87,0x4d,0x82,0x24,0x75,0x10,0x4d,
		0x84,0x40,0x42,0x4d,0x84,0x50,0x21,0xcb,0x4d,0x84,0x9b,0x9b,0x10,
		0x00,0x3f,0x84,0x22,0x00,0x82,0xcd,0x83,0x3c,0x11,0x26,0x03,0x02,
		0x6e,0x03,0x9f,0x03,0xe9,0x86,0x12,0x77,0x41,0x32,0x03,0x02,0x72,
		0x16,0x77,0x31,0x57,0x4d,0x91,0x26,0x77,0x14,0x4d,0xa8,0x77,0x72,
		0xfc,0x02,0xd1,0x02,0x00,0x9c,0xe9,0x84,0x73,0x11,0xb8,0x82,0x4d,
		0x89,0x9b,0x8c,0x54,0x35,0xf0,0x06,0x03,0x2a,0x86,0x03,0x45,0x4d,
		0x89,0x43,0x55,0x55,0x14,0xcf,0x3b,0x05,0x03,0x06,0x36,0x66,0x19,
		0x14,0x0e,0x87,0x9b,0x82,0x47,0x03,0x45,0x34,0x6d,0x09,0x55,0x52,
		0x33,0x11,0x04,0x42,0x03,0x45,0x09,0x35,0x55,0x53,0x45,0xc9,0x88,
		0x52,0x32,0x04,0x04,0x4e,0x32,0x03,0x06,0x66,0x66,0x19,0x14,0x0e,
		0x87,0x9b,0x82,0x63,0x06,0x22,0x22,0x22,0x21,0x12,0x02,0x02,0x03,
		0x06,0x25,0x02,0x63,0x12,0x33,0x33,0x33,0x21,0x03,0x47,0x22,0x33,
		0x22,0x11,0x2d,0x84,0x03,0x03,0x25,0x63,0x05,0x83,0x0a,0x02,0x9c,
		0x03,0x05,0x66,0x66,0x19,0x15,0x0e,0x86,0x9b,0x82,0x52,0x11,0xa5,
		0x00,0x03,0x24,0x03,0x06,0x53,0x21,0x03,0x03,0x34,0x03,0x4c,0x41,
		0x52,0x03,0x04,0x11,0x11,0x12,0x24,0x52,0x3a,0x02,0xc7,0x05,0x85,
		0x3f,0x82,0x24,0x66,0x66,0x17,0x15,0x44,0x85,0x9b,0x83,0x52,0x22,
		0xb9,0x84,0x23,0x03,0x06,0x33,0x57,0xab,0x83,0x34,0x90,0x03,0x4c,
		0x24,0x25,0xea,0x05,0x53,0x34,0x25,0x55,0x20,0x53,0x35,0x05,0x85,
		0x54,0x25,0x55,0x54,0x46,0x6a,0x66,0x17,0x14,0x44,0x86,0x46,0x9b,
		0x82,0x15,0x15,0x84,0x52,0xa8,0x03,0x06,0x17,0xf9,0x84,0x73,0x03,
		0x47,0x72,0x11,0x47,0x10,0x77,0x73,0x22,0x47,0x05,0x55,0x55,0x25,
		0x25,0x33,0x55,0x52,0x05,0x87,0x04,0x02,0x36,0x66,0x1a,0x94,0x44,
		0x86,0x72,0x36,0x9b,0x82,0x4d,0x8e,0x10,0x82,0x51,0x57,0x02,0x02,
		0x73,0x22,0x11,0x26,0x16,0x83,0x22,0x23,0x67,0x03,0x03,0x32,0x8b,
		0x1d,0x85,0x73,0x11,0x21,0x03,0x03,0x14,0x07,0x82,0x06,0x84,0x52,
		0x37,0x06,0x85,0x22,0x11,0x04,0x22,0x23,0x4d,0x91,0x76,0x2d,0x61,
		0x27,0x4d,0x91,0x52,0x9d,0x83,0x4d,0x87,0x72,0x21,0x84,0x23,0x73,
		0x11,0x33,0x04,0x74,0x11,0x57,0x4d,0x8b,0x9b,0x8f,0x08,0x75,0x03,
		0x77,0x20,0x13,0x03,0x20,0x33,0x11,0x8c,0x03,0x03,0x00,0x10,0x06,
		0x06,0x84,0x35,0x05,0x20,0x33,0x48,0x00,0x03,0x03,0x03,0x77,0x0d,
		0x84,0x30,0x22,0x04,0xa2,0x06,0x84,0x73,0x03,0x04,0x20,0x11,0x12,
		0x4a,0x04,0x23,0xad,0x4d,0x85,0x34,0x03,0x05,0x71,0x3d,0x02,0x4d,
		0x8f,0x50,0xf1,0x83,0xa1,0x4d,0x87,0x70,0x5e,0x02,0x17,0x77,0x40,
		0x21,0x4f,0x82,0x05,0x17,0x77,0x60,0x21,0x07,0x4d,0x84,0x34,0x9b,
		0x95,0x0c,0x77,0x10,0x11,0x02,0x98,0x04,0x51,0x05,0x03,0x76,0xeb,
		0x06,0x84,0x4d,0x85,0x5b,0x87,0x02,0x4d,0x85,0x21,0x04,0x02,0x06,
		0x83,0x7b,0x60,0x2f,0x04,0x5f,0x06,0x0d,0x02,0x03,0x04,0x22,0x4d,
		0x86,0x9b,0x92,0x8a,0x4d,0x8b,0x10,0x00,0x03,0xba,0x04,0x73,0x81,
		0x04,0x30,0xd0,0x03,0x03,0x44,0x82,0x12,0x9b,0x95,0x77,0x30,0x21,
		0x05,0xb4,0x2a,0x84,0x41,0x3c,0x04,0xa2,0x87,0x11,0x3f,0x83,0x73,
		0x06,0x45,0x72,0x9b,0x84,0x01,0x22,0x01,0x03,0x03,0x44,0x0e,0x82,
		0xb6,0x06,0x83,0x10,0xa9,0x85,0x4d,0x86,0x66,0xe9,0x8b,0x9b,0xa0,
		0x20,0x24,0x40,0x26,0x13,0x83,0x75,0x73,0x3a,0x04,0x20,0x63,0x89,
		0x4d,0x84,0x32,0x11,0x24,0x9b,0x95,0x70,0x31,0xaf,0x04,0x32,0x51,
		0x02,0xfd,0x02,0x4d,0x90,0x76,0x66,0xf4,0x04,0x11,0xa7,0x4d,0x84,
		0x77,0x9b,0x85,0x00,0x04,0x4d,0x8c,0x03,0x0d,0x9b,0x9f,0x29,0x71,
		0x20,0xe9,0x85,0x11,0x3a,0x04,0x20,0x00,0x03,0x02,0x04,0x15,0x55,
		0x21,0x01,0x13,0x9b,0x95,0x71,0x00,0xce,0x75,0x02,0x13,0x02,0x67,
		0x43,0x4d,0x85,0xdf,0x04,0xe9,0x88,0x21,0xa2,0x0a,0x0a,0x77,0x9b,
		0x85,0x02,0x11,0x67,0x4d,0x8b,0x45,0xa4,0x03,0x05,0x23,0x9b,0x99,
		0x10,0x01,0x4d,0x89,0x74,0x00,0x93,0x4d,0x84,0x60,0x23,0x21,0x84,
		0x40,0x43,0x17,0x02,0xe9,0x89,0x92,0x9b,0x90,0x74,0x00,0x2a,0x84,
		0x30,0x33,0x8a,0x04,0x02,0x45,0x43,0x03,0x04,0x20,0x22,0x23,0x03,
		0x03,0x10,0x0a,0x06,0xcb,0x4d,0x87,0x06,0x85,0x61,0x16,0x4d,0x8b,
		0x12,0x4d,0x8d,0x9b,0x92,0x69,0x40,0x35,0x83,0x4d,0x86,0x77,0x9b,
		0x85,0x70,0x12,0x03,0x05,0x2e,0x21,0x07,0x4d,0x84,0x23,0x4d,0x85,
		0x9b,0x90,0x2e,0x06,0x72,0x91,0xe2,0x84,0x77,0x00,0x6b,0x85,0x31,
		0x11,0x12,0x0a,0x05,0x8a,0xa9,0x84,0x14,0x77,0x32,0x4d,0x85,0x14,
		0x06,0x84,0x76,0x65,0x13,0xe9,0x9a,0x9b,0x92,0x54,0x45,0x4d,0x8a,
		0x61,0x28,0x84,0x47,0x71,0xe9,0x85,0x74,0x11,0x47,0x4d,0x84,0x0f,
		0x83,0x9b,0x83,0x6f,0x14,0x05,0x05,0x03,0x06,0x25,0x2a,0x85,0x03,
		0x47,0x66,0x04,0x4d,0x8f,0xbd,0x00,0x04,0x43,0x4d,0x83,0x1a,0x94,
		0x44,0x86,0x9b,0x83,0x32,0x05,0x04,0x56,0x32,0x03,0x06,0x33,0x0f,
		0x84,0x42,0x03,0x4c,0x4d,0x89,0x15,0x30,0x55,0x53,0x99,0x83,0x05,
		0x84,0x55,0x52,0x76,0x66,0xd0,0x17,0x14,0x44,0x86,0x66,0x9b,0x82,
		0x63,0x11,0x22,0x22,0x10,0x22,0x21,0x25,0x03,0x07,0x12,0x33,0x33,
		0x33,0xb1,0x03,0x4d,0x24,0x36,0x05,0x47,0x83,0x33,0x22,0x22,0x33,
		0x03,0xc7,0x00,0x02,0x03,0x02,0x25,0x66,0x66,0x1a,0x95,0x44,0x85,
		0x4d,0x82,0x04,0x66,0x52,0x22,0x21,0x11,0x00,0x04,0x12,0x22,0x29,
		0x24,0x53,0x05,0x04,0x34,0x03,0x4c,0x52,0x23,0xe3,0x88,0x24,0x25,
		0x22,0x34,0x04,0x24,0x52,0x03,0x05,0x66,0x66,0xe2,0x18,0x15,0x0e,
		0x86,0x9b,0x82,0x25,0x53,0x35,0x1c,0x85,0x42,0x0b,0x55,0x54,0x33,
		0x57,0xaa,0x83,0x34,0x03,0x4c,0xde,0x02,0xd3,0x4d,0x89,0xe8,0x84,
		0x23,0x03,0x06,0x46,0x66,0x18,0x14,0x0e,0x87,0xa5,0x9b,0x82,0x25,
		0x1d,0x09,0x55,0x17,0xf8,0x84,0x73,0x03,0x47,0x05,0x73,0x11,0x37,
		0x77,0x73,0x4d,0x8b,0x15,0x03,0x04,0x4f,0x52,0x03,0x06,0x36,0x66,
		0x1b,0x94,0x0e,0x87,0x9b,0x83,0x4d,0x8c,0x11,0x76,0x33,0x42,0x12,
		0x03,0x23,0x77,0x14,0x03,0x03,0x10,0x32,0x22,0x24,0x03,0x02,0x76,
		0x16,0x77,0x32,0xb1,0x1c,0x84,0x22,0x20,0x05,0x03,0x05,0x62,0x11,
		0x27,0x06,0x84,0x54,0x23,0x43,0x06,0x47,0x03,0x03,0x14,0x31,0x85,
		0x62,0x21,0x82,0x4a,0x02,0x17,0x77,0x72,0x16,0x67,0x4d,0x9f,0x75,
		0x4c,0x16,0x1f,0x0b,0x73,0x12,0x4d,0x8c,0x9b,0x8e,0x30,0x11,0x44,
		0x01,0x12,0x03,0x00,0x74,0x02,0x03,0x03,0x10,0x11,0x44,0x13,0x03,
		0x02,0x74,0x04,0x76,0x06,0x84,0x77,0x11,0xca,0x4d,0x85,0x03,0x05,
		0x10,0x33,0x0a,0x05,0x02,0x06,0x84,0x20,0x49,0x22,0x06,0x83,0x76,
		0x03,0x4d,0x85,0x14,0x67,0x4d,0x85,0x78,0x27,0x06,0x82,0x9b,0x9e,
		0x18,0x82,0x14,0x82,0x30,0x31,0x06,0x9a,0x03,0x03,0x40,0x20,0x77,
		0x82,0x0e,0x82,0x23,0x9b,0x93,0x76,0x11,0x02,0x70,0x00,0x12,0x02,
		0x75,0x00,0x62,0x51,0x04,0xcb,0x42,0x82,0x4d,0x84,0x72,0x07,0x4d,
		0x91,0x02,0x03,0x82,0x4d,0x88,0x08,0x75,0x03,0x77,0x20,0x4d,0x89,
		0x73,0x20,0x10,0x62,0x03,0x4d,0xa7,0x26,0x05,0x20,0x75,0x05,0x03,
		0x03,0x63,0x41,0x73,0x34,0x02,0x15,0x55,0x33,0x12,0x24,0x9b,0x92,
		0x04,0x73,0x06,0x73,0x40,0x57,0x2e,0x02,0x00,0x31,0x49,0x10,0x4d,
		0x84,0x44,0x57,0x4d,0x83,0x01,0x10,0xdf,0x05,0xb2,0x4d,0x8c,0x03,
		0x4d,0x8b,0x29,0x82,0x40,0x47,0x4d,0x82,0x00,0x42,0x00,0x7f,0x83,
		0x71,0x20,0x70,0x30,0x4d,0xa7,0x30,0xd1,0xfb,0x02,0x98,0x02,0x21,
		0xe8,0x02,0x17,0x77,0x71,0x1f,0x03,0x06,0x15,0x55,0x20,0x00,0x13,
		0x9b,0x92,0x90,0x02,0x50,0x84,0x31,0x82,0x71,0x11,0x20,0x30,0x03,
		0x02,0x77,0x10,0x8c,0x35,0x04,0x74,0x02,0x22,0x83,0x04,0x4a,0x06,
		0x73,0x00,0x71,0x47,0x9b,0x90,0x4d,0x82,0x1b,0x83,0x76,0x03,0x64,
		0xb7,0x83,0x05,0x72,0x20,0x51,0x21,0x67,0x4d,0xa6,0x70,0xfe,0x84,
		0x49,0x71,0x7e,0x85,0x30,0x62,0x4d,0x84,0x31,0x00,0x9b,0x93,0x20,
		0x74,0x05,0x64,0x02,0x73,0x17,0x70,0x22,0x00,0x39,0x70,0x37,0xe9,
		0x8a,0x43,0x06,0x4d,0x85,0x60,0x22,0xf0,0x84,0x87,0x9b,0x8c,0x75,
		0x04,0x77,0x20,0x1b,0x82,0xe9,0x82,0x0a,0x03,0x1a,0x73,0x21,0x11,
		0x0d,0x84,0x4d,0xa3,0x71,0x98,0x04,0x30,0xe4,0xe6,0x03,0xed,0x02,
		0xe9,0x85,0x22,0x12,0x9b,0x93,0x77,0x01,0x41,0x66,0x7c,0x03,0x60,
		0x45,0x01,0x71,0x17,0xe9,0x84,0xd1,0x91,0x03,0x9b,0x82,0x02,0x1c,
		0x83,0x22,0x00,0x22,0xf4,0x04,0xc4,0x47,0x02,0x9b,0x8f,0x77,0x10,
		0x33,0x0a,0x03,0x76,0x01,0x89,0x14,0x85,0x14,0x44,0x12,0x4d,0xa6,
		0x52,0x21,0x4a,0x04,0x26,0x50,0x31,0x03,0x04,0x40,0x31,0x54,0x82,
		0x0e,0x82,0x13,0xc2,0x0e,0x83,0x9b,0x8f,0x77,0x51,0x00,0x16,0x12,
		0x02,0x51,0x0c,0x67,0x13,0x73,0x27,0xe9,0x84,0xe6,0x03,0x75,0x11,
		0x50,0x11,0xb8,0x84,0x11,0x86,0x84,0x76,0x14,0x77,0x41,0x94,0x3f,
		0x84,0x77,0x32,0x4d,0x84,0x13,0x4d,0x84,0x72,0x11,0xcc,0xcd,0x84,
		0x14,0x86,0x62,0x22,0x06,0x84,0x4d,0xa2,0x41,0x11,0x8b,0x9b,0x84,
		0x73,0x11,0x57,0x03,0x05,0x67,0x4d,0x84,0x0e,0x84,0x87,0x9b,0x8b,
		0x54,0x35,0x55,0x25,0xe1,0x82,0x27,0x03,0x03,0x46,0x6c,0x73,0x58,
		0x03,0x4d,0x8b,0x14,0x3b,0x05,0x03,0x06,0x36,0x66,0xe2,0x1b,0x94,
		0x0e,0x87,0x9b,0x82,0x35,0x53,0x45,0x1c,0x85,0x52,0x15,0x55,0x52,
		0x33,0x0e,0x84,0x42,0x03,0x4c,0x35,0x7a,0x03,0x99,0x7e,0x05,0x32,
		0x32,0x03,0x84,0x03,0x07,0x66,0x66,0x18,0x14,0xc2,0x0e,0x87,0x9b,
		0x82,0x63,0x22,0x11,0x22,0x00,0x03,0x21,0x00,0x12,0x22,0x25,0x63,
		0x12,0x33,0x33,0x33,0x70,0x21,0x03,0x4e,0x2d,0x02,0x30,0x04,0x22,
		0x11,0x25,0x63,0xe7,0x35,0x03,0x09,0x02,0x03,0x05,0x66,0x66,0x18,
		0x15,0x0e,0x86,0x9b,0x82,0x22,0x52,0x11,0x00,0x04,0x12,0x45,0x32,
		0x03,0x03,0x13,0xad,0x03,0x54,0x21,0x31,0x85,0x24,0x35,0x85,0x03,
		0x07,0x66,0x3d,0x86,0xe8,0x0b,0x0e,0x0e,0x87,0x9b,0x82,0x22,0xe9,
		0x05,0x52,0x33,0x35,0xa5,0xf6,0x84,0x43,0x03,0x52,0x42,0x24,0xea,
		0x05,0x23,0x35,0x85,0x9d,0x03,0x07,0x46,0x66,0x07,0x8d,0x0e,0x8e,
		0x9b,0x82,0x15,0x1b,0x85,0x26,0x55,0x21,0xf6,0x84,0x77,0x31,0x03,
		0x53,0x31,0x06,0x52,0xdf,0x35,0x85,0x03,0x07,0x36,0x3d,0x86,0x0b,
		0x0e,0x0e,0x87,0x9b,0x82,0x4d,0x8b,0x42,0x14,0x27,0x03,0x74,0x22,
		0x22,0x67,0x2a,0x83,0x31,0x52,0x15,0x2e,0x05,0x23,0x03,0x04,0x31,
		0x16,0x03,0x04,0x41,0x98,0x0a,0x05,0x51,0x67,0x0a,0x05,0x18,0x04,
		0x77,0x31,0x27,0xe5,0x0d,0x85,0x11,0x05,0x4d,0x8d,0x71,0x47,0x4d,
		0xb1,0x13,0x4d,0x86,0xa2,0x9b,0x8c,0x03,0x27,0x03,0x72,0x01,0x11,
		0x4d,0x83,0x73,0x29,0x02,0x10,0x31,0x85,0x02,0x58,0x04,0x02,0x11,
		0x03,0x03,0x48,0x76,0x0a,0x06,0x70,0x37,0x03,0x03,0x73,0x03,0x10,
		0x9d,0x14,0x83,0x74,0x02,0x11,0x06,0x18,0x06,0x4d,0x8c,0x70,0x5b,
		0x83,0xb2,0x4d,0xae,0x40,0x9b,0x93,0x4d,0x84,0x76,0x01,0x2a,0x84,
		0x73,0x10,0x17,0x40,0x57,0x03,0x02,0x71,0x00,0x00,0x37,0x94,0x06,
		0x83,0x27,0x30,0x58,0x04,0x07,0x03,0x04,0x77,0x71,0x48,0x17,0x62,
		0x84,0x07,0x50,0x11,0x03,0x76,0x37,0x30,0x91,0x06,0x85,0x40,0x47,
		0x4d,0x90,0x72,0x00,0x00,0x11,0x02,0x92,0x4d,0xae,0x52,0x25,0x9b,
		0x97,0x77,0x50,0x3c,0x04,0x77,0x44,0x74,0x83,0x04,0x72,0x04,0x02,
		0x46,0x84,0x57,0x30,0x92,0x43,0x03,0x72,0x06,0x4d,0x85,0x73,0x06,
		0xa6,0x0a,0x77,0x22,0x10,0x00,0x0a,0x03,0x71,0x17,0x60,0x62,0x83,
		0x74,0x24,0x33,0x33,0x11,0x04,0x12,0x21,0x66,0x04,0x10,0x01,0x89,
		0x4d,0xaa,0x32,0x22,0x24,0x03,0x03,0x54,0x04,0x9b,0x97,0xd5,0x39,
		0x02,0x03,0x04,0x73,0x03,0x05,0x12,0xd8,0x05,0x01,0x43,0x04,0x3a,
		0x72,0x00,0xaa,0x02,0x8a,0x03,0x14,0x85,0x11,0x0d,0x84,0x73,0x22,
		0x06,0x20,0x4d,0x8a,0x73,0x11,0x11,0x9f,0x04,0x60,0x58,0x05,0xc2,
		0x04,0x30,0x03,0x03,0x4d,0xa7,0x21,0x11,0x13,0xa8,0x06,0x84,0x21,
		0x9b,0x91,0x74,0x38,0x84,0x75,0x17,0x20,0xa4,0x03,0x04,0x27,0xd4,
		0x84,0x77,0x40,0x3f,0x84,0x76,0x02,0x4f,0x36,0x51,0x04,0x04,0x33,
		0x4d,0x85,0x54,0x84,0xf0,0x82,0xe6,0x05,0xb8,0x03,0x06,0x50,0xe9,
		0x91,0x6d,0x05,0xe9,0xae,0x55,0x50,0x45,0xa5,0x9b,0x90,0x51,0x4d,
		0x84,0x74,0x04,0x4d,0x85,0x02,0xe9,0x84,0x26,0x77,0x72,0x9f,0x05,
		0x01,0x22,0x03,0x04,0x0a,0x05,0x75,0x52,0x22,0x03,0x05,0x03,0x03,
		0x04,0x74,0x03,0x54,0x84,0x74,0xc6,0x06,0x85,0x4d,0x8d,0x73,0x06,
		0x30,0xa9,0x82,0x4d,0xaf,0x53,0x4a,0x15,0x9b,0x90,0x77,0x24,0x2a,
		0x84,0x20,0x46,0x85,0x31,0x4c,0x15,0x03,0x04,0x76,0x13,0xdf,0x05,
		0x3f,0x84,0x77,0x41,0x73,0x14,0x43,0x04,0x06,0x86,0x11,0x06,0x31,
		0x16,0x06,0x8b,0x4d,0x8c,0x1b,0x72,0x27,0x71,0xf4,0x02,0x4d,0xaf,
		0x55,0xed,0x02,0x9b,0x83,0x4a,0x14,0x1c,0x06,0x22,0x57,0x27,0x04,
		0x32,0x03,0x52,0x31,0x73,0x45,0x4d,0x86,0x35,0x85,0x03,0x07,0x36,
		0x66,0x07,0x8d,0x0e,0x8e,0xa2,0x9b,0x82,0x32,0x1b,0x85,0x53,0x23,
		0x37,0x23,0x03,0x74,0xad,0x03,0x54,0x25,0x31,0x85,0x32,0x35,0x85,
		0x03,0x07,0x66,0x3d,0x86,0xe2,0x0b,0x0e,0x0e,0x87,0x9b,0x82,0x63,
		0x11,0x22,0x00,0x03,0x12,0x02,0x56,0x31,0x23,0x33,0x33,0x32,0x03,
		0x56,0x12,0x99,0x31,0x03,0x21,0x25,0x35,0x84,0x03,0x08,0x66,0x66,
		0x07,0x8d,0xf9,0x0e,0x8e,0x9b,0x82,0x00,0x7f,0x00,0x18,0x9b,0x82,
		0x67,0x76,0x05,0x86,0x7c,0x77,0x0a,0x88,0x09,0x10,0x08,0x19,0x16,
		0x5a,0x9b,0x82,0x52,0x11,0x84,0x00,0x03,0x24,0x66,0x65,0x21,0x03,
		0x83,0x12,0x46,0xc7,0x0a,0x82,0x09,0x05,0x11,0x12,0x45,0x09,0x04,
		0x0e,0x02,0x08,0x18,0xe2,0x16,0x82,0x16,0x58,0x9b,0x82,0x22,0x45,
		0x55,0x00,0x02,0x23,0x13,0x46,0x62,0x24,0x03,0x83,0x52,0x34,0x4d,
		0x82,0x09,0x05,0x1f,0x55,0x52,0x32,0x09,0x04,0x0e,0x02,0x08,0x18,
		0x16,0x82,0x16,0x58,0xa7,0x9b,0x82,0x15,0x05,0x85,0x36,0x61,0x0e,
		0x06,0x4d,0x82,0x09,0x05,0x17,0x55,0x55,0x21,0x03,0x86,0x52,0x08,
		0x18,0x16,0x82,0x16,0x58,0xff,0x9b,0x82,0x4d,0xff,0x4d,0x9a,0x9b,
		0xff,0x9b,0xff,0x9b,0xff,0x9b,0xff,0x9b,0xff,0xf5,0x4d,0xff,0x9b,
		0xff,0x9b,0xff,0x9b,0xc4,0x14,0x4d,0x87,0x45,0x4d,0x88,0xe7,0x09,
		0x05,0x18,0x02,0x09,0x05,0x55,0x52,0x08,0x18,0x16,0x82,0x16,0x58,
		0xa1,0x9b,0x82,0x32,0x05,0x04,0x32,0x66,0x63,0x25,0x03,0x83,0x31,
		0x53,0x26,0x4d,0x82,0x09,0x05,0x55,0x53,0x23,0x09,0x04,0xf8,0x0e,
		0x02,0x08,0x18,0x16,0x82,0x16,0x58,0x9b,0x82,0x63,0x11,0x22,0x00,
		0x22,0x22,0x21,0x25,0x66,0x66,0x31,0x12,0x9f,0x04,0x02,0x12,0x56,
		0x4d,0x82,0x09,0x04,0x05,0x83,0x09,0x04,0x0e,0x02,0xff,0x08,0x19,
		0x16,0x5a,0x9b,0x82,0x00,0x7f,0x00,0x18,0x9b,0x82,0x41,0x7f,0x4d,
		0x9a,
};


typedef struct {
	UINT8	left;
	UINT8	keys;
	UINT8	left1;
	UINT8	left2;
	UINT8	base;
	UINT8	right;
} FULLKEY;

typedef struct {
	FULLKEY	fk[4];
	UINT8	cur0[5];
	UINT8	cur1[5];
	UINT8	ten[20];
} KEYTBL;

static const KEYTBL keytbl = {
		// fullkey 4
		   {{17, 13, 0x00, 0x00, 0x01, 0x0e},
			{24, 12, 0x0f, 0x0f, 0x10, 0x1c},
			{28, 12, 0x74, 0x71, 0x1d, 0x1c},
			{34, 11, 0x70, 0x70, 0x29, 0x70}},

		// 220
		   {0x38, 0x36, 0x3a, 0x3b, 0x3d},
		   {0x39, 0x37, 0x3a, 0x3c, 0x3d},

		// 252
		   {0x3e, 0x3f, 0x40, 0x41,
			0x42, 0x43, 0x44, 0x45,
			0x46, 0x47, 0x48, 0x49,
			0x4a, 0x4b, 0x4c, 0x4d,
			0x4e, 0x4f, 0x50, 0x1c}};


static UINT getsoftkbd(int x, int y) {

	UINT		posy;
const FULLKEY	*fk;

	if ((y >= 2) && (y < 16)) {
		x -= 2;
		if (x < 0) {
			return(SOFTKEY_NC);
		}
		if (x < (21 - 4)) {
			return((x < 14)?0x60:SOFTKEY_NC);
		}
		x -= (21 - 4);
		if (x < (42 - 21)) {
			return((x < 14)?0x61:SOFTKEY_NC);
		}
		x -= (42 - 21);
		if (x < (132 - 42)) {
			x /= 17;
			return((x < 5)?(0x62 + x):SOFTKEY_NC);
		}
		x -= (132 - 42);
		if (x < (222 - 132)) {
			x /= 17;
			return((x < 5)?(0x67 + x):SOFTKEY_NC);
		}
		x -= (222 - 132);
		x /= 17;
		return((x < 5)?(0x52 + x):SOFTKEY_NC);
	}
	x -= 2;
	posy = (y - 18) / 14;
	if ((posy >= 5) || (x < 0)) {
		return(SOFTKEY_NC);
	}
	if (x < (220 - 4)) {			// fullkey
		if (posy < 4) {
			fk = keytbl.fk + posy;
			x -= fk->left;
			if (x < -14) {
				return(fk->left1);
			}
			else if (x < 0) {
				return(fk->left2);
			}
			x /= 14;
			if (x < (int)fk->keys) {
				return(fk->base + x);
			}
			return(fk->right);
		}
		else {
			x -= (31 - 4);
			if (x < 0) {
				return(SOFTKEY_NC);
			}
			x -= 14;
			if (x < 0) {
				return(0x72);
			}
			x -= 14;
			if (x < 0) {
				return(0x73);
			}
			x -= 21;
			if (x < 0) {
				return(0x51);
			}
			x -= 91;
			if (x < 0) {
				return(0x34);
			}
			if (x < 21) {
				return(0x35);
			}
		}
		return(SOFTKEY_NC);
	}
	x -= (220 - 4);
	if (x < (252 - 220)) {			// cur
		if (x < 14) {
			return(keytbl.cur0[posy]);
		}
		else if (x < 28) {
			return(keytbl.cur1[posy]);
		}
		return(SOFTKEY_NC);
	}
	x -= (252 - 220);
	if (x < 14*5) {					// ten key
		x = x / 14;
		return(keytbl.ten[x + posy * 4]);
	}
	return(SOFTKEY_NC);
}


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