RISC OS Open
A fast and easily customised operating system for ARM devices
ROOL
Home | News | Software | Bugs | Bounties | Forum | Documents | Photos | Contact us
Account

Character Codes

Programmer's Reference Manuals
» Part 7 - The Desktop
» The Window Manager
» SWI Calls
» Wimp_Poll
» Reason Codes
» Key_Pressed
» Character Codes

Character Codes

  Key Combination
Key None Shift Ctrl Ctrl Shift
Backspace &008 &008 &008 &008
Return &00D &00D &00D &00D
Escape &01B &01B &01B &01B
Home &01E &01E &01E &01E
Delete &07F &07F &07F &07F
Print &180 &190 &1A0 &1B0
F1 &181 &191 &1A1 &1B1
F2 &182 &192 &1A2 &1B2
F3 &183 &193 &1A3 &1B3
F4 &184 &194 &1A4 &1B4
F5 &185 &195 &1A5 &1B5
F6 &186 &196 &1A6 &1B6
F7 &187 &197 &1A7 &1B7
F8 &188 &198 &1A8 &1B8
F9 &189 &199 &1A9 &1B9
Tab &18A &19A &1AA &1BA
End &18B &19B &1AB &1BB
Left &18C &19C &1AC &1BC
Right &18D &19D &1AD &1BD
Down &18E &19E &1AE &1BE
Up &18F &19F &1AF &1BF
Page down &19E &18E &1BE &1AE
Page up &19F &18F &1BF &1AF
Menu1 &1C1 &1D1 &1E1 &1F1
F10 &1CA &1DA &1EA &1FA
F11 &1CB &1DB &1EB &1FB
F12 &1CC &1DC &1EC &1FC
Insert &1CD &1DD &1ED &1FD
Left Windows1 &1C0 &1D0 &1E0 &1F0
Right Windows1 &1D0 &1C0 &1F0 &1E0

1 Note that some keys generate the same code, for example ‘Right Windows’ and shift + ‘Left Windows’ both generate Wimp key code &1D0. Unfortunately this is unavoidable due to the lack of spare key codes. It is therefore proposed that the use of Ctrl with the ‘Left Windows’, ‘Right Windows’ & ‘Menu’ keys be used for extra functions, but that Shift + ‘Left Windows’ and Shift + ‘Right Windows’ be avoided. Shift with the ’Menu may still be used however.

Notes

This is a list of character codes that the Wimp uses for different keys and key combinations.

See also

  • OS_Byte 221 - 228
  • Keyboard Scan Codes
  • Key_Pressed
  • Low-Level Internal Key Numbers
  • Reason Codes
  • Wimp_ProcessKey
  • Wimp_Poll
Revised on January 30, 2010 21:05:07 by Alan Robertson (52)? (127.0.0.1)
Edit | Back in time (6 revisions) | See changes | History | Views: Print | Source | Linked from: Key_Pressed, Wimp Managed Key Presses, Wimp_ProcessKey, Keyboard Scan Codes, OS_Byte 221 - 228 Key Codes, Low-Level Internal Key Numbers

Search the Wiki

Commercial use

For commercial enquiries, please contact the owners of RISC OS, Castle Technology Ltd.

ROOL Store

The official C/C++ Development kit and more here.

Donate! Why?

Help ROOL make things happen – please consider donating!

Navigation

  • Home Page
  • All Pages
  • Recently Revised
  • Authors
  • Feeds
Site design © RISC OS Open Limited 2011 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