playing audio file with a foot pedal in vb.net
I've done a lot of seaching and grinding snippets of code to try to use my foot pedal. Here's where I am at:
I am able to see my device of concern and two others with this line
myList = Manager.GetDevices(DeviceType.Device, EnumDevicesFlags.AttachedOnly
USB to PS2 Adaptor v1.12
USB to PS2 Adaptor v1.12
USB Footpedal
Here's my problem....I can see it, how do I read it's 3 pedal switches on/off states? When I look at the deviceinstance properties, I see
- odi {Microsoft.DirectX.DirectInput.DeviceInstance} Microsoft.DirectX.DirectInput.DeviceInstance
DeviceSubType0Integer
DeviceType Device{17}Microsoft.DirectX.DirectInput.DeviceType
- ForceFeedbackDriver {System.Guid}System.Guid
EmptyNothingSystem.Guid
- Instance {System.Guid}System.Guid
EmptyNothingSystem.Guid
InstanceName"USB Footpedal"String
- Product {System.Guid}System.Guid
EmptyNothingSystem.Guid
ProductName"USB Footpedal"String
Usage3Short
UsagePage12Short
What is my direction from here? How do I use this information now to access the pedal switches on/off states? Any <real> assistance would be greatly appreciated.

