Export (0) Print
Expand All

Japanese Keyboard (Windows CE 5.0)

Windows CE 5.0
Send Feedback

The Japanese keyboard layout is more complex than other keyboard layouts because of the language complexities. Japanese keyboards, which are available for many hardware platforms, are based on IBM and NEC designs. The BSP_KEYBD_JPN2 setting uses the IBM keyboard, which is the default. The BSP_KEYBD_JPN1 setting uses the NEC keyboard. You can create either keyboard by linking to the Jpn1 or Jpn2 libraries in the %_WINCEROOT%\Public\Common\Oak\Drivers\Keybd\Scanvk directory.

The following table shows the scan code to virtual key mapping for the Japanese keyboard layout. The at (@) sign, which is included as part of the character, indicates that the character is a dead key. A dead key, when pressed in combination with second Unicode character, results in a third Unicode character. The dead-key tables show the Unicode characters that result from specific dead-key combinations. Virtual keys for the omitted scan codes equal zero (0).

Scan codeVK_ key
00_none_
01ESCAPE
021
03 2
04 3
05 4
06 5
07 6
08 7
09 8
0A9
0B0
0C OEM_MINUS
0D OEM_7
0E BACK
0F TAB
10 Q
11 W
12 E
13 R
14 T
15 Y
16 U
17 I
18 O
19 P
1A OEM_3
1B OEM_4
1C RETURN
1D LCONTROL
1E A
1F S
20 D
21 F
22 G
23 H
24 J
25 K
26 L
27OEM_PLUS
28 OEM_1
29 DBE_SBCSCHAR
2A LSHIFT
2B OEM_6
2C Z
2D X
2E C
2F V
30 B
31 N
32 M
33 OEM_COMMA
34 OEM_PERIOD
35 OEM_2
36 RSHIFT
37 MULTIPLY
38 LMENU
39 " "
3A DBE_ALPHANUMERIC
3B F1
3CF2
3D F3
3E F4
3F F5
40 F6
41 F7
42 F8
43 F9
44 F10
45 NUMLOCK
46 OEM_SCROLL
47 HOME
48 UP
49 PRIOR
4ASUBTRACT
4BLEFT
4CCLEAR
4DRIGHT
4EADD
4FEND
50DOWN
51NEXT
52INSERT
53DELETE
54SNAPSHOT
55_none_
56_none_
57F11
58F12
59CLEAR
5ANONAME
5BNONAME
5CNONAME
5DEREOF
5E_none_
5FNONAME
60_none_
61_none_
62_none_
63_none_
64F13
65F14
66F15
67F16
68F17
69F18
6AF19
6BF20
6CF21
6DF22
6EF23
6F_none_
70DBE_HIRAGANA
71_none_
72_none_
73OEM_102
74_none_
75_none_
76F24
77_none_
78_none_
79CONVERT
7A_none_
7BNONCONVERT
7CTAB
7DOEM_5
7EABNT_C2
7FOEM_PA2
E01CRETURN
E01DRCONTROL
E033_none_
E035DIVIDE
E037SNAPSHOT
E038RMENU
E042_none_
E043_none_
E044_none_
E046CANCEL
E047HOME
E048UP
E049PRIOR
E04BLEFT
E04DRIGHT
E04FEND
E050DOWN
E051NEXT
E052INSERT
E053DELETE
E05BLWIN
E05CRWIN
E05DAPPS
E05EPOWER
E05FSLEEP
E0F1_none_
E0F2_none_
E11DPAUSE (See Below)

The BREAK key is sent as the sequence E1, left CTRL, NUMLOCK. The keyboard driver must convert the E1+left CTRL sequence to the BREAK key and ignore the NUMLOCK.

The next part of the Japanese keyboard layout is the virtual key to character mapping. This mapping is dependent upon the state of other modifier keys. Some characters are shown as symbols, which are described following these tables. The processing of virtual keys should be performed in the order in which the following tables are ordered.

The following table shows the characters that should be generated for each virtual key, alone and in combination with modifier keys.

