test: kbdjpn.h Source File

Main Page | Class Hierarchy | Class List | File List | Class Members | File Members

# kbdjpn.h

Go to the documentation of this file.

    00001 /****************************** Module Header ******************************\
    00002 * Module Name: kbdjpn.h
    00003 *
    00004 * Copyright (c) 1985-91, Microsoft Corporation
    00005 *
    00006 * Various defines for use by keyboard input code.
    00007 *
    00008 * History:
    00009 \***************************************************************************/
    00010 /*
    00011  * Katakana Unicode
    00012  */
    00013 enum _KATAKANA_UNICODE {
    00014     WCH_IP=0xff61, // Ideographic Period
    00015     WCH_OB,        // Opening Corner Bracket
    00016     WCH_CB,        // Closing Corner Bracket
    00017     WCH_IC,        // Ideographic Comma
    00018     WCH_MD,        // Katakana Middle Dot
    00019     WCH_WO,        // Katakana Letter WO
    00020     WCH_AA,        // Katakana Letter Small A
    00021     WCH_II,        // Katakana Letter Small I
    00022     WCH_UU,        // Katakana Letter Small U
    00023     WCH_EE,        // Katakana Letter Small E
    00024     WCH_OO,        // Katakana Letter Small O
    00025     WCH_YAA,       // Katakana Letter Small YA
    00026     WCH_YUU,       // Katakana Letter Small YU
    00027     WCH_YOO,       // Katakana Letter Small YO
    00028     WCH_TUU,       // Katakana Letter Small TU
    00029     WCH_PS,        // Katakana Prolonged Sound Mark
    00030     WCH_A,         // Katakana Letter A
    00031     WCH_I,         // Katakana Letter I
    00032     WCH_U,         // Katakana Letter U
    00033     WCH_E,         // Katakana Letter E
    00034     WCH_O,         // Katakana Letter O
    00035     WCH_KA,        // Katakana Letter KA
    00036     WCH_KI,        // Katakana Letter KI
    00037     WCH_KU,        // Katakana Letter KU
    00038     WCH_KE,        // Katakana Letter KE
    00039     WCH_KO,        // Katakana Letter KO
    00040     WCH_SA,        // Katakana Letter SA
    00041     WCH_SI,        // Katakana Letter SI
    00042     WCH_SU,        // Katakana Letter SU
    00043     WCH_SE,        // Katakana Letter SE
    00044     WCH_SO,        // Katakana Letter SO
    00045     WCH_TA,        // Katakana Letter TA
    00046     WCH_TI,        // Katakana Letter TI
    00047     WCH_TU,        // Katakana Letter TU
    00048     WCH_TE,        // Katakana Letter TE
    00049     WCH_TO,        // Katakana Letter TO
    00050     WCH_NA,        // Katakana Letter NA
    00051     WCH_NI,        // Kanakana Letter NI
    00052     WCH_NU,        // Katakana Letter NU
    00053     WCH_NE,        // Katakana Letter NE
    00054     WCH_NO,        // Katakana Letter NO
    00055     WCH_HA,        // Katakana Letter HA
    00056     WCH_HI,        // Katakana Letter HI
    00057     WCH_HU,        // Katakana Letter HU
    00058     WCH_HE,        // Katakana Letter HE
    00059     WCH_HO,        // Katakana Letter HO
    00060     WCH_MA,        // Katakana Letter MA
    00061     WCH_MI,        // Katakana Letter MI
    00062     WCH_MU,        // Katakana Letter MU
    00063     WCH_ME,        // Katakana Letter ME
    00064     WCH_MO,        // Katakana Letter MO
    00065     WCH_YA,        // Katakana Letter YA
    00066     WCH_YU,        // Katakana Letter YU
    00067     WCH_YO,        // Katakana Letter YO
    00068     WCH_RA,        // Katakana Letter RA
    00069     WCH_RI,        // Katakana Letter RI
    00070     WCH_RU,        // Katakana Letter RU
    00071     WCH_RE,        // Katakana Letter RE
    00072     WCH_RO,        // Katakana Letter RO
    00073     WCH_WA,        // Katakana Letter WA
    00074     WCH_NN,        // Katakana Letter N
    00075     WCH_VS,        // Katakana Voiced Sound Mark
    00076     WCH_SVS        // Katakana Semi-Voiced Sound Mark
    00077 };
    00078
    00079 /***************************************************************************\
    00080 * OEM Key Name -
    00081 \***************************************************************************/
    00082
    00083                                     // lo  hi  lo  hi
    00084 #define SZ_KEY_NAME_HENKAN          "\x09\x59\xdb\x63\000\000"
    00085 #define SZ_KEY_NAME_MUHENKAN        "\x21\x71\x09\x59\xdb\x63\000\000"
    00086 #define SZ_KEY_NAME_KANJI           "\x22\x6f\x57\x5b\000\000"
    00087 #define SZ_KEY_NAME_EISU_KANA       "\xf1\x82\x70\x65\x20\000\xab\x30\xca\x30\000\000"
    00088 #define SZ_KEY_NAME_HANKAKU_ZENKAKU "\x4a\x53\xd2\x89\x2f\000\x68\x51\xd2\x89\000\000"
    00089 #define SZ_KEY_NAME_KATAKANA        "\xab\x30\xbf\x30\xab\x30\xca\x30\000\000"
    00090 #define SZ_KEY_NAME_HIRAGANA        "\x72\x30\x89\x30\x4c\x30\x6a\x30\000\000"
    00091 // FMR Jul.13.1994 KA
    00092 // For the GetKeyNameText() API function.
    00093 #define SZ_KEY_NAME_BACKSPACE       "\x8C\x5F\x00\x90\000\000"
    00094 #define SZ_KEY_NAME_ENTER           "\x39\x65\x4C\x88\000\000"
    00095 #define SZ_KEY_NAME_NUMPADENTER     "\x4E\x00\x75\x00\x6d\x00\x20\x00\x39\x65\x4C\x88\000\000"
    00096 #define SZ_KEY_NAME_SPACE           "\x7A\x7A\x7D\x76\000\000"
    00097 #define SZ_KEY_NAME_INSERT          "\x3F\x63\x65\x51\000\000"
    00098 #define SZ_KEY_NAME_DELETE          "\x4A\x52\x64\x96\000\000"
    00099 #define SZ_KEY_NAME_KANAKANJI       "\x4b\x30\x6a\x30\x22\x6f\x57\x5b\000\000"
    00100 #define SZ_KEY_NAME_SHIFTLEFT       "\xB7\x30\xD5\x30\xC8\x30\xE6\x5D\000\000"
    00101 #define SZ_KEY_NAME_SHIFTRIGHT      "\xB7\x30\xD5\x30\xC8\x30\xF3\x53\000\000"
    00102 #define SZ_KEY_NAME_EIJI            "\xF1\x82\x57\x5B\000\000"
    00103 #define SZ_KEY_NAME_JISHO           "\x58\x53\x9E\x8A\x9E\x8F\xF8\x66\000\000"
    00104 #define SZ_KEY_NAME_MASSHOU         "\x58\x53\x9E\x8A\xB9\x62\x88\x6D\000\000"
    00105 #define SZ_KEY_NAME_TOUROKU         "\x58\x53\x9E\x8A\x7B\x76\x32\x93\000\000"
    00106 #define SZ_KEY_NAME_PRIOR           "\x4D\x52\x4C\x88\000\000"
    00107 #define SZ_KEY_NAME_NEXT            "\x21\x6B\x4C\x88\000\000"
    00108 #define SZ_KEY_NAME_CANCEL          "\xD6\x53\x88\x6D\000\000"
    00109 #define SZ_KEY_NAME_EXECUTE         "\x9F\x5B\x4C\x88\000\000"
    00110 #define SZ_KEY_NAME_TAB             "\xBF\x30\xD6\x30\000\000"
    00111
    00112
    00113 //----------------------[ NEC Code Original Start ]-----------------
    00114                     // ff76(ka) ff85(na) for Unicode
    00115 #define SZ_KEY_NAME_KANA        "\x76\xff\x85\xff"
    00116 #define SZ_KEY_NAME_F1          "\x66\x00\x65\xff\x31\x00"
    00117 #define SZ_KEY_NAME_F2          "\x66\x00\x65\xff\x32\x00"
    00118 #define SZ_KEY_NAME_F3          "\x66\x00\x65\xff\x33\x00"
    00119 #define SZ_KEY_NAME_F4          "\x66\x00\x65\xff\x34\x00"
    00120 #define SZ_KEY_NAME_F5          "\x66\x00\x65\xff\x35\x00"
    00121 #define SZ_KEY_NAME_F6          "\x66\x00\x65\xff\x36\x00"
    00122 #define SZ_KEY_NAME_F7          "\x66\x00\x65\xff\x37\x00"
    00123 #define SZ_KEY_NAME_F8          "\x66\x00\x65\xff\x38\x00"
    00124 #define SZ_KEY_NAME_F9          "\x66\x00\x65\xff\x39\x00"
    00125 #define SZ_KEY_NAME_F10         "\x66\x00\x65\xff\x31\x00\x30\x00"
    00126 #define SZ_KEY_NAME_F11         "\x66\x00\x65\xff\x31\x00\x31\x00"
    00127 #define SZ_KEY_NAME_F12         "\x66\x00\x65\xff\x31\x00\x32\x00"
    00128 #define SZ_KEY_NAME_F13         "\x66\x00\x65\xff\x31\x00\x33\x00"
    00129 #define SZ_KEY_NAME_F14         "\x66\x00\x65\xff\x31\x00\x34\x00"
    00130 #define SZ_KEY_NAME_F15         "\x66\x00\x65\xff\x31\x00\x35\x00"
    00131
    00132 //----------------------[ NEC Code Original Start ]-----------------
    00133 //This is NEC Document Processer define
    00134 //
    00135 #define SZ_KEY_NAME_DP_ZENKAKU_HANKAKU "\x68\x51\xd2\x89\x2f\000\x4a\x53\xd2\x89\000\000"
    00136 #define SZ_KEY_NAME_DP_KANA            "\x4b\x30\x6a\x30\000\000"
    00137 #define SZ_KEY_NAME_DP_KATAKANA        "\xab\x30\xbf\x30\xab\x30\xca\x30\000\000"
    00138 #define SZ_KEY_NAME_DP_EISU            "\xf1\x82\x70\x65\000\000"