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

KeyV 0

KeyV
» KeyV 0

Keyboard present

Entry  
R0 0 (reason code)
R1 Keyboard number
R2 &4E6F4B64 (‘NoKd’)1

1 Available from RISC OS 5.06 onwards, or versions of RISC OS Select/Adjust with Kernel 10.23 or newer

Use

After a successful initialisation by the keyboard device driver, the driver should issue this call in order to notify the kernel that a keyboard is present.

Notes

If R2 contains the magic word ‘NoKd’, the kernel will disable its de-bouncing allowing, for example, a barcode reader to input characters faster than 10-15 cps. De-bouncing can be re-enabled by issuing this call with R2 set to 0.

Once this call has been issued, the driver should go dormant until it receives a KeyV 4 call, which indicates that the system is ready to start receiving key up/down events.

When the last keyboard that a driver manages is removed from the system, KeyV 16 should be issued in order to allow any other drivers to reconfigure the system to meet their requirements.

See also

  • Keyboard Numbers
  • KeyV
  • KeyV 4
  • KeyV 16
Revised on May 4, 2014 22:48:24 by Jeffrey Lee (213) (91.84.11.161)
Edit | Back in time (3 revisions) | See changes | History | Views: Print | Source | Linked from: KeyV, KeyV 16

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