Hello,
I need help with C. I writing a program that needs to read the
keyboard without stopping other parts of the program. I was going to use
rawkey ciaa, but the example I had did not compile under dice. If anyone
has any suggestion I would be thankful.
Thanks,
Rico Walker
If are reading input from a window you can get Intuition to give you
keyboard events. If you don't want to wait for input then call GetMsg and
if there is no input waiting it will return a NULL.
Peter Wade
Autopiloting from London, England
If you are reading from a AMIGADOS device eg. CON: then you must first alter it
to RAW:. This can be done by either openning a RAW: device instead of a CON:
device or if you are reading from the stdin console you can send it the
appropriate AMIGADOS packages to change it to a RAW: device. The details are
in the book 'The AmigaDOS Manual' by Bantam Books. I've got the third edition
and the stuff you need is on page 424 'Using Packets Directly'. —- Bye.