CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Feb 2001
    Location
    Germany
    Posts
    20

    Question Which keyboard was used?

    Hi,

    i´m using an usb and a ps/2 keyboard at the same time. Is it possible to determine, which keyboard i used, when a key was pressed?

    Thanks,

    Winni

  2. #2
    Join Date
    Aug 2001
    Location
    Germany
    Posts
    166
    You can use DirectInput
    Code:
    DirectInputDevice8::GetDeviceInfo()
    to get all product-infos for Your input-hardware.

    Mike

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured