Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Vista Drivers > GamePad Driver Development.

Reply
Fix Vista Errors
Thread Tools Display Modes

GamePad Driver Development.

 
 
chuby
Guest
Posts: n/a

 
      11-08-2009



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 !
 
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Driver Problem - USB webcam + setupapi.dev.log vertigo Windows Vista Hardware 2 01-09-2008 08:05 PM
BUGCODE_USB_DRIVER with external USB HDD PHILIPS Deathwing00 Windows Vista Hardware 11 06-15-2007 08:02 PM
Missing VGA driver rh0000 Windows Vista Hardware 14 06-13-2007 11:21 AM
Re: No Matter What Installations Won't Boot On My Laptop Richard Urban Windows Vista Installation 1 01-06-2007 06:08 AM
Trouble with driver on Windows Vista Beta 2 sujatha Windows Vista Installation 0 06-08-2006 07:44 PM



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59