Virtual keyCAPLOCK/ KANALOCKCharacterSHIFTKANAKANA+SHIFT
0KANALOK0WCH_NONEWCH_WAWCH_WO
1KANALOK1!WCH_NUWCH_NU
3KANALOK3#WCH_AWCH_AA
4KANALOK4$WCH_UWCH_UU
5KANALOK5%WCH_EWCH_EE
7KANALOK70x27WCH_YAWCH_YAA
8KANALOK8(WCH_YUWCH_YUU
9KANALOK9)WCH_YOWCH_YOO
ACAPLOK | KANALOKaAWCH_TIWCH_TI
BCAPLOK | KANALOKbBWCH_KOWCH_KO
CCAPLOK | KANALOKcCWCH_SOWCH_SO
DCAPLOK | KANALOKd D WCH_SIWCH_SI
ECAPLOK | KANALOKeEWCH_IWCH_II
FCAPLOK | KANALOKf'FWCH_HAWCH_HA
GCAPLOK | KANALOKgGWCH_KIWCH_KI
HCAPLOK | KANALOKhHWCH_KUWCH_KU
ICAPLOK | KANALOKiIWCH_NIWCH_NI
JCAPLOK | KANALOKjJWCH_MAWCH_MA
K CAPLOK | KANALOKkKWCH_NOWCH_NO
LCAPLOK | KANALOKlLWCH_RIWCH_RI
MCAPLOK | KANALOKmMWCH_MOWCH_MO
NCAPLOK | KANALOKnNWCH_MIWCH_MI
OCAPLOK | KANALOKoOWCH_RAWCH_RA
PCAPLOK | KANALOKpPWCH_SEWCH_SE
QCAPLOK | KANALOKqQWCH_TAWCH_TA
RCAPLOK | KANALOKrRWCH_SUWCH_SU
SCAPLOK | KANALOKsSWCH_TOWCH_TO
TCAPLOK | KANALOKtTWCH_KAWCH_KA
UCAPLOK | KANALOKuUWCH_NAWCH_NA
VCAPLOK | KANALOKvVWCH_HIWCH_HI
WCAPLOK | KANALOKwWWCH_TEWCH_TE
XCAPLOK | KANALOKxXWCH_SAWCH_SA
YCAPLOK | KANALOKyYWCH_NNWCH_NN
ZCAPLOK | KANALOKzZWCH_TUWCH_TUU
OEM_1KANALOK":"*WCH_KEWCH_KE
OEM_2KANALOK/?WCH_MEWCH_MD
OEM_3KANALOK@"`"WCH_VSWCH_VS
OEM_7KANALOK^~WCH_HEWCH_HE
OEM_80WCH_NONEWCH_NONEWCH_NONEWCH_NONE
OEM_COMMAKANALOK","<WCH_NEWCH_IC
OEM_PERIODKANALOK".">WCH_RUWCH_IP
OEM_PLUSKANALOK";"+WCH_REWCH_RE
TAB0\t\t\t\t
ADD0++++
DECIMAL0".""."".""."
DIVIDE0////
MULTIPLY0****
SUBTRACT0----
Note   CAPSLOK and KANALOK indicate that a key is affected by the state of the CAPS LOCK and KANA LOCK keys.
Virtual keyCAPSLOCK / KANALOCKCharSHIFTKANAKANA+SHIFT
BACK0\b\b\b\b
CANCEL00x030x030x030x03
ESCAPE00x1b0x1b0x1b0x1b
OEM_4KANALOK[{WCH_SVSWCH_OB
OEM_5KANALOK\\|WCH_PSWCH_PS
OEM_102KANALOK\\_WCH_ROWCH_RO
OEM_6KANALOK]}WCH_MUWCH_CB
RETURN0\r\r\r\r
SPACE0" "" "" "" "
VK_keyCTRLKANA+CTRL
BACK0x7f0x7f
CANCEL0x030x03
ESCAPE0x1b0x1b
OEM_40x1b0x1b
OEM_50x1c0x1c
OEM_1020x1c0x1c
OEM_60x1d0x1d
RETURN\n\n
SPACE0x200x20
Virtual keyCAPSLOCK / KANALOK*CharSHIFTKANAKANA+SHIFT
2KANALOK2"WCH_HUWCH_HU
6KANALOK6&WCH_OWCH_OO
OEM_MINUSKANALOK-=WCH_HOWCH_HO
Virtual keyCTRLKANA+CTRLSHIFT+CTRLKANA+SHIFT+CTRL
2WCH_NONEWCH_NONE0x000x00
6WCH_NONEWCH_NONE0x1e0x1e
OEM_MINUSWCH_NONEWCH_NONE0x1f0x1f
VK_CAPLOK / KANALOKCharSHIFTKANAKANA+SHIFT
NUMPAD000WCH_NONE0WCH_NONE
NUMPAD101WCH_NONE1WCH_NONE
NUMPAD202WCH_NONE2WCH_NONE
NUMPAD303WCH_NONE3WCH_NONE
NUMPAD404WCH_NONE4WCH_NONE
NUMPAD505WCH_NONE5WCH_NONE
NUMPAD606WCH_NONE6WCH_NONE
NUMPAD707WCH_NONE7WCH_NONE
NUMPAD808WCH_NONE8WCH_NONE
NUMPAD909WCH_NONE9WCH_NONE

