Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    How to distinguish multiple Keyboards (HID devices)

    General and Desktop
    2
    2
    2652
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • N
      nardev last edited by

      I have RFID reader which acts like a keyboard that returns read code with return char on the end.

      However, i want to be able to listen only that device, with no additional hacking like analyzing all inputs and looking for the one that matches the pattern.

      Is there any way to list HID devices and than only listen and input from on of those?

      1 Reply Last reply Reply Quote 0
      • C
        cr8zy1van last edited by

        I have had to do this on several occasions when dealing with laser scanners that show up as HID keyboard devices.
        The Raw Input handler built into Windows seems like my go-to source....
        http://www.codeproject.com/Articles/17123/Using-Raw-Input-from-C-to-handle-multiple-keyboard

        1 Reply Last reply Reply Quote 0
        • First post
          Last post