Two USB devices with same software, easyHID


Closed Thread
Results 1 to 2 of 2
  1. #1

    Default Two USB devices with same software, easyHID

    I have made a device following the sample by mister_e in this forum.

    Now

    I am trying to use the same device two times in my software, in my design you should be able to add as many USB of my devices to use with the software. How do you manage each device or identify them? if they have same ID, etc. how can i make a handler for each one? I am using VB. thanks Again.

    DJC

  2. #2
    Join Date
    May 2007
    Posts
    65


    Did you find this post helpful? Yes | No

    Talking

    That job is managed by Windows. As I have 2 identical USB joysticks, my device manager showed something like "Joystick XX#1" and "Joystick XX#2". And all games recognized both as #1 and #2.
    In your case, It's you windows application which has to search for USB enumerated devices from the class that matches your device. If that app is your user interface VB6 application, there are many code samples in MSDN and many VB6 forums which play with this using API's. API's are to VB6 as Interrupts are to PicBasic Pro (of course API's are not hardware level, are just Windows guts level)

    If still lost, or yet lazy to search, tell me, I could get it for you.

Similar Threads

  1. EasyHID and USB for Newbies??
    By Squibcakes in forum USB
    Replies: 68
    Last Post: - 26th November 2015, 22:41
  2. Simple USB Comms Problem
    By awmt102 in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 6th January 2010, 20:17
  3. USB devices
    By MKtiger in forum USB
    Replies: 1
    Last Post: - 2nd November 2008, 10:23
  4. Replies: 15
    Last Post: - 30th October 2007, 19:25
  5. Speed of USB EasyHID and Time problem
    By sjohansson in forum USB
    Replies: 10
    Last Post: - 18th January 2007, 22:21

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

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