USBGAME.INF Driver File Contents (usbvibrationdevice.zip)

Driver Package File Name: usbvibrationdevice.zip
File Size: 909.8 KB

[Version]
layoutfile=layout.inf,layout1.inf,layout2.inf
Signature="$CHICAGO$"
Provider=%VENDOR%
Class=MEDIA
ClassGUID={4d36e96c-e325-11ce-bfc1-08002be10318}

[ClassInstall]
AddReg=Class.AddReg

[Class.AddReg]
HKR,,,,%MediaClassName%
HKR,,Icon,,"-1"
HKR,,Installer,,mmci.dll

[SourceDisksNames]
98="USB Joystick/Gamepad Drivers","InputDrvs", 0

[SourceDisksFiles]
zeropage.dll=98
forcedrv.dll=98
usbgame.inf=98
gmain.exe=98

[DestinationDirs]
DefaultDestDir=11
INF.Copy=17                           ; \windows\system\inf

[Manufacturer]
%String1%=Microsoft

[Microsoft]
%USB\VID_0C12&PID_0005.DeviceDesc%=HIDGameDevice1, USB\VID_0C12&PID_0005

[HIDGameDevice1]
Include=Hiddev.inf
Needs=USBHIDDevice
CopyFiles=USBJSTICK.CopyList, INF.Copy
AddReg=USBJSTICK.AddReg
UpdateInis=MSJSTICK.UpdateInis

[HIDGameDevice2]
CopyFiles=USBGAMEPAD.CopyList, INF.Copy
AddReg=USBGAMEPAD.AddReg
UpdateInis=MSJSTICK.UpdateInis

[USBJSTICK.CopyList]
zeropage.dll
forcedrv.dll
gmain.exe

[INF.Copy]
usbgame.inf


[USBJSTICK.AddReg]
HKR,,DevLoader,0,*ntkern
HKR,,NTMPDriver,0,"hidusb.sys,joyhid.vxd"
HKCR,CLSID\{0BB59400-A089-11d4-A8A5-00C026BA473D},,,%String2%
HKCR,CLSID\{0BB59400-A089-11d4-A8A5-00C026BA473D}\InProcServer32,,,%11%"\forcedrv.dll"
HKCR,CLSID\{0BB59400-A089-11d4-A8A5-00C026BA473D}\InProcServer32,ThreadingModel,,"Both"

HKCR,CLSID\{2F415BA1-B648-11d4-A8A5-00C026BA473D}\,,,%String3%
HKCR,CLSID\{2F415BA1-B648-11d4-A8A5-00C026BA473D}\ProgID,,,%USB\VID_0C12&PID_0005.DeviceDesc%
HKCR,CLSID\{2F415BA1-B648-11d4-A8A5-00C026BA473D}\InProcHandler32,,,"%11%\gchand.dll"
HKCR,CLSID\{2F415BA1-B648-11d4-A8A5-00C026BA473D}\InProcServer32,,,"%11%\zeropage.dll"
HKCR,CLSID\{2F415BA1-B648-11d4-A8A5-00C026BA473D}\InProcServer32,ThreadingModel,,"Apartment"

HKLM,System\CurrentControlSet\Control\MediaProperties\PrivateProperties\Joystick\OEM\VID_0C12&PID_0005,OEMName,,%USB\VID_0C12&PID_0005.DeviceDesc%
HKLM,System\CurrentControlSet\Control\MediaProperties\PrivateProperties\Joystick\OEM\VID_0C12&PID_0005,ConfigCLSID,,"{2F415BA1-B648-11d4-A8A5-00C026BA473D}"
HKLM,System\CurrentControlSet\Control\MediaProperties\PrivateProperties\Joystick\OEM\VID_0C12&PID_0005,OEMCallOut,0,joyhid.vxd
HKLM,System\CurrentControlSet\Control\MediaProperties\PrivateProperties\Joystick\OEM\VID_0C12&PID_0005,OEMData,1,03,00,08,00,08,00,00,00

