"Metalle Gary-GMETALL1" <[EMAIL PROTECTED]> wrote in message
news:23810@palm-dev-forum...
>
> Hello
>
> Perhaps I should have worded my question better. I don't actually want a
> background task in that sense but rather an application that is always
> running in the background. I want to be able to write a device driver that
> reads the serial port (done all that stuff), processes it and enqueues
> events into the system queue. I can't have the application always running
in
> the foreground as I want the user to be able to run up other applications
> such as memopad or whatever (then this user chosen application will pick
up
> the system events that I posted from my background application).
>
> How do commercial keyboard drivers etc do this?

You'll need to develop a hack, which wraps around one or more of the system
calls.  The developer guide included with HackMaster (www.daggerware.com)
can provide more details.

>From posts on this forum, the keyboard drivers tend to use the HotSync
interrupt -- a keypress generates one of these, the driver does the first
intercept, sees that its a keypress, and turns it into a character stroke.
If its a real HotSync, they let it go through to the OS for normal
processing.



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to