Handling input from a keyboard wedge
- by JDibble
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
How can I intercept key strokes when not in a WinForm.
How can I pass on the keypresses to windows.
Thanks
JDibble