The following table defines the character symbols used in the previous table.

DefineUnicode valueCharacter
WCH_IPFF61Ideographic period
WCH_OBFF62Opening corner bracket
WCH_CBFF63Closing corner bracket
WCH_ICFF64Ideographic comma
WCH_MDFF65Katakana middle dot
WCH_WOFF66Katakana syllable wo
WCH_AAFF67Katakana letter lowercase a
WCH_IIFF68Katakana letter lowercase i
WCH_UUFF69Katakana letter lowercase u
WCH_EEFF6AKatakana letter lowercase e
WCH_OOFF6BKatakana letter lowercase o
WCH_YAAFF6CKatakana syllable lowercase ya
WCH_YUUFF6DKatakana syllable lowercase yu
WCH_YOOFF6EKatakana syllable lowercase yo
WCH_TUUFF6FKatakana syllable lowercase tu
WCH_PSFF70Katakana prolonged sound mark
WCH_AFF71Katakana letter A
WCH_IFF72Katakana letter I
WCH_UFF73Katakana letter U
WCH_EFF74Katakana letter E
WCH_OFF75Katakana letter O
WCH_KAFF76Katakana syllable ka
WCH_KIFF77Katakana syllable ki
WCH_KUFF78Katakana syllable ku
WCH_KEFF79Katakana syllable ke
WCH_KOFF7AKatakana syllable ko
WCH_SAFF7BKatakana syllable sa
WCH_SIFF7CKatakana syllable si
WCH_SUFF7DKatakana syllable su
WCH_SEFF7EKatakana syllable su
WCH_SOFF7FKatakana syllable so
WCH_TAFF80Katakana syllable ta
WCH_TIFF81Katakana syllable ti
WCH_TUFF82Katakana syllable tu
WCH_TEFF83Katakana syllable te
WCH_TOFF84Katakana syllable to
WCH_NAFF85Katakana syllable na
WCH_NIFF86Katakana syllable ni
WCH_NUFF87Katakana syllable nu
WCH_NEFF88Katakana syllable ne
WCH_NOFF89Katakana syllable no
WCH_HAFF8AKatakana syllable ha
WCH_HIFF8BKatakana syllable hi
WCH_HUFF8CKatakana syllable hu
WCH_HEFF8DKatakana syllable he
WCH_HOFF8EKatakana syllable ho
WCH_MAFF8FKatakana syllable ma
WCH_MIFF90Katakana syllable mi
WCH_MUFF91Katakana syllable mu
WCH_MEFF92Katakana syllable me
WCH_MOFF93Katakana syllable mo
WCH_YAFF94Katakana syllable ya
WCH_YUFF95Katakana syllable yu
WCH_YOFF96Katakana syllable yo
WCH_RAFF97Katakana syllable ra
WCH_RIFF98Katakana syllable ri
WCH_RUFF99Katakana syllable ru
WCH_REFF9AKatakana syllable re
WCH_ROFF9BKatakana syllable ro
WCH_WAFF9CKatakana syllable wa
WCH_NNFF9DKatakana letter n
WCH_VSFF9EKatakana voiced sound mark
WCH_SVSFF9FKatakana semi-voiced sound mark

See Also

Keyboard Layout Generator Tool


Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.


Show:
© 2014 Microsoft