RISCOS.com

www.riscos.com Technical Support:
BBC BASIC Reference Manual

 


Appendix D - Inkey values


Key INKEY number
Print -33
F1 -114
F2 -115
F3 -116
F4 -21
F5 -117
F6 -118
F7 -23
F8 -119
F9 -120
F10 -31
F11 -29
F12 -30
A -66
B -101
C -83
D -51
E -35
F -68
G -84
H -85
I -38
J -70
K -71
L -87
M -102
N -86
O -55
P -56
Q -17
R -52
S -82
T -36
U -54
V -100
W -34
X -67
Y -69
Z -98
0 -40
1 -49
2 -50
3 -18
4 -19
5 -20
6 -53
7 -37
8 -22
9 -39
, -103
- -24
. -104
/ -105
[ -57
\ -121
] -89
; -88
Esc -113
Tab -97
Caps Lock -65
Scroll Lock -32
Num Lock -78
Break -45
'/~ -46
#/Currency -47
Back Space -48
Insert -62
Home -63
Page Up -64
Page Down -79
'/" -80
Shift (either/both) -1
Alt (either/both) -3
Shift (left/right-hand) -4/-7
Ctrl (left/right-hand) -5/-8
Alt (left/right-hand) -6/-9
Space Bar -99
Delete -90
Return -74
Copy -106
[UP] -58
<- -26
-> -122
[DOWN] -42
Keypad 0 -107
Keypad 1 -108
Keypad 2 -125
Keypad 3 -109
Keypad 4 -123
Keypad 5 -124
Keypad 6 -27
Keypad 7 -28
Keypad 8 -43
Keypad 9 -44
Keypad + -59
Keypad - -60
Keypad . -77
Keypad / -75
Keypad # -91
Keypad * -92
Keypad Enter -61
Select mouse button (Left) -10
Menu mouse button (Middle) -11
Adjust mouse button (Right) -12

This edition Copyright © 3QD Developments Ltd 2015
Last Edit: Tue,03 Nov 2015