Keyboard

The Dreamcast Keyboard (HKT-7600) is a standard Japanese PC keyboard (so they say). There are a total of 92 keys (there is no numeric keypad), which have a very standard size and feel. The space bar is very small though, due to an excessive amount of shift keys on the bottom row. It has a connector that fits in any of the four serial game controller ports. There are no Num/Caps/Scroll Lock leds, or any other leds for that matter. The standard extractable feet for tilting the keyboard are present though.

<Image of keyboard>
(Click on the keyboard for a larger image. A much, much larger image. I kid you not, it's really, really big.)

Special keys (from top left to bottom right):
[ ] hankaku/
zenkaku
kanji
In alphabet mode, toggle between halfwidth and fullwidth letters.
[    ] Caps lock
ASCII
kanji digits
Pressing this key enters romaji input mode, all letter keys will produce the symbols shown on the left part of the key.
[ ] S1 Show/hide menu
[   ] muhenkan ???
[   ] maekôho
henkan(shikôho)
zenkôho
???
[ ] katakana
hiragana
romaji
Pressing this key enters kana input mode, all letter keys will produce the symbols shown on the right part of the key.
[ ] S2 Show/hide menu
[ ] S3 ???

Keyboard Condition structure

The current state of a keyboard is queried with the Get condition request (see Maple Bus). The condition stucture for the Keyboard function code ($040) is as follows:

int8 shift          ; shift keys pressed (bitmask)
int8 led            ; leds currently lit
int8 key[6]         ; normal keys pressed
If less than 6 normal keys are pressed, the rest of the key array is filled with zeroes. If too many keys are pressed for a full decoding to be possible, the rest of the key array is filled with ones.

In the following tables, orange colour is used to mark keys that only exist on Japanese keyboards, and blue colour to mark keys that exist on a European keyboard, but not on a Japanese one.

Keycode by position (brownish keys are shiftcodes, not keycodes):
29 3A 3B 3C 3D 3E 3F 40 41 42 43 44 45 46 47 48
35 1E 1F 20 21 22 23 24 25 26 27 2D 2E 89 2A 49 4A 4B 53 54 55 56
2B 14 1A 08 15 17 1C 18 0C 12 13 2F 30 28 4C 4D 4E 5F 60 61 57
39 04 16 07 09 0A 0B 0D 0E 0F 33 34 32 5C 5D 5E
02 64 1D 1B 06 19 05 11 10 36 37 38 87 20 52 59 5A 5B 58
01 08 04 8B 2C 8A 88 40 80 65 10 50 51 4F 62 63

Key by shiftcode:
ShiftcodeKey
01 Left Ctrl
02 Left Shift
04 Left Alt
08 S1
10 Right Ctrl
20 Right Shift
40 Right Alt
80 S2

Key by keycode:
KeycodeKey
00 No key pressed
01 Too many keys pressed error
02-03 Not used(?)
04-1D Letter keys A-Z (in alphabetic order)
1E-27 Number keys 1-0
28 Enter
29 Esc
2A Backspace
2B Tab
2C Space
2D-2E "-" and "^" (the 2 keys right of the numbers)
2F-30 "@" and "[" (the 2 keys right of P)
31 Not used
32-34 "]", ";" and ":" (the 3 keys right of L)
35 hankaku/zenkaku / kanji (top left)
36-38 ",", "." and "/" (the 3 keys right of M)
39 Caps Lock
3A-45 Function keys F1-F12
46-4E Control keys above cursor keys
4F Cursor right
50 Cursor left
51 Cursor down
52 Cursor up
53 Num Lock (Numeric keypad)
54 "/" (Numeric keypad)
55 "*" (Numeric keypad)
56 "-" (Numeric keypad)
57 "+" (Numeric keypad)
58 Enter (Numeric keypad)
59-62 Number keys 1-0 (Numeric keypad)
63 "." (Numeric keypad)
64 "\" (right of left Shift)
65 S3 key
66-86 Not used
87 "\" key (left of right Shift)
88 katakana / hiragana / romaji key (left of right Alt)
89 "¥" key (left of Backspace)
8A maekôho / henkan(shikôho) / zenkôho key (right of Space)
8B muhenkan key (left of Space)
8C-FF Not used


Powered by RoxenDreamcast Programming by Marcus Comstedt
Last modified: Sun Dec 17 02:32:10 MET 2000