Thread: Multiple key pads input, have any one has worked with 3 numeric keypads

  1. #1
    Registered User
    Join Date
    May 2015

    Multiple key pads input, have any one has worked with 3 numeric keypads

    Hope to be in the right forum.
    Is there a code to real multiple keypads connected to one PC?
    In other words, 3 users are entering numbers using 3 keypads.
    The issue is how to allocate the input of each user individually.
    The program has worked until now by only having to input one digit.
    No problem at all. the input field was designed as a one digit field and to advance upon getting a No.
    Now I need the same situation, but 3 digit instead of 1.
    You can see the problem as user2 for example starts to enter a 7 and user3 starts and puts 6. At the present since there is no isolation, the PC is getting 76. for the first field.
    The program can incorporate a c++ code.
    Is there a chance here?

  2. #2
    Registered User
    Join Date
    Oct 2006
    You'll need to, on some level, use platform-specific APIs. On Linux, you can probably use libusb, and possibly distinguish between the various USB devices on the computer. Not sure if there's a libusb port for windows.
    What can this strange device be?
    When I touch it, it gives forth a sound
    It's got wires that vibrate and give music
    What can this thing be that I found?

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 5
    Last Post: 04-06-2015, 09:39 AM
  2. Replies: 11
    Last Post: 09-04-2013, 01:28 PM
  3. Formatted input: Detecting numeric overflow?
    By Memloop in forum C++ Programming
    Replies: 2
    Last Post: 09-26-2010, 03:51 AM
  4. Reading numeric input one by one
    By oval in forum C Programming
    Replies: 10
    Last Post: 01-24-2006, 03:45 PM
  5. about a function that pads string
    By Abdi in forum C Programming
    Replies: 4
    Last Post: 06-04-2002, 05:01 PM