-
-
Notifications
You must be signed in to change notification settings - Fork 0
PS2 keyboard scancodes
*** KEYCODES ***
Key | Scancode |
---|---|
A | 1C |
B | 32 |
C | 21 |
D | 23 |
E | 24 |
F | 2B |
G | 34 |
H | 33 |
I | 43 |
J | 3B |
K | 42 |
L | 4B |
M | 3A |
N | 31 |
O | 44 |
P | 4D |
Q | 15 |
R | 2D |
S | 1B |
T | 2C |
U | 3C |
V | 2A |
W | 1D |
X | 22 |
Y | 35 |
Z | 1A |
0 | 45 or 70 (numpad) |
1 | 16 or 69 (numpad) |
2 | 1E or 72 (numpad) |
3 | 26 or 7A (numpad) |
4 | 25 or 6B (numpad) |
5 | 2E or 73 (numpad) |
6 | 36 or 74 (numpad) |
7 | 3D or 6C (numpad) |
8 | 3E or 75 (numpad) |
9 | 46 or 7D (numpad) |
MINUS | 4E or 7B (numpad) |
EQUALS | 55 |
LEFTBRACKET | 54 |
RIGHTBRACKET | 5B |
BACKSLASH | 5D |
SEMICOLON | 4C |
APOSTROPHE | 52 |
GRAVE | 0E |
COMMA | 41 |
PERIOD | 49 |
SLASH | 4A or E04A (numpad) |
SPACE | 29 |
TAB | 0D |
RETURN | 5A or E05A (numpad) |
BACKSPACE | 66 |
DELETE | E071 |
INSERT | E070 |
PAGEUP | E07D |
PAGEDOWN | E07A |
HOME | E06C |
END | E069 |
UP | E075 |
DOWN | E072 |
LEFT | E06B |
RIGHT | E074 |
CAPSLOCK | 58 |
CTRL | 14 (left) or E014 (right) |
SHIFT | 12 (left) or 59 (right) |
ALT | 11 (left) or E011 (right) |
.-----------------------------------------------------------------------------------------. .----------------------.
| ` | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | - | = | Backsps | | Ins | Home | PgUp |
|-----------------------------------------------------------------------------------------| |----------------------|
| Tab | Q | W | E | R | T | Y | U | I | O | P | [ | ] | \ | | Del | End | PgDn |
|-----------------------------------------------------------------------------------------| '----------------------'
| CapsLck | A | S | D | F | G | H | J | K | L | ; | ' | Enter |
|-----------------------------------------------------------------------------------------| .-------.
| Shift | Z | X | C | V | B | N | M | , | . | / | Shift | | Up |
|-----------------------------------------------------------------------------------------| .----------------------.
| Ctrl | Alt | | Alt | Ctrl | | Left | Down | Rght |
'-----------------------------------------------------------------------------------------' '----------------------'
- SDK
- Important system files
The boot.py file
The main.py file
Libraries
- MCU
What is MicroPython?
How to install MicroPython
- Video
TMS9918 compatible VDP parts
TMS9918 VDP display modes
Color palette
Video modes
Video adapters
MGB file format
- Video API
vdp_set_bdcolor
vdp_print
vdp_cls
vdp_mset
vdp_textcolor
vdp_sprite_set_position
vdp_text_wrap
set_write_address
write_byte_to_VRAM
vdp_init
- Audio
Music related troubleshooting
AY-3-8910 compatible PSG parts
How to flash LPC810 or LPC812 MCU
How to flash ATmega8, ATmega48, ATmega88, ATmega168 or ATmega328
AY-3-8910
Konami SCC
WT588D
Clock sources
SoundCortex limitations
VGM file format
WT588D's BUSY output
- Audio API
music.reset
music.load_vgm
music.tick
music.set_vol
music.play_freq
music.play_notes
voice.send_threelines
voice.send_oneline
- Input
PISO shift register compatible gamepad parts
PS2 keyboard scancodes
- Input API
- Memory
Memory related troubleshooting
Video RAM
- Memory API