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_Mouse

Programmer's Reference Manuals
» Part 15 – SWI Calls
» OS
» OS_Mouse

OS_Mouse

(SWI &1C)
Entry
- -
Exit
R0 X co-ordinate
R1 Y co-ordinate
R2 Button state
R3 Time of button change

Use

The purpose of this call is to return the current mouse status.

Notes

The data is returned from the mouse buffer, or the current mouse position if the buffer is empty.

The time value returned using the monotonic timer.

See also

  • OS_ReadMonotonicTime
  • Wimp_GetPointerInfo
Revised on November 26, 2010 12:52:35 by Trevor Johnson (329)? (127.0.0.1)
Edit | Back in time (1 revision) | See changes | History | Views: Print | Source | Linked from: Service_MouseTrap, Button State, OS SWI Calls, OS_Byte 128, Software Vector 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