>I couldn't speculate why event creation and queuing differs between 
>a device and
>Poser. Poser doesn't really get into the mix;

Keith:

After thinking about this, let me clarify, and retract what I said 
(yet another documented case of speaking without thinking too much).

I have a project where I intercept keystrokes in rapid succession. 
With POSE, I enter them from the keyboard because I can't work 
Graffiti fast enough using a mouse. On a real device, I enter them 
using Graffiti.

In a list drawback routine, I use a second event loop:

if ( EvtSysEventAvail ( false ))
{
        EvtGetEvent ( &event, 0 );
        SysHandleEvent ( &event );
        if ( event.eType == keyDownEvent )
        {
                Boolean handled = MainFormProcessKeystroke (
                        ( UInt8 ) event.data.keyDown.chr, true );
}       }

The high-level events should end up the same--keystrokes, However, 
the key down events are detected on a real device,  but not when 
using a keyboard and POSE.

It just occurred to me that the low-level and system events are 
probably not the same in both cases (I wasn't able to get logging 
working to verify), accounting for the difference in behavior. I 
expected the high-level events to be the same, but since I'm fiddling 
with the event sequence, who knows what's going on?

So, let me retract what I said, and restate it: I have a project 
where I use POSE and a real device in a similar but not identical 
fashion, and they don't do the same thing.

I guess the answer is that if I expect this application to work 
identically in both cases, I should use it identically. Duh. Guess 
I'll work on my Graffiti/mouse skills.

I can still send you a sample project if you think they _should_ work the same.

Regards,
Steve Mann
-------------------------------------------
Creative Digital Publishing Inc.
1315 Palm Street, San Luis Obispo, CA 93401-3117
-------------------------------------------
805.784.9461              805.784.9462 (fax)
[EMAIL PROTECTED]       http://www.cdpubs.com

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palm.com/devzone/mailinglists.html

Reply via email to