--- np2/x11/gtk2/gtk_keyboard.c 2004/07/14 16:01:40 1.1 +++ np2/x11/gtk2/gtk_keyboard.c 2011/01/15 18:55:47 1.4 @@ -10,8 +10,6 @@ * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. - * 3. The name of the author may not be used to endorse or promote products - * derived from this software without specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES @@ -39,7 +37,7 @@ #define NC KEYBOARD_KC_NC -static const BYTE xkeyconv_jis[256] = { +static const UINT8 xkeyconv_jis[256] = { /* , , , , , , , ; 0x00 */ NC, NC, NC, NC, NC, NC, NC, NC, /* , , , , , , , ; 0x08 */ @@ -106,7 +104,7 @@ static const BYTE xkeyconv_jis[256] = { NC, NC, NC, NC, NC, NC, NC, NC }; -static const BYTE xkeyconv_ascii[256] = { +static const UINT8 xkeyconv_ascii[256] = { /* , , , , , , , ; 0x00 */ NC, NC, NC, NC, NC, NC, NC, NC, /* , , , , , , , ; 0x08 */ @@ -173,7 +171,7 @@ static const BYTE xkeyconv_ascii[256] = NC, NC, NC, NC, NC, NC, NC, NC, }; -static const BYTE xkeyconv_misc[256] = { +static const UINT8 xkeyconv_misc[256] = { /* , , , , , , , ; 0x00 */ NC, NC, NC, NC, NC, NC, NC, NC, /* BS, TAB, LF, CLR, , RET, , ; 0x08 */ @@ -194,7 +192,7 @@ static const BYTE xkeyconv_misc[256] = { NC, NC, NC, NC, NC, NC, NC, NC, /* , , , , , , , ; 0x48 */ NC, NC, NC, NC, NC, NC, NC, NC, - /* HOME, 「ォ, 「ャ, 「ェ, 「ュ,RLDN,RLUP, END ; 0x50 */ + /* HOME, 竊 ↑, →, ↓,RLDN,RLUP, END ; 0x50 */ 0x3e,0x3b,0x3a,0x3c,0x3d,0x37,0x36,0x3f, /* , , , , , , , ; 0x58 */ NC, NC, NC, NC, NC, NC, NC, NC, @@ -210,9 +208,9 @@ static const BYTE xkeyconv_misc[256] = { 0x34, NC, NC, NC, NC, NC, NC, NC, /* ,,<「ャ> ; 0x90 */ + /* , , , , , ; 0x90 */ NC, NC, NC, NC, NC,0x3e,0x3b,0x3a, - /* <「ェ>,<「ュ>,,