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

Keyboard Status

Programmer's Reference Manuals
» Part 15 – SWI Calls
» OS
» OS_Byte
» OS_Byte 202
» Keyboard Status

Keyboard Status

Bit Value Meaning
0 - Reserved for the keyboard handler, must be preserved when writing
1 0 Scroll Lock off
1 Scroll Lock on
2 0 Num Lock on
1 Num Lock off
3 0 Shift off
1 Shift on
4 0 Caps Lock on
1 Caps Lock off
5 0 Kana lock (Hiragana entry)
1 Romanji lock (Latin entry, as in UK)
6 0 Control off
1 Control on
7 0 Shift enable
1 Shift disabled

Notes

On means LED on or key pressed, off the opposite. If Caps Lock is on and Shift Enable off, Shift will have no effect on the letters, if Shift enable is on, you’ll get lower case.

See also

  • OS_Byte
  • OS_Byte 202
Created on November 17, 2009 19:56:31 by Alan Robertson (52)? (127.0.0.1)
Edit | Views: Print | Source | Linked from: OS_Byte 202

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