$B$3$N>O$NL\
$BA0JG(B:1.12 errcode.h $B$K$b$I$k(B
$Blonglong.h $B$K$9$9$`(B

1.13 keycode.h

$BJ8;z%3!<%IJQ49I=$NDj5AEy$G;HMQ$9$k!"FC

$B""%a%?%-!<%3!<%I(B

#define KC_EIJI     0x1000      /* $B1Q8l(B  $BF|K\8l@Z49(B */
#define KC_CAPN     0x1001      /* $B$R$i(B  $B%+%?@Z49(B   */
#define KC_SHT_R    0x1002      /* $B1&%7%U%H(B         */
#define KC_SHT_L    0x1003      /* $B:8%7%U%H(B         */
#define KC_EXP      0x1004      /* $B3HD%(B             */
#define KC_CMD      0x1005      /* $BL?Na(B             */
#define KC_JPN0     0x1006      /* $BF|K\8l$R$i$,$J(B   */
#define KC_JPN1     0x1007      /* $BF|K\8l%+%?%+%J(B   */
#define KC_ENG0     0x1008      /* $B1Q8l(B             */
#define KC_ENG1     0x1009      /* $B1Q8l(BCAPS         */
#define KC_KBSEL    0x100a      /* $B$+$J(B    $B%m!<%^;z(B */
#define KC_HAN      0x1150      /* $BA43Q,S(B  $BH>3Q@ZBX(B */

$B""(BPD$B%7%e%_%l!<%7%g%sMQ%-!<%3!<%I(B

#define KC_HOME     0x1245      /* Home         */
#define KC_PGUP     0x1246      /* PageUp       */
#define KC_PGDN     0x1247      /* PageDown     */
#define KC_END      0x125e      /* End          */

$B""(BCC$B%-!<(B

#define KC_CC_U     0x0100      /* $B%a%$%s(BCC$B%-!<(B  $B,T(B */
#define KC_CC_D     0x0101      /* $B%a%$%s(BCC$B%-!<(B  $B,U(B */
#define KC_CC_R     0x0102      /* $B%a%$%s(BCC$B%-!<(B     */
#define KC_CC_L     0x0103      /* $B%a%$%s(BCC$B%-!<(B  $B,S(B */

#define KC_SC_U     0x0104      /* $B%5%V(BCC$B%-!<(B    $B,T(B */
#define KC_SC_D     0x0105      /* $B%5%V(BCC$B%-!<(B    $B,U(B */
#define KC_SC_R     0x0106      /* $B%5%V(BCC$B%-!<(B       */
#define KC_SC_L     0x0107      /* $B%5%V(BCC$B%-!<(B    $B,S(B */

#define KC_SS_U     0x0108      /* $B%9%/%m!<%k%-!<(B  $B",(B   */
#define KC_SS_D     0x0109      /* $B%9%/%m!<%k%-!<(B  $B"-(B   */
#define KC_SS_R     0x010a      /* $B%9%/%m!<%k%-!<(B  $B"*(B   */
#define KC_SS_L     0x010b      /* $B%9%/%m!<%k%-!<(B  $B"+(B   */

#define KC_PG_U     0x010c      /* $B%Z!<%8%-!<(B      $B",(B   */
#define KC_PG_D     0x010d      /* $B%Z!<%8%-!<(B      $B"-(B   */
#define KC_PG_R     0x010e      /* $B%Z!<%8%-!<(B      $B"*(B   */
#define KC_PG_L     0x010f      /* $B%Z!<%8%-!<(B      $B"+(B   */

$B""$=$NB>(B

/* $B%V%l!<%/%-!<%3!<%I(B */
#define BREAK_CODE  0x1140      /* [$BL?Na(B]$B!\(B[$B:o=|(B]   */

/* $BA^F~%-!<%3!<%I(B */
#define INS_CODE    0x114c      /* $BA^F~(B         */

/* $B$=$NB>FCC(B               */
#define KC_TAB      0x0009      /* $B%?%V(B                 */
#define KC_NL       0x000a      /* $B2~CJMn(B               */
#define KC_CR       0x000d      /* $B2~9T(B                 */
#define KC_CAN      0x0018      /* $BC(B $B!_(B              */
#define KC_ASSIST   0x001b      /* $BJd=u(B                 */
#define KC_CNV      0x001e      /* $BJQ49(B                 */
#define KC_RCNV     0x001f      /* $B5UJQ49(B($BL5JQ49(B)       */
#define KC_DEL      0x007f      /* $B:o=|(B                 */
#define KC_CNV0     0x1151      /* $BL5JQ49(B ($B$R$i$,$JJQ49(B) */
#define KC_CNV1     0x1152      /* SHIFT+$BL5JQ49(B($B%+%?%+%JJQ49(B) */
#define KC_SPACE    0x2121      /* $B6uGr(B                 */

#define KC_PF1      0x1161      /* PF1                  */
#define KC_PF2      0x1162      /* PF2                  */
#define KC_PF3      0x1163      /* PF3                  */
#define KC_PF4      0x1164      /* PF4                  */
#define KC_PF5      0x1165      /* PF5                  */
#define KC_PF6      0x1166      /* PF6                  */
#define KC_PF7      0x1167      /* PF7                  */
#define KC_PF8      0x1168      /* PF8                  */
#define KC_PF9      0x1169      /* PF9                  */
#define KC_PF10     0x116a      /* PF10                 */
#define KC_PF11     0x116b      /* PF11                 */
#define KC_PF12     0x116c      /* PF12                 */

$B$3$N>O$NL\
$BA0JG(B:1.12 errcode.h $B$K$b$I$k(B
$Blonglong.h $B$K$9$9$`(B