;----------------------------------------------------------------------------
;       Add Registry entries for Force Feedback (axis info.)
;----------------------------------------------------------------------------
HKLM,System\CurrentControlSet\Control\MediaProperties\PrivateProperties\Joystick\OEM\VID_0C12&PID_0005\Axes\0,,FLG_ADDREG_TYPE_SZ,"X axis"
HKLM,System\CurrentControlSet\Control\MediaProperties\PrivateProperties\Joystick\OEM\VID_0C12&PID_0005\Axes\0,Attributes,3,01,81,00,00
HKLM,System\CurrentControlSet\Control\MediaProperties\PrivateProperties\Joystick\OEM\VID_0C12&PID_0005\Axes\0,FFAttributes,3,0a,00,00,00,00,01,00,00

HKLM,System\CurrentControlSet\Control\MediaProperties\PrivateProperties\Joystick\OEM\VID_0C12&PID_0005\Axes\1,,FLG_ADDREG_TYPE_SZ,"Y axis"
HKLM,System\CurrentControlSet\Control\MediaProperties\PrivateProperties\Joystick\OEM\VID_0C12&PID_0005\Axes\1,Attributes,3,01,81,00,00
HKLM,System\CurrentControlSet\Control\MediaProperties\PrivateProperties\Joystick\OEM\VID_0C12&PID_0005\Axes\1,FFAttributes,3,0a,00,00,00,0,01,00,00

HKLM,System\CurrentControlSet\Control\MediaProperties\PrivateProperties\Joystick\OEM\VID_0C12&PID_0005\Axes\2,,FLG_ADDREG_TYPE_SZ,"I axis"
HKLM,System\CurrentControlSet\Control\MediaProperties\PrivateProperties\Joystick\OEM\VID_0C12&PID_0005\Axes\2,Attributes,3,01,81,00,00
HKLM,System\CurrentControlSet\Control\MediaProperties\PrivateProperties\Joystick\OEM\VID_0C12&PID_0005\Axes\2,FFAttributes,3,0a,00,00,00,00,01,00,00

HKLM,System\CurrentControlSet\Control\MediaProperties\PrivateProperties\Joystick\OEM\VID_0C12&PID_0005\Axes\3,,FLG_ADDREG_TYPE_SZ,"J axis"
HKLM,System\CurrentControlSet\Control\MediaProperties\PrivateProperties\Joystick\OEM\VID_0C12&PID_0005\Axes\3,Attributes,3,01,81,00,00
HKLM,System\CurrentControlSet\Control\MediaProperties\PrivateProperties\Joystick\OEM\VID_0C12&PID_0005\Axes\3,FFAttributes,3,0a,00,00,00,00,01,00,00

;----------------------------------------------------------------------------
;       Add Registry entries for Force Feedback (button info.)
;----------------------------------------------------------------------------
HKLM,System\CurrentControlSet\Control\MediaProperties\PrivateProperties\Joystick\OEM\VID_0C12&PID_0005\Buttons\0,,FLG_ADDREG_TYPE_SZ,"Button A"
HKLM,System\CurrentControlSet\Control\MediaProperties\PrivateProperties\Joystick\OEM\VID_0C12&PID_0005\Buttons\0,Attributes,3,02,80,00,00

HKLM,System\CurrentControlSet\Control\MediaProperties\PrivateProperties\Joystick\OEM\VID_0C12&PID_0005\Buttons\1,,FLG_ADDREG_TYPE_SZ,"Button B"
HKLM,System\CurrentControlSet\Control\MediaProperties\PrivateProperties\Joystick\OEM\VID_0C12&PID_0005\Buttons\1,Attributes,3,02,80,00,00

HKLM,System\CurrentControlSet\Control\MediaProperties\PrivateProperties\Joystick\OEM\VID_0C12&PID_0005\Buttons\2,,FLG_ADDREG_TYPE_SZ,"Button C"
HKLM,System\CurrentControlSet\Control\MediaProperties\PrivateProperties\Joystick\OEM\VID_0C12&PID_0005\Buttons\2,Attributes,3,02,80,00,00

HKLM,System\CurrentControlSet\Control\MediaProperties\PrivateProperties\Joystick\OEM\VID_0C12&PID_0005\Buttons\3,,FLG_ADDREG_TYPE_SZ,"Button D"
HKLM,System\CurrentControlSet\Control\MediaProperties\PrivateProperties\Joystick\OEM\VID_0C12&PID_0005\Buttons\3,Attributes,3,02,80,00,00

HKLM,System\CurrentControlSet\Control\MediaProperties\PrivateProperties\Joystick\OEM\VID_0C12&PID_0005\Buttons\4,,FLG_ADDREG_TYPE_SZ,"Button E"
HKLM,System\CurrentControlSet\Control\MediaProperties\PrivateProperties\Joystick\OEM\VID_0C12&PID_0005\Buttons\4,Attributes,3,02,80,00,00

HKLM,System\CurrentControlSet\Control\MediaProperties\PrivateProperties\Joystick\OEM\VID_0C12&PID_0005\Buttons\5,,FLG_ADDREG_TYPE_SZ,"Button F"
HKLM,System\CurrentControlSet\Control\MediaProperties\PrivateProperties\Joystick\OEM\VID_0C12&PID_0005\Buttons\5,Attributes,3,02,80,00,00

HKLM,System\CurrentControlSet\Control\MediaProperties\PrivateProperties\Joystick\OEM\VID_0C12&PID_0005\Buttons\6,,FLG_ADDREG_TYPE_SZ,"Button G"
HKLM,System\CurrentControlSet\Control\MediaProperties\PrivateProperties\Joystick\OEM\VID_0C12&PID_0005\Buttons\6,Attributes,3,02,80,00,00

HKLM,System\CurrentControlSet\Control\MediaProperties\PrivateProperties\Joystick\OEM\VID_0C12&PID_0005\Buttons\7,,FLG_ADDREG_TYPE_SZ,"Button H"
HKLM,System\CurrentControlSet\Control\MediaProperties\PrivateProperties\Joystick\OEM\VID_0C12&PID_0005\Buttons\7,Attributes,3,02,80,00,00

;----------------------------------------------------------------------------
;       Add Registry entries for Force Feedback (OEM ForceFeedback setting)
;----------------------------------------------------------------------------
HKLM,System\CurrentControlSet\Control\MediaProperties\PrivateProperties\Joystick\OEM\VID_0C12&PID_0005\OEMForceFeedback,Attributes,3,00,00,00,00,e8,03,00,00,e8,03,00,00
HKLM,System\CurrentControlSet\Control\MediaProperties\PrivateProperties\Joystick\OEM\VID_0C12&PID_0005\OEMForceFeedback,CLSID,FLG_ADDREG_TYPE_SZ,"{0BB59400-A089-11d4-A8A5-00C026BA473D}"

HKLM,System\CurrentControlSet\Control\MediaProperties\PrivateProperties\Joystick\OEM\VID_0C12&PID_0005\OEMForceFeedback\Effects\{13541C20-8E33-11D0-9AD0-00A0C9A06E35},,FLG_ADDREG_TYPE_SZ,"Constant Force"
HKLM,System\CurrentControlSet\Control\MediaProperties\PrivateProperties\Joystick\OEM\VID_0C12&PID_0005\OEMForceFeedback\Effects\{13541C20-8E33-11D0-9AD0-00A0C9A06E35},Attributes,3,65,00,02,00,01,00,00,00,ed,01,00,00,cd,01,00,00,30,00,00,00

HKLM,System\CurrentControlSet\Control\MediaProperties\PrivateProperties\Joystick\OEM\VID_0C12&PID_0005\OEMForceFeedback\Effects\{13541C21-8E33-11D0-9AD0-00A0C9A06E35},,FLG_ADDREG_TYPE_SZ,"Ramp Force"
HKLM,System\CurrentControlSet\Control\MediaProperties\PrivateProperties\Joystick\OEM\VID_0C12&PID_0005\OEMForceFeedback\Effects\{13541C21-8E33-11D0-9AD0-00A0C9A06E35},Attributes,3,6a,00,02,00,02,00,00,00,ef,01,00,00,cf,01,00,00,30,00,00,00

