CGPostKeyboardEvent stops my Cocoa GUI...
CGPostKeyboardEvent stops my Cocoa GUI...
- Subject: CGPostKeyboardEvent stops my Cocoa GUI...
- From: Jérome Foucher <email@hidden>
- Date: Mon, 25 Oct 2004 16:24:07 +0200
Hi all,
I'm designing an onscreen keyboard for a kiosk machine with a
touch-screen.
As you might guess, I'm using CGPostKeyboardEvent to simulate the key
press.
But a strange thing happens : my GUI seems to be halted for a short
time just after the CGPostKeyboardEvent call.
For instance, I cannot make a fast double-click on a key from my
onscreen keyboard. The second click is completely lost !
I need to leave at least half a second between my first click and my
second click, which makes my keyboard feels very sluggish....
I tried to enqueue keycodes and dequeue them in a separate thread that
itself calls CGPosteKeyboardEvent, but no luck : I have the same
result.
Is this a known issue ? Is there any workaround ?
Thanks
Jérome
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Accessibility-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden