Re: Identifying input from keyboard devices
From: Don Riesbeck Jr. (02070511am-reply-in-group_at_nerdlycrap.com)
Date: 02/07/05
- Next message: Mattias Sjögren: "Re: Assembly: custom attributes"
- Previous message: Michael Conroy: "Re: Combobox fun - "Specified argument was out of the range...""
- In reply to: Don Riesbeck Jr.: "Identifying input from keyboard devices"
- Next in thread: james: "Re: Identifying input from keyboard devices"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 7 Feb 2005 11:14:48 -0500
I knew I was going to forget something: This application will be running on
Windows 2000, Windows 2000 Server and potentially Windows XP.
Thanks Again
"Don Riesbeck Jr." <02070511am-reply-in-group@nerdlycrap.com> wrote in
message news:eBtyC8SDFHA.392@TK2MSFTNGP14.phx.gbl...
> I'm working on an application (OEM) using C# that utilizes input from a
> keyboard, and USB Barcode Scanner. The scanner is a HID Keyboard device,
> and input from it is sent to the system as if it were a keyboard. I need
to
> be able to identify input from the scanner and keyboard independently.
I've
> looked at DirectX.DirectInput, and using user32.dll to hook into the
> keyboard messages, but neither method seems to allow for identification of
> the device sending the input. Inputs from either device are received and
> there is not apparent difference.
>
> Is there a way for either method (DI, or hooks) to identify which keyboard
> device input is from? Or, is there another method that I overlooked?
>
> (Note that the scanner cannot send pre-fixes, or be configured as a COM
> device.)
>
> Thanks in advance!
> Don Riesbeck Jr.
>
>
- Next message: Mattias Sjögren: "Re: Assembly: custom attributes"
- Previous message: Michael Conroy: "Re: Combobox fun - "Specified argument was out of the range...""
- In reply to: Don Riesbeck Jr.: "Identifying input from keyboard devices"
- Next in thread: james: "Re: Identifying input from keyboard devices"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|