• 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: Capturing Keyboard Input
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Capturing Keyboard Input


  • Subject: Re: Capturing Keyboard Input
  • From: Travis Siegel <email@hidden>
  • Date: Sun, 11 Jul 2010 17:55:36 -0500


On Jul 11, 2010, at 4:18 PM, Alex Jurgensen wrote:

Hi All,

I want to capture all keyboard input, in order to detect chords that are pressed. This is for a project, where I hope to be able to develop a Braille input method for Mac OS X.

One method of doing this would be to monitor both the keydown and keyup events. Keep track of the keydown events, then when a key is released, map the keys that were pressed to their braille equivalents, then ignore the remaining key up events, then wait for key down events, and repeat as necessary.
You will of course need to have some way of distinguishing between grade 1 and grade 2 input though, since you'd obviously want to map those inputs separately. Perhaps have a toggle mode, and if you plan to support nemeth, or the new proposed standard for the uniform braille code, you'd of course need yet another input mapping.
Simple enough on the surface, but as always, the devil is in the details.


_______________________________________________
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


References: 
 >Capturing Keyboard Input (From: Alex Jurgensen <email@hidden>)

  • Prev by Date: Capturing Keyboard Input
  • Next by Date: Re: Capturing Keyboard Input
  • Previous by thread: Capturing Keyboard Input
  • Next by thread: Re: Capturing Keyboard Input
  • Index(es):
    • Date
    • Thread