Handling input from a keyboard wedge

Posted by JDibble on Stack Overflow See other posts from Stack Overflow or by JDibble
Published on 2008-11-08T15:46:40Z Indexed on 2010/04/06 17:53 UTC
Read the original article Hit count: 260

Filed under:
|
|

Following on from the question asked by Mykroft

Best way to handle input from a keyboard “wedge”

http://stackoverflow.com/questions/42437/best-way-to-handle-input-from-a-keyboard-wedge.

I need to write a class that intercepts key strokes, if the input is determined to be from the keyboard wedge (as described in the above post) the data will be directed to POS classes to handle, otherwise they keystrokes must be passed on to be handled in windows in the normal manner. This raises two questions

  1. How can I intercept key strokes when not in a WinForm.

  2. How can I pass on the keypresses to windows.

Thanks JDibble

© Stack Overflow or respective owner

Related posts about c#

Related posts about point-of-sale