HKLM,System\CurrentControlSet\Control\MediaProperties\PrivateProperties\Joystick\OEM\VID_0C12&PID_0005\OEMForceFeedback\Effects\{13541C22-8E33-11D0-9AD0-00A0C9A06E35},,FLG_ADDREG_TYPE_SZ,"Square"
HKLM,System\CurrentControlSet\Control\MediaProperties\PrivateProperties\Joystick\OEM\VID_0C12&PID_0005\OEMForceFeedback\Effects\{13541C22-8E33-11D0-9AD0-00A0C9A06E35},Attributes,3,69,00,02,00,03,00,00,00,ef,01,00,00,cf,01,00,00,30,00,00,00

HKLM,System\CurrentControlSet\Control\MediaProperties\PrivateProperties\Joystick\OEM\VID_0C12&PID_0005\OEMForceFeedback\Effects\{13541C23-8E33-11D0-9AD0-00A0C9A06E35},,FLG_ADDREG_TYPE_SZ,"Sine"
HKLM,System\CurrentControlSet\Control\MediaProperties\PrivateProperties\Joystick\OEM\VID_0C12&PID_0005\OEMForceFeedback\Effects\{13541C23-8E33-11D0-9AD0-00A0C9A06E35},Attributes,3,66,00,02,00,03,00,00,00,ef,01,00,00,cf,01,00,00,30,00,00,00

HKLM,System\CurrentControlSet\Control\MediaProperties\PrivateProperties\Joystick\OEM\VID_0C12&PID_0005\OEMForceFeedback\Effects\{13541C24-8E33-11D0-9AD0-00A0C9A06E35},,FLG_ADDREG_TYPE_SZ,"Triangle"
HKLM,System\CurrentControlSet\Control\MediaProperties\PrivateProperties\Joystick\OEM\VID_0C12&PID_0005\OEMForceFeedback\Effects\{13541C24-8E33-11D0-9AD0-00A0C9A06E35},Attributes,3,6c,00,02,00,03,00,00,00,ef,01,00,00,cf,01,00,00,30,00,00,00

HKLM,System\CurrentControlSet\Control\MediaProperties\PrivateProperties\Joystick\OEM\VID_0C12&PID_0005\OEMForceFeedback\Effects\{13541C25-8E33-11D0-9AD0-00A0C9A06E35},,FLG_ADDREG_TYPE_SZ,"SawtoothUp"
HKLM,System\CurrentControlSet\Control\MediaProperties\PrivateProperties\Joystick\OEM\VID_0C12&PID_0005\OEMForceFeedback\Effects\{13541C25-8E33-11D0-9AD0-00A0C9A06E35},Attributes,3,6e,00,02,00,03,00,00,00,ef,01,00,00,cf,01,00,00,30,00,00,00

HKLM,System\CurrentControlSet\Control\MediaProperties\PrivateProperties\Joystick\OEM\VID_0C12&PID_0005\OEMForceFeedback\Effects\{13541C26-8E33-11D0-9AD0-00A0C9A06E35},,FLG_ADDREG_TYPE_SZ,"SawtoothDown"
HKLM,System\CurrentControlSet\Control\MediaProperties\PrivateProperties\Joystick\OEM\VID_0C12&PID_0005\OEMForceFeedback\Effects\{13541C26-8E33-11D0-9AD0-00A0C9A06E35},Attributes,3,6f,00,02,00,03,00,00,00,ef,01,00,00,cf,01,00,00,30,00,00,00

HKLM,System\CurrentControlSet\Control\MediaProperties\PrivateProperties\Joystick\OEM\VID_0C12&PID_0005\OEMForceFeedback\Effects\{13541C27-8E33-11D0-9AD0-00A0C9A06E35},,FLG_ADDREG_TYPE_SZ,"Spring"
HKLM,System\CurrentControlSet\Control\MediaProperties\PrivateProperties\Joystick\OEM\VID_0C12&PID_0005\OEMForceFeedback\Effects\{13541C27-8E33-11D0-9AD0-00A0C9A06E35},Attributes,3,01,00,01,00,04,00,00,00,29,01,00,00,09,01,00,00,30,00,00,00

