USBPAD.INF Driver File Contents (gemini_winxp.zip)

Driver Package File Name: gemini_winxp.zip
File Size: 361.0 KB

[Version]
Signature="$CHICAGO$"
Class=HIDClass
ClassGuid={745a17a0-74d3-11d0-b6fe-00a0c90f57da}
Provider=%VENDOR%
DriverVer=05/11/2000, 3.60.136.0
LayoutFile=layout.inf


[SourceDisksNames]
98="Gemini Vibration Gamepad","",,\

[SourceDisksFiles]
ankppage.dll=98
ankpdfor.dll=98
usbgame.inf=98


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


;[ControlFlags]
;ExcludeFromSelect = *

[ClassInstall]
Addreg=HIDClassReg

[HIDClassReg]
HKR,,,,%HID.ClassName%
;
;
HKR,,Icon,,-20

[ClassInstall32]
Addreg=HIDClassReg32

[HIDClassReg32]
HKR,,,,%HID.ClassName%
HKR,,Icon,,-24


[Manufacturer]
%VENDOR%=Standard

[Standard]
%USB\VID_05EF&PID_0003.DeviceDesc%=HID_Inst, USB\VID_05EF&PID_0003

[HID_Inst.NT]
CopyFiles = USBGAMEPAD.Copy.DLL, HID_Inst.CopyFiles.NT, HID_Inst.CopyFilesDLL.NT
AddReg    = USBGAMEPAD.AddReg

[HID_Inst.NT.Services]
;AddService = HidUsb,%SPSVCINST_ASSOCSERVICE%,HID_Service_Inst
AddService = HidUsb,0x00000002,HID_Service_Inst

;-------------COPY FILE ---------------------------------------------
[USBGAMEPAD.Copy.DLL]
ankppage.dll
ankpdfor.dll


; Sub Sections
[HID_Inst.CopyFiles.NT]
hidusb.sys
hidclass.sys
hidparse.sys

[HID_INST.CopyFilesDLL.NT]
hid.dll


[HID_Service_Inst]
DisplayName    = %HID.SvcDesc%
ServiceType    = 1 ; %SERVICE_KERNEL_DRIVER%
StartType      = 2 ;%SERVICE_AUTO_START%
ErrorControl   = 1 ;%SERVICE_ERROR_IGNORE%
ServiceBinary  = %12%\hidusb.sys
LoadOrderGroup = extended base


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

HKCR,CLSID\{3ADA68C2-CA34-11d5-BFE5-00C026BA473D},,,%String2%
HKCR,CLSID\{3ADA68C2-CA34-11d5-BFE5-00C026BA473D}\InProcServer32,,,%11%"\ankpdfor.dll"
HKCR,CLSID\{3ADA68C2-CA34-11d5-BFE5-00C026BA473D}\InProcServer32,ThreadingModel,,"Both"

HKCR,CLSID\{D2F1BBC2-CA36-11d5-BFE5-00C026BA473D}\,,,%String3%
HKCR,CLSID\{D2F1BBC2-CA36-11d5-BFE5-00C026BA473D}\ProgID,,,%USB\VID_05EF&PID_0003.DeviceDesc%
HKCR,CLSID\{D2F1BBC2-CA36-11d5-BFE5-00C026BA473D}\InProcHandler32,,,"%11%\gchand.dll"
HKCR,CLSID\{D2F1BBC2-CA36-11d5-BFE5-00C026BA473D}\InProcServer32,,,"%11%\ankppage.dll"
HKCR,CLSID\{D2F1BBC2-CA36-11d5-BFE5-00C026BA473D}\InProcServer32,ThreadingModel,,"Apartment"

