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

OS_Byte 129 (scan single)

Programmer's Reference Manuals
» Part 15 – SWI Calls
» OS
» OS_Byte
» OS_Byte 129
» OS_Byte 129 (scan keyboard for single key)

OS_Byte 129 (scan keyboard for single key)

(SWI &06)
Entry
R0 129 (&81)
R1 &80 – &FF lowest keyboard scan code EOR &FF
R2 &FF
Exit
R0 Preserved
R1 0 if not pressed, or 255 if pressed
R2 0 if not pressed, or 255 if pressed

Use

The purpose of this call is to scan the keyboard for a range of keys.

See also

  • Keyboard Scan Codes
  • OS_Byte
  • OS_Byte 129
  • OS_Byte 129 (read a key within time limit)
  • OS_Byte 129 (read OS version)
  • OS_Byte 129 (scan keyboard for range of keys)
Created on November 13, 2009 22:28:18 by Alan Robertson (52)? (127.0.0.1)
Edit | Views: Print | Source | Linked from: OS_Byte 129, OS_Byte 129 (time), OS_Byte 129 (OS), OS_Byte 129 (scan range)

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