RISC OS Open
Safeguarding the past, present and future of RISC OS for everyone
ROOL
Home | News | Downloads | Bugs | Bounties | Forum | Documents | Photos | Contact us
Account

Low-Level Internal Key Numbers

Programmer's Reference Manuals
» Events
» Event Numbers
» Event 11
» Low-Level Internal Key Numbers

Low-Level Internal Key Numbers are used to identify the individual keys/buttons on keyboards and mice. Generally speaking, the numbering matches the order of the keys on an Archimedes keyboard, from top-left to bottom-right. However, because keyboard layouts have changed over the years, not all keyboards will be capable of generating all low-level codes, and the interpretation of some codes may differ. Where multiple interpretations are possible, the Keyboard ID can be used to determine which should be used.

# Hex # Key Notes
1st row
0 &00 Escape
1 &01 F1
2 &02 F2
3 &03 F3
4 &04 F4
5 &05 F5
6 &06 F6
7 &07 F7
8 &08 F8
9 &09 F9
10 &0A F10
11 &0B F11
12 &0C F12
13 &0D Print Screen/Sys Rq
14 &0E Scroll Lock
15 &0F Pause/Break
2nd row
16 &10 ` ~ ` ¬ on RiscPC and later
17 &11 1
18 &12 2
19 &13 3
20 &14 4
21 &15 5
22 &16 6
23 &17 7
24 &18 8
25 &19 9
26 &1A 0
27 &1B -
28 &1C =
29 &1D £ ¥ on Japanese keyboards. Not present on standard UK/US post-Arc keyboards.
30 &1E Backspace
31 &1F Insert
32 &20 Home
33 &21 Page Up
34 &22 Num Lock
35 &23 Keypad /
36 &24 Keypad *
37 &25 Keypad #
3rd row
38 &26 Tab
39 &27 Q
40 &28 W
41 &29 E
42 &2A R
43 &2B T
44 &2C Y
45 &2D U
46 &2E I
47 &2F O
48 &30 P
49 &31 [ {
50 &32 ] }
51 &33 \ | # ~ on RiscPC and later (4th row, between ’ @ and Return)
52 &34 Delete
53 &35 Copy/End
54 &36 Page down
55 &37 Keypad 7
56 &38 Keypad 8
57 &39 Keypad 9
58 &3A Keypad -
4th row
59 &3B Left Ctrl
60 &3C A
61 &3D S
62 &3E D
63 &3F F
64 &40 G
65 &41 H
66 &42 J
67 &43 K
68 &44 L
69 &45 ; :
70 &46 ’ " ’ @ on RiscPC and later
71 &47 Return
72 &48 Keypad 4
73 &49 Keypad 5
74 &4A Keypad 6
75 &4B Keypad +
5th row
76 &4C Left Shift
77 &4D (not fitted) \ | on RiscPC and later
78 &4E Z
79 &4F X
80 &50 C
81 &51 V
82 &52 B
83 &53 N
84 &54 M
85 &55 , <
86 &56 . >
87 &57 / ?
88 &58 Right Shift
89 &59 Up
90 &5A Keypad 1
91 &5B Keypad 2
92 &5C Keypad 3
6th row
93 &5D Caps Lock
94 &5E Left Alt
95 &5F Space
96 &60 Right Alt
97 &61 Right Ctrl
98 &62 Left
99 &63 Down
100 &64 Right
101 &65 Keypad 0
102 &66 Keypad .
103 &67 Keypad Enter
Non-Archimedes keys
104 &68 Left Windows key Win95, 6th row, between Left Ctrl and Left Alt
105 &69 Right Windows key Win95, 6th row, between Right Alt and Menu
106 &6A Menu key Win95, 6th row, between Menu and Right Ctrl
107 &6B NoConvert Japanese, 6th row, between Left Alt and Space
108 &6C Convert Japanese, 6th row, between Space and Kana
109 &6D Kana Japanese, 6th row, between Convert and Right Alt
110 &6E \ _ Japanese, 5th row, between / ? and Right Shift
111 &6F FN For reduced key count keyboards
Mouse
112 &70 Mouse Select
113 &71 Mouse Menu
114 &72 Mouse Adjust
115 &73 Mouse extra button 1 Not on Arc mouse
116 &74 Mouse extra button 2 Not on Arc mouse

See also

  • Character Codes
  • Event 11
  • Event Numbers
  • Events Introduction
  • Keyboard ID
  • Keyboard Scan Codes
Other languages documentation

Français

Revised on March 6, 2018 14:38:39 by Etienne SOBOLE (3572)? (195.200.162.2)
Edit | Back in time (5 revisions) | See changes | History | Views: Print | Source | Linked from: Character Codes, Keyboard Scan Codes, Keyboard ID, Event 11, KeyV 1, Beginners FAQ:Hardware Support, Welcome to RISC OS Pi, KeyV 2, Low-Level Internal Key Numbers (français)

Search the Wiki

Social

Follow us on and

ROOL Store

Buy RISC OS Open merchandise here, including SD cards for Raspberry Pi and more.

Donate! Why?

Help ROOL make things happen – please consider donating!

RISC OS IPR

RISC OS is an Open Source operating system owned by RISC OS Developments Ltd and licensed primarily under the Apache 2.0 license.

Navigation

  • Home Page
  • All Pages
  • Recently Revised
  • Authors
  • Feeds
Site design © RISC OS Open Limited 2018 except where indicated
The RISC OS Open Instiki theme is based on Insitki's default layout

Valid XHTML 1.0  |  Valid CSS

Instiki 0.19.1(MML+)
This site runs on Rails

Hosted by Arachsys