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