Hello !
I am working on a gamepad, it's quite easy because it's a HID gamepad, so
windows reads it installs it etc. ^^
However I know I need to specify the forcefeedback information for it, I do
have the data to inject to the gamepad to make it vibrate.
I know it needs a 3 ring driver but that's really taken care by the default
windows drivers.
so maybe I am correct or not, but it seems that I can only add some registry
entries on the inf file like this:
HKLM,System\CurrentControlSet\Control\MediaPropert ies\PrivateProperties\Joystick\OEM\VID_0000f&PID_0 000\OEMForceFeedback\Effects\{CLSID},,,"DESIRED EFFECT"
HKLM,System\CurrentControlSet\Control\MediaPropert ies\PrivateProperties\Joystick\OEM\VID_0000&PID_00 00\OEMForceFeedback\Effects\{CLSID},Attributes,(ST RING
OF ATTRIBUTES)
it is somewhat described on this page:
http://msdn.microsoft.com/en-us/library/ms789862.aspx
the problem is I don;t understand exactly what to put on the string of
attributes.
I know that if I insert into the USB port for instance
A1 00 00 00 01 00 00 00
I can activate forcefeedback on the device, but I don't understand how to
translate that into the atributes part.
Any information or guide to the right way of doing it, would be appreciated.
also if I am wrong, if someone tells me ok you have to write a minidriver
and that's the only one that can send the apropiate info to the USB port to
trigger your HID device that's good also.
Thanks !