HKLM,System\CurrentControlSet\Control\MediaProperties\PrivateProperties\Joystick\OEM\VID_0C12&PID_0005\OEMForceFeedback\Effects\{13541C28-8E33-11D0-9AD0-00A0C9A06E35},,FLG_ADDREG_TYPE_SZ,"Damper"
HKLM,System\CurrentControlSet\Control\MediaProperties\PrivateProperties\Joystick\OEM\VID_0C12&PID_0005\OEMForceFeedback\Effects\{13541C28-8E33-11D0-9AD0-00A0C9A06E35},Attributes,3,03,00,01,00,04,00,00,00,29,01,00,00,09,01,00,00,30,00,00,00

HKLM,System\CurrentControlSet\Control\MediaProperties\PrivateProperties\Joystick\OEM\VID_0C12&PID_0005\OEMForceFeedback\Effects\{13541C29-8E33-11D0-9AD0-00A0C9A06E35},,FLG_ADDREG_TYPE_SZ,"Inertia"
HKLM,System\CurrentControlSet\Control\MediaProperties\PrivateProperties\Joystick\OEM\VID_0C12&PID_0005\OEMForceFeedback\Effects\{13541C29-8E33-11D0-9AD0-00A0C9A06E35},Attributes,3,05,00,01,00,04,00,00,00,29,01,00,00,09,01,00,00,30,00,00,00

HKLM,System\CurrentControlSet\Control\MediaProperties\PrivateProperties\Joystick\OEM\VID_0C12&PID_0005\OEMForceFeedback\Effects\{13541C2A-8E33-11D0-9AD0-00A0C9A06E35},,FLG_ADDREG_TYPE_SZ,"Friction"
HKLM,System\CurrentControlSet\Control\MediaProperties\PrivateProperties\Joystick\OEM\VID_0C12&PID_0005\OEMForceFeedback\Effects\{13541C2A-8E33-11D0-9AD0-00A0C9A06E35},Attributes,3,07,00,01,00,04,00,00,00,29,01,00,00,09,01,00,00,30,00,00,00

HKLM,System\CurrentControlSet\Control\MediaProperties\PrivateProperties\Joystick\OEM\VID_0C12&PID_0005\OEMForceFeedback\Effects\{13541C2B-8E33-11D0-9AD0-00A0C9A06E35},,FLG_ADDREG_TYPE_SZ,"Custom Force"
HKLM,System\CurrentControlSet\Control\MediaProperties\PrivateProperties\Joystick\OEM\VID_0C12&PID_0005\OEMForceFeedback\Effects\{13541C2B-8E33-11D0-9AD0-00A0C9A06E35},Attributes,3,C9,00,03,00,05,00,00,00,6F,01,00,00,4F,01,00,00,30,00,00,00




[USBGAMEPAD.CopyList]
hidusb.sys
joyhid.vxd
hidclass.sys
hidparse.sys
usbpad.dll

[USBGAMEPAD.AddReg]
HKR,,DevLoader,0,*ntkern
HKR,,NTMPDriver,0,"hidusb.sys,joyhid.vxd"


[MSJSTICK.UpdateInis]
system.ini,drivers,joystick,,0

[ControlFlags]

[HIDClassReg]
HKR,,,0,HID

[BaseWinOptions]
Inst_Hiddev

[Inst_Hiddev]
Copyfiles=Hid.Inf.Copy

[Hid.Inf.Copy]
hiddev.inf

[Strings]
VENDOR ="ZP Systems Inc."
String0="Microsoft"
String1="Microsoft"
String2="Force Feedback Device (USB)"
String3="Game Controllers Custom Property Sheet"
USB\VID_0C12&PID_0005.DeviceDesc = "USB Vibration Gamepad"
HID_DEVICE_SYSTEM_GAME = "HID-compliant game controller"

MediaClassName="Sound, video and game controllers"


server: web4, load: 0.76