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

Character Codes

WindowManager
» SWI Calls
» Wimp_Poll
» Reason Codes
» Key_Pressed
» Character Codes

Character Codes

Within the Desktop the Window Manager redefines the function, cursor, and special keys to return their keyboard buffer insert values, and redefines TAB to be a function key.

  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
Left Windows1 &1C0 &1D0 &1E0 &1F0
Right Windows1 &1D0 &1C0 &1F0 &1E0
Menu1 &1C1 &1D1 &1E1 &1F1
Hana2 &1C2 &1D2 &1E2 &1F2
Kanji2 &1C3 &1D3 &1E3 &1F3
Romaji2 &1C4 &1D4 &1E4 &1F4
NoConvert2 &1C5 &1D5 &1E5 &1F5
Convert12 &1C6 &1D6 &1E6 &1F6
Previous12 &1D6 &1C6 &1F6 &1E6
Kana12 &1C7 &1D7 &1E7 &1F7
Kata12 &1D7 &1C7 &1F7 &1E7
AllKanji2 &1C8 &1D8 &1E8 &1F8
KanjiNumber2 &1C9 &1D9 &1E9 &1F9
F10 &1CA &1DA &1EA &1FA
F11 &1CB &1DB &1EB &1FB
F12 &1CC &1DC &1EC &1FC
Insert &1CD &1DD &1ED &1FD
MouseDown3 &1CE &1DE &1EE &1FE
MouseUp3 &1CF &1DF &1EF &1FF

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.

2 See https://web.archive.org/web/20130401185753/http://www.iyonix.com/32bit/2205203-02.htm

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 November 4, 2018 16:31:01 by jgharston (196)? (82.34.74.15)
Edit | Back in time (9 revisions) | See changes | History | Views: Print | Source | Linked from: Wimp_ProcessKey, Keyboard Scan Codes, Wimp Managed Key Presses, Key_Pressed, OS_Byte 221 - 228 Key Codes, Low-Level Internal Key Numbers, Low-Level Internal Key Numbers (français), OS_SpriteOp 51

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