Re: Key intercepts
Re: Key intercepts
- Subject: Re: Key intercepts
- From: Adam Hall <email@hidden>
- Date: Fri, 11 Mar 2005 13:48:54 -0500
Yeah I am a little worried about the timing issues with this, Ill have
to buffer them and if I do not get anything within say a second after
getting a bunch within a short time I know it has to have been a scan.
yuck. Why cant some people buy a darn Bluetooth scanner?!? :-). Same
thing with CC swipers! :-)
-Adam
On Mar 11, 2005, at 1:37 PM, John Stiles wrote:
Override [NSApplication sendEvent].
However, if you get the keystrokes one at a time, you may not know
whether to propagate the keystrokes or consume them when you see one
number all by itself. I'm not sure how workable this technique will
be. You might consider alternate solutions.
On Mar 11, 2005, at 10:03 AM, Adam Hall wrote:
I need to work with one of those bar code scanners that sends numbers
for a bar code as if it is typed. I suppose Ill need to intercept key
strokes, analyze them to see if its a bar code (timing issues?!?) and
then pass it on if its not. Anyway, my question is where should I be
looking in Cocoa to grab keystrokes "first" before anything else does
in my app?
Regards,
Adam
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
email@hidden
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden