Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. How to distinguish multiple Keyboards (HID devices)

How to distinguish multiple Keyboards (HID devices)

Scheduled Pinned Locked Moved General and Desktop
2 Posts 2 Posters 2.9k Views
  • 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 Offline
    N Offline
    nardev
    wrote on last edited by
    #1

    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
    0
    • C Offline
      C Offline
      cr8zy1van
      wrote on last edited by
      #2

      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
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved