[Coco] OS9 Joystick/Mouse question

Bill Pierce ooogalapasooo at aol.com
Sat Sep 7 13:32:01 EDT 2013


Hi,
Is there a way (in software) in OS9 to check to see if a joystick or mouse are connected?
I konoy how to turn the mouse on/off, check it's values, set the resolution and what side it's on, but I haven't found a way to check to see if one is connected.
The idea is for a program to do a mouse check on startup, if present then default to it, if not, default to the keyboard.

Thanks

Bill Pierce
My Music from the Tandy/Radio Shack Color Computer 2 & 3
https://sites.google.com/site/dabarnstudio/
Co-Webmaster of The TRS-80 Color Computer Archive
http://www.colorcomputerarchive.com/
Co-Contributor, Co-Editor for CocoPedia
http://www.cocopedia.com/wiki/index.php/Main_Page
E-Mail: ooogalapasooo at aol.com




More information about the Coco mailing list