• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Key intercepts
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
References: 
 >Cocoa from C++ (From: Dominik <email@hidden>)
 >Re: Cocoa from C++ (From: j o a r <email@hidden>)
 >Re: Cocoa from C++ (dont want to mix it) (From: Dominik <email@hidden>)
 >Re: Cocoa from C++ (dont want to mix it) (From: Guy English <email@hidden>)
 >Re: Cocoa from C++ (dont want to mix it) (From: Dominik <email@hidden>)
 >Re: Cocoa from C++ (dont want to mix it) (From: Sherm Pendley <email@hidden>)
 >Re: Cocoa from C++ (dont want to mix it) (From: Charlton Wilbur <email@hidden>)
 >Re: Cocoa from C++ (dont want to mix it) (From: Sherm Pendley <email@hidden>)
 >Key intercepts (From: Adam Hall <email@hidden>)
 >Re: Key intercepts (From: John Stiles <email@hidden>)

  • Prev by Date: Re: Where's the list box?
  • Next by Date: Re: SGSettingsDialog() in Cocoa
  • Previous by thread: Re: Key intercepts
  • Next by thread: Re: Cocoa from C++ (dont want to mix it)
  • Index(es):
    • Date
    • Thread