Commodore 64 keyboard matrix codes (sorted by code)

Matrix code
(dec, hex, oct)
KeyMatrix code
(dec, hex, oct)
Key
0$00&00Insert/Delete32$20&409
1$01&01Return33$21&41I
2$02&02cursor left/right34$22&42J
3$03&03F7/F835$23&430
4$04&04F1/F236$24&44M
5$05&05F3/F437$25&45K
6$06&06F5/F638$26&46O
7$07&07cursor up/down39$27&47N
8$08&10340$28&50+ (plus)
9$09&11W41$29&51P
10$0A&12A42$2A&52L
11$0B&13443$2B&53– (minus)
12$0C&14Z44$2C&54. (period)
13$0D&15S45$2D&55: (colon)
14$0E&16E46$2E&56@ (at)
15$0F&17left Shift47$2F&57, (comma)
16$10&20548$30&60£ (pound)
17$11&21R49$31&61* (asterisk)
18$12&22D50$32&62; (semicolon)
19$13&23651$33&63Clear/Home
20$14&24C52$34&64right Shift
21$15&25F53$35&65= (equal)
22$16&26T54$36&66↑ (up arrow)
23$17&27X55$37&67/ (slash)
24$18&30756$38&701
25$19&31Y57$39&71← (left arrow)
26$1A&32G58$3A&72Control
27$1B&33859$3B&732
28$1C&34B60$3C&74Space
29$1D&35H61$3D&75Commodore
30$1E&36U62$3E&76Q
31$1F&37V63$3F&77Run/Stop