![]() ![]() Or, each Interface can act like a different kind of data channel.a keyboard Interface and a separate Mouse interface), Your device acts as if two or more separate devices (e.g. In the most common approach, each USB Interface provides a different kind of functionality.You can do quite a lot with that, because different Interfaces can be used in a lot of different kinds of ways: The current version of HIDmaker FS can make USB Composite Devices that contain up to 3 USB Interfaces, all of which have to be USB HID class Interfaces. Alternatively, you can have HIDmaker FS create a single PC program that talks to all of the USB Interfaces it has created in your device (which is what HIDmaker FS does by default). This works through the magic of Cooperative Multitasking. WHY You Might Want to Make a USB Composite Deviceīecause the PC host treats each USB Interface as if it were a completely separate device, it is possible for you (or for HIDmaker FS) to create a PC program that only talks to ONE of those USB Interfaces in your device. You can clearly see what appears to be two separate devices, but they really are from the same physical device.Īnd AnyHID can open, and talk to, either one of these two Interfaces as if it were a completely separate device. Similarly, here is what this same Composite looks like in AnyHID's Browse HIDs display. ![]() And when we disconnect the one USB cable from our device, those two entries disappear again. In fact, when we connect the cable to our one device, Device Manager shows that TWO entries have been added.Ĭloser inspection in Device Manager shows that these are actually two Interfaces connected to the same USB port. ![]() ![]() When we connect a USB Composite Device to our PC, and look at it in Device Manager, we actually see what looks like more than one device. You can see that this is so in Windows Device Manager. Each one of those seemingly independent devices (labeled " I/F 1" and " I/F 2" in the diagram below) is actually just a separate USB Interface. A Composite device is a single piece of hardware, that connects to the PC by a single USB cable, but which acts as if it contained multiple independent USB devices inside it. One of the capabilities that makes HIDmaker FS really powerful is its ability to make a USB Composite Device. How to Make a USB Composite Device with HIDmaker FS - Part 1 ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |