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


// デスクトップ用 312x92

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


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 -= 4;
		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 -= 4;
	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>