HKLM,System\CurrentControlSet\Control\MediaProperties\PrivateProperties\Joystick\OEM\VID_05EF&PID_0003,OEMName,,%USB\VID_05EF&PID_0003.DeviceDesc%
HKLM,System\CurrentControlSet\Control\MediaProperties\PrivateProperties\Joystick\OEM\VID_05EF&PID_0003,ConfigCLSID,,"{D2F1BBC2-CA36-11d5-BFE5-00C026BA473D}"
HKLM,System\CurrentControlSet\Control\MediaProperties\PrivateProperties\Joystick\OEM\VID_05EF&PID_0003,OEMCallOut,0,joyhid.vxd
HKLM,System\CurrentControlSet\Control\MediaProperties\PrivateProperties\Joystick\OEM\VID_05EF&PID_0003,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_05EF&PID_0003\Axes\0,,FLG_ADDREG_TYPE_SZ,"X axis"
HKLM,System\CurrentControlSet\Control\MediaProperties\PrivateProperties\Joystick\OEM\VID_05EF&PID_0003\Axes\0,Attributes,3,01,81,00,00
HKLM,System\CurrentControlSet\Control\MediaProperties\PrivateProperties\Joystick\OEM\VID_05EF&PID_0003\Axes\0,FFAttributes,3,0a,00,00,00,00,01,00,00

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

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

HKLM,System\CurrentControlSet\Control\MediaProperties\PrivateProperties\Joystick\OEM\VID_05EF&PID_0003\Axes\3,,FLG_ADDREG_TYPE_SZ,"J axis"
HKLM,System\CurrentControlSet\Control\MediaProperties\PrivateProperties\Joystick\OEM\VID_05EF&PID_0003\Axes\3,Attributes,3,01,81,00,00
HKLM,System\CurrentControlSet\Control\MediaProperties\PrivateProperties\Joystick\OEM\VID_05EF&PID_0003\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_05EF&PID_0003\Buttons\0,,FLG_ADDREG_TYPE_SZ,"Button A"
HKLM,System\CurrentControlSet\Control\MediaProperties\PrivateProperties\Joystick\OEM\VID_05EF&PID_0003\Buttons\0,Attributes,3,02,80,00,00

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

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

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

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

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

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

HKLM,System\CurrentControlSet\Control\MediaProperties\PrivateProperties\Joystick\OEM\VID_05EF&PID_0003\Buttons\7,,FLG_ADDREG_TYPE_SZ,"Button H"
HKLM,System\CurrentControlSet\Control\MediaProperties\PrivateProperties\Joystick\OEM\VID_05EF&PID_0003\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_05EF&PID_0003\OEMForceFeedback,Attributes,3,00,00,00,00,e8,03,00,00,e8,03,00,00
HKLM,System\CurrentControlSet\Control\MediaProperties\PrivateProperties\Joystick\OEM\VID_05EF&PID_0003\OEMForceFeedback,CLSID,FLG_ADDREG_TYPE_SZ,"{3ADA68C2-CA34-11d5-BFE5-00C026BA473D}"

HKLM,System\CurrentControlSet\Control\MediaProperties\PrivateProperties\Joystick\OEM\VID_05EF&PID_0003\OEMForceFeedback\Effects\{13541C20-8E33-11D0-9AD0-00A0C9A06E35},,FLG_ADDREG_TYPE_SZ,"Constant Force"
HKLM,System\CurrentControlSet\Control\MediaProperties\PrivateProperties\Joystick\OEM\VID_05EF&PID_0003\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_05EF&PID_0003\OEMForceFeedback\Effects\{13541C21-8E33-11D0-9AD0-00A0C9A06E35},,FLG_ADDREG_TYPE_SZ,"Ramp Force"
HKLM,System\CurrentControlSet\Control\MediaProperties\PrivateProperties\Joystick\OEM\VID_05EF&PID_0003\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_05EF&PID_0003\OEMForceFeedback\Effects\{13541C22-8E33-11D0-9AD0-00A0C9A06E35},,FLG_ADDREG_TYPE_SZ,"Square"
HKLM,System\CurrentControlSet\Control\MediaProperties\PrivateProperties\Joystick\OEM\VID_05EF&PID_0003\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_05EF&PID_0003\OEMForceFeedback\Effects\{13541C23-8E33-11D0-9AD0-00A0C9A06E35},,FLG_ADDREG_TYPE_SZ,"Sine"
HKLM,System\CurrentControlSet\Control\MediaProperties\PrivateProperties\Joystick\OEM\VID_05EF&PID_0003\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_05EF&PID_0003\OEMForceFeedback\Effects\{13541C24-8E33-11D0-9AD0-00A0C9A06E35},,FLG_ADDREG_TYPE_SZ,"Triangle"
HKLM,System\CurrentControlSet\Control\MediaProperties\PrivateProperties\Joystick\OEM\VID_05EF&PID_0003\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_05EF&PID_0003\OEMForceFeedback\Effects\{13541C25-8E33-11D0-9AD0-00A0C9A06E35},,FLG_ADDREG_TYPE_SZ,"SawtoothUp"
HKLM,System\CurrentControlSet\Control\MediaProperties\PrivateProperties\Joystick\OEM\VID_05EF&PID_0003\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_05EF&PID_0003\OEMForceFeedback\Effects\{13541C26-8E33-11D0-9AD0-00A0C9A06E35},,FLG_ADDREG_TYPE_SZ,"SawtoothDown"
HKLM,System\CurrentControlSet\Control\MediaProperties\PrivateProperties\Joystick\OEM\VID_05EF&PID_0003\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_05EF&PID_0003\OEMForceFeedback\Effects\{13541C27-8E33-11D0-9AD0-00A0C9A06E35},,FLG_ADDREG_TYPE_SZ,"Spring"
HKLM,System\CurrentControlSet\Control\MediaProperties\PrivateProperties\Joystick\OEM\VID_05EF&PID_0003\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_05EF&PID_0003\OEMForceFeedback\Effects\{13541C28-8E33-11D0-9AD0-00A0C9A06E35},,FLG_ADDREG_TYPE_SZ,"Damper"
HKLM,System\CurrentControlSet\Control\MediaProperties\PrivateProperties\Joystick\OEM\VID_05EF&PID_0003\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_05EF&PID_0003\OEMForceFeedback\Effects\{13541C29-8E33-11D0-9AD0-00A0C9A06E35},,FLG_ADDREG_TYPE_SZ,"Inertia"
HKLM,System\CurrentControlSet\Control\MediaProperties\PrivateProperties\Joystick\OEM\VID_05EF&PID_0003\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_05EF&PID_0003\OEMForceFeedback\Effects\{13541C2A-8E33-11D0-9AD0-00A0C9A06E35},,FLG_ADDREG_TYPE_SZ,"Friction"
HKLM,System\CurrentControlSet\Control\MediaProperties\PrivateProperties\Joystick\OEM\VID_05EF&PID_0003\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_05EF&PID_0003\OEMForceFeedback\Effects\{13541C2B-8E33-11D0-9AD0-00A0C9A06E35},,FLG_ADDREG_TYPE_SZ,"Custom Force"
HKLM,System\CurrentControlSet\Control\MediaProperties\PrivateProperties\Joystick\OEM\VID_05EF&PID_0003\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



[Strings]
VENDOR = "Gemini"
String2="Gemini Force Feedback Device (USB)"
String3="Gemini Game Controllers Custom Property Sheet"
USB\VID_05EF&PID_0003.DeviceDesc = "Gemini Vibration Gamepad"
USB\VID_0603&PID_6875.DeviceDesc = "Gemini Gamepad (2 Axes, 4 Buttons)"
HID_DEVICE_SYSTEM_GAME = "HID-compliant game controller"
HID.ClassName         = "Human Input Devices (HID)"
HID.SvcDesc           = "Microsoft HID Class Driver"


SPSVCINST_ASSOCSERVICE= 0x00000002
SERVICE_KERNEL_DRIVER = 1
SERVICE_DEMAND_START  = 3
SERVICE_ERROR_IGNORE  = 0
REG_EXPAND_SZ         = 0x00020000

server: ftp, load: 1.47