How can i modify the HID descriptor that is installed in windows when the Leonardo is detected as USB device ?
I need to create a force feedback capable device with arduino, but all the force feedback part is missing for now.
I have found this one :
https://code.google.com/p/sidewinder-arduino/source/browse/#svn%2Ftrunk
But i don't know how to make it work
I have also find that too add forcefeedback ( rumble ) to a dualshock joypad the installer add to the register this keys :
HKLM,%OEM_KEY%\OEMForceFeedback,Attributes,1,00,00,00,00,E8,03,00,00,E8,03,00,00
HKLM,%OEM_KEY%\OEMForceFeedback,CLSID,,"%FFDRV.CLSID%"
HKLM,%OEM_KEY%\OEMForceFeedback\Effects{13541C20-8E33-11D0-9AD0-00A0C9A06E35},,,"Constant"
HKLM,%OEM_KEY%\OEMForceFeedback\Effects{13541C20-8E33-11D0-9AD0-00A0C9A06E35},Attributes,1,00,00,00,00,01,80,00,00,67,03,00,00,67,03,00,00,20,00,00,00
HKLM,%OEM_KEY%\OEMForceFeedback\Effects{13541C21-8E33-11D0-9AD0-00A0C9A06E35},,,"Ramp"
HKLM,%OEM_KEY%\OEMForceFeedback\Effects{13541C21-8E33-11D0-9AD0-00A0C9A06E35},Attributes,1,01,00,00,00,02,80,00,00,67,03,00,00,67,03,00,00,20,00,00,00
HKLM,%OEM_KEY%\OEMForceFeedback\Effects{13541C22-8E33-11D0-9AD0-00A0C9A06E35},,,"Square"
HKLM,%OEM_KEY%\OEMForceFeedback\Effects{13541C22-8E33-11D0-9AD0-00A0C9A06E35},Attributes,1,02,00,00,00,03,80,00,00,67,03,00,00,67,03,00,00,20,00,00,00
HKLM,%OEM_KEY%\OEMForceFeedback\Effects{13541C23-8E33-11D0-9AD0-00A0C9A06E35},,,"Sine"
HKLM,%OEM_KEY%\OEMForceFeedback\Effects{13541C23-8E33-11D0-9AD0-00A0C9A06E35},Attributes,1,03,00,00,00,03,80,00,00,67,03,00,00,67,03,00,00,20,00,00,00
HKLM,%OEM_KEY%\OEMForceFeedback\Effects{13541C24-8E33-11D0-9AD0-00A0C9A06E35},,,"Triangle"
HKLM,%OEM_KEY%\OEMForceFeedback\Effects{13541C24-8E33-11D0-9AD0-00A0C9A06E35},Attributes,1,04,00,00,00,03,80,00,00,67,03,00,00,67,03,00,00,20,00,00,00
HKLM,%OEM_KEY%\OEMForceFeedback\Effects{13541C25-8E33-11D0-9AD0-00A0C9A06E35},,,"SawtoothUp"
HKLM,%OEM_KEY%\OEMForceFeedback\Effects{13541C25-8E33-11D0-9AD0-00A0C9A06E35},Attributes,1,05,00,00,00,03,80,00,00,67,03,00,00,67,03,00,00,20,00,00,00
HKLM,%OEM_KEY%\OEMForceFeedback\Effects{13541C26-8E33-11D0-9AD0-00A0C9A06E35},,,"SawtoothDown"
HKLM,%OEM_KEY%\OEMForceFeedback\Effects{13541C26-8E33-11D0-9AD0-00A0C9A06E35},Attributes,1,06,00,00,00,03,80,00,00,67,03,00,00,67,03,00,00,20,00,00,00
HKLM,%OEM_KEY%\OEMForceFeedback\Effects{13541C27-8E33-11D0-9AD0-00A0C9A06E35},,,"Spring"
HKLM,%OEM_KEY%\OEMForceFeedback\Effects{13541C27-8E33-11D0-9AD0-00A0C9A06E35},Attributes,1,07,00,00,00,04,88,00,00,65,03,00,00,65,03,00,00,20,00,00,00
HKLM,%OEM_KEY%\OEMForceFeedback\Effects{13541C28-8E33-11D0-9AD0-00A0C9A06E35},,,"Damper"
HKLM,%OEM_KEY%\OEMForceFeedback\Effects{13541C28-8E33-11D0-9AD0-00A0C9A06E35},Attributes,1,08,00,00,00,04,88,00,00,65,03,00,00,65,03,00,00,20,00,00,00
HKLM,%OEM_KEY%\OEMForceFeedback\Effects{13541C29-8E33-11D0-9AD0-00A0C9A06E35},,,"Inertia"
HKLM,%OEM_KEY%\OEMForceFeedback\Effects{13541C29-8E33-11D0-9AD0-00A0C9A06E35},Attributes,1,09,00,00,00,04,88,00,00,65,03,00,00,65,03,00,00,20,00,00,00
HKLM,%OEM_KEY%\OEMForceFeedback\Effects{13541C2A-8E33-11D0-9AD0-00A0C9A06E35},,,"Friction"
HKLM,%OEM_KEY%\OEMForceFeedback\Effects{13541C2A-8E33-11D0-9AD0-00A0C9A06E35},Attributes,1,0a,00,00,00,04,88,00,00,65,03,00,00,65,03,00,00,20,00,00,00
HKLM,%OEM_KEY%\OEMForceFeedback\Effects{13541C2B-8E33-11D0-9AD0-00A0C9A06E35},,,"Custom"
HKLM,%OEM_KEY%\OEMForceFeedback\Effects{13541C2B-8E33-11D0-9AD0-00A0C9A06E35},Attributes,1,0b,00,00,00,05,88,00,00,67,03,00,00,67,03,00,00,20,00,00,00