C# 클래스 vJoyInterfaceWrap.vJoy

파일 보기 프로젝트 열기: shauleiz/vJoy 1 사용 예제들

공개 메소드들

메소드 설명
AcquireVJD ( UInt32 rID ) : bool
DriverMatch ( UInt32 &DllVer, UInt32 &DrvVer ) : bool
FfbRegisterGenCB ( FfbCbFunc cb, object data ) : void
FfbRegisterGenCB ( WrapFfbCbFunc cb, IntPtr data ) : void
Ffb_h_DevCtrl ( IntPtr Packet, FFB_CTRL &Control ) : UInt32
Ffb_h_DevGain ( IntPtr Packet, Byte &Gain ) : UInt32
Ffb_h_DeviceID ( IntPtr Packet, int &DeviceID ) : UInt32
Ffb_h_EBI ( IntPtr Packet, Int32 &Index ) : UInt32
Ffb_h_EffNew ( IntPtr Packet, FFBEType &Effect ) : UInt32
Ffb_h_EffOp ( IntPtr Packet, FFB_EFF_OP &Operation ) : UInt32
Ffb_h_Eff_Cond ( IntPtr Packet, FFB_EFF_COND &Condition ) : UInt32
Ffb_h_Eff_Constant ( IntPtr Packet, FFB_EFF_CONSTANT &ConstantEffect ) : UInt32
Ffb_h_Eff_Envlp ( IntPtr Packet, FFB_EFF_ENVLP &Envelope ) : UInt32
Ffb_h_Eff_Period ( IntPtr Packet, FFB_EFF_PERIOD &Effect ) : UInt32
Ffb_h_Eff_Ramp ( IntPtr Packet, FFB_EFF_RAMP &RampEffect ) : UInt32
Ffb_h_Eff_Report ( IntPtr Packet, FFB_EFF_REPORT &Effect ) : UInt32
Ffb_h_Packet ( IntPtr Packet, UInt32 &Type, Int32 &DataSize, Byte &Data ) : UInt32
Ffb_h_Type ( IntPtr Packet, FFBPType &Type ) : UInt32
GetOwnerPid ( UInt32 rID ) : int
GetVJDAxisExist ( UInt32 rID, HID_USAGES Axis ) : bool
GetVJDAxisMax ( UInt32 rID, HID_USAGES Axis, long &Max ) : bool
GetVJDAxisMin ( UInt32 rID, HID_USAGES Axis, long &Min ) : bool
GetVJDButtonNumber ( uint rID ) : int
GetVJDContPovNumber ( uint rID ) : int
GetVJDDiscPovNumber ( uint rID ) : int
GetVJDStatus ( UInt32 rID ) : VjdStat
GetvJoyManufacturerString ( ) : string
GetvJoyProductString ( ) : string
GetvJoySerialNumberString ( ) : string
GetvJoyVersion ( ) : short
IsDeviceFfb ( UInt32 rID ) : bool
IsDeviceFfbEffect ( UInt32 rID, UInt32 Effect ) : bool
RegisterRemovalCB ( RemovalCbFunc cb, object data ) : void
RegisterRemovalCB ( WrapRemovalCbFunc cb, IntPtr data ) : void
RelinquishVJD ( uint rID ) : void
ResetAll ( ) : bool
ResetButtons ( UInt32 rID ) : bool
ResetPovs ( UInt32 rID ) : bool
ResetVJD ( UInt32 rID ) : bool
SetAxis ( Int32 Value, UInt32 rID, HID_USAGES Axis ) : bool
SetBtn ( bool Value, UInt32 rID, uint nBtn ) : bool
SetContPov ( Int32 Value, UInt32 rID, uint nPov ) : bool
SetDiscPov ( Int32 Value, UInt32 rID, uint nPov ) : bool
UpdateVJD ( UInt32 rID, JoystickState &pData ) : bool
WrapperFfbCB ( IntPtr data, IntPtr userData ) : void
WrapperRemCB ( bool complete, bool First, IntPtr userData ) : void
isVJDExists ( UInt32 rID ) : bool
vJoyEnabled ( ) : bool

비공개 메소드들

메소드 설명
FfbStart ( UInt32 rID ) : bool
FfbStop ( UInt32 rID ) : bool
Ffb_h_Eff_Const ( IntPtr Packet, FFB_EFF_CONST &Effect ) : UInt32
_AcquireVJD ( UInt32 rID ) : bool
_DriverMatch ( UInt32 &DllVer, UInt32 &DrvVer ) : bool
_FfbRegisterGenCB ( WrapFfbCbFunc cb, IntPtr data ) : void
_FfbStart ( UInt32 rID ) : bool
_FfbStop ( UInt32 rID ) : bool
_Ffb_h_DevCtrl ( IntPtr Packet, FFB_CTRL &Control ) : UInt32
_Ffb_h_DevGain ( IntPtr Packet, Byte &Gain ) : UInt32
_Ffb_h_DeviceID ( IntPtr Packet, int &DeviceID ) : UInt32
_Ffb_h_EBI ( IntPtr Packet, Int32 &Index ) : UInt32
_Ffb_h_EffNew ( IntPtr Packet, FFBEType &Effect ) : UInt32
_Ffb_h_EffOp ( IntPtr Packet, FFB_EFF_OP &Operation ) : UInt32
_Ffb_h_Eff_Cond ( IntPtr Packet, FFB_EFF_COND &Condition ) : UInt32
_Ffb_h_Eff_Const ( IntPtr Packet, FFB_EFF_CONST &Effect ) : UInt32
_Ffb_h_Eff_Constant ( IntPtr Packet, FFB_EFF_CONSTANT &ConstantEffect ) : UInt32
_Ffb_h_Eff_Envlp ( IntPtr Packet, FFB_EFF_ENVLP &Envelope ) : UInt32
_Ffb_h_Eff_Period ( IntPtr Packet, FFB_EFF_PERIOD &Effect ) : UInt32
_Ffb_h_Eff_Ramp ( IntPtr Packet, FFB_EFF_RAMP &RampEffect ) : UInt32
_Ffb_h_Eff_Report ( IntPtr Packet, FFB_EFF_REPORT &Effect ) : UInt32
_Ffb_h_Packet ( IntPtr Packet, UInt32 &Type, Int32 &DataSize, IntPtr &Data ) : UInt32
_Ffb_h_Type ( IntPtr Packet, FFBPType &Type ) : UInt32
_GetOwnerPid ( UInt32 rID ) : int
_GetVJDAxisExist ( UInt32 rID, UInt32 Axis ) : UInt32
_GetVJDAxisMax ( UInt32 rID, UInt32 Axis, long &Max ) : bool
_GetVJDAxisMin ( UInt32 rID, UInt32 Axis, long &Min ) : bool
_GetVJDButtonNumber ( UInt32 rID ) : int
_GetVJDContPovNumber ( UInt32 rID ) : int
_GetVJDDiscPovNumber ( UInt32 rID ) : int
_GetVJDStatus ( UInt32 rID ) : int
_GetvJoyManufacturerString ( ) : IntPtr
_GetvJoyProductString ( ) : IntPtr
_GetvJoySerialNumberString ( ) : IntPtr
_GetvJoyVersion ( ) : short
_IsDeviceFfb ( UInt32 rID ) : bool
_IsDeviceFfbEffect ( UInt32 rID, UInt32 Effect ) : bool
_RegisterRemovalCB ( WrapRemovalCbFunc cb, IntPtr data ) : void
_RelinquishVJD ( UInt32 rID ) : void
_ResetAll ( ) : bool
_ResetButtons ( UInt32 rID ) : bool
_ResetPovs ( UInt32 rID ) : bool
_ResetVJD ( UInt32 rID ) : bool
_SetAxis ( Int32 Value, UInt32 rID, HID_USAGES Axis ) : bool
_SetBtn ( bool Value, UInt32 rID, Byte nBtn ) : bool
_SetContPov ( Int32 Value, UInt32 rID, uint nPov ) : bool
_SetDiscPov ( Int32 Value, UInt32 rID, uint nPov ) : bool
_UpdateVJD ( UInt32 rID, JoystickState &pData ) : bool
_isVJDExists ( UInt32 rID ) : bool
_vJoyEnabled ( ) : bool

메소드 상세

AcquireVJD() 공개 메소드

public AcquireVJD ( UInt32 rID ) : bool
rID System.UInt32
리턴 bool

DriverMatch() 공개 메소드

public DriverMatch ( UInt32 &DllVer, UInt32 &DrvVer ) : bool
DllVer System.UInt32
DrvVer System.UInt32
리턴 bool

FfbRegisterGenCB() 공개 메소드

public FfbRegisterGenCB ( FfbCbFunc cb, object data ) : void
cb FfbCbFunc
data object
리턴 void

FfbRegisterGenCB() 공개 메소드

public FfbRegisterGenCB ( WrapFfbCbFunc cb, IntPtr data ) : void
cb WrapFfbCbFunc
data System.IntPtr
리턴 void

Ffb_h_DevCtrl() 공개 메소드

public Ffb_h_DevCtrl ( IntPtr Packet, FFB_CTRL &Control ) : UInt32
Packet System.IntPtr
Control FFB_CTRL
리턴 System.UInt32

Ffb_h_DevGain() 공개 메소드

public Ffb_h_DevGain ( IntPtr Packet, Byte &Gain ) : UInt32
Packet System.IntPtr
Gain Byte
리턴 System.UInt32

Ffb_h_DeviceID() 공개 메소드

public Ffb_h_DeviceID ( IntPtr Packet, int &DeviceID ) : UInt32
Packet System.IntPtr
DeviceID int
리턴 System.UInt32

Ffb_h_EBI() 공개 메소드

public Ffb_h_EBI ( IntPtr Packet, Int32 &Index ) : UInt32
Packet System.IntPtr
Index System.Int32
리턴 System.UInt32

Ffb_h_EffNew() 공개 메소드

public Ffb_h_EffNew ( IntPtr Packet, FFBEType &Effect ) : UInt32
Packet System.IntPtr
Effect FFBEType
리턴 System.UInt32

Ffb_h_EffOp() 공개 메소드

public Ffb_h_EffOp ( IntPtr Packet, FFB_EFF_OP &Operation ) : UInt32
Packet System.IntPtr
Operation FFB_EFF_OP
리턴 System.UInt32

Ffb_h_Eff_Cond() 공개 메소드

public Ffb_h_Eff_Cond ( IntPtr Packet, FFB_EFF_COND &Condition ) : UInt32
Packet System.IntPtr
Condition FFB_EFF_COND
리턴 System.UInt32

Ffb_h_Eff_Constant() 공개 메소드

public Ffb_h_Eff_Constant ( IntPtr Packet, FFB_EFF_CONSTANT &ConstantEffect ) : UInt32
Packet System.IntPtr
ConstantEffect FFB_EFF_CONSTANT
리턴 System.UInt32

Ffb_h_Eff_Envlp() 공개 메소드

public Ffb_h_Eff_Envlp ( IntPtr Packet, FFB_EFF_ENVLP &Envelope ) : UInt32
Packet System.IntPtr
Envelope FFB_EFF_ENVLP
리턴 System.UInt32

Ffb_h_Eff_Period() 공개 메소드

public Ffb_h_Eff_Period ( IntPtr Packet, FFB_EFF_PERIOD &Effect ) : UInt32
Packet System.IntPtr
Effect FFB_EFF_PERIOD
리턴 System.UInt32

Ffb_h_Eff_Ramp() 공개 메소드

public Ffb_h_Eff_Ramp ( IntPtr Packet, FFB_EFF_RAMP &RampEffect ) : UInt32
Packet System.IntPtr
RampEffect FFB_EFF_RAMP
리턴 System.UInt32

Ffb_h_Eff_Report() 공개 메소드

public Ffb_h_Eff_Report ( IntPtr Packet, FFB_EFF_REPORT &Effect ) : UInt32
Packet System.IntPtr
Effect FFB_EFF_REPORT
리턴 System.UInt32

Ffb_h_Packet() 공개 메소드

public Ffb_h_Packet ( IntPtr Packet, UInt32 &Type, Int32 &DataSize, Byte &Data ) : UInt32
Packet IntPtr
Type UInt32
DataSize Int32
Data Byte
리턴 UInt32

Ffb_h_Type() 공개 메소드

public Ffb_h_Type ( IntPtr Packet, FFBPType &Type ) : UInt32
Packet IntPtr
Type FFBPType
리턴 UInt32

GetOwnerPid() 공개 메소드

public GetOwnerPid ( UInt32 rID ) : int
rID UInt32
리턴 int

GetVJDAxisExist() 공개 메소드

public GetVJDAxisExist ( UInt32 rID, HID_USAGES Axis ) : bool
rID UInt32
Axis HID_USAGES
리턴 bool

GetVJDAxisMax() 공개 메소드

public GetVJDAxisMax ( UInt32 rID, HID_USAGES Axis, long &Max ) : bool
rID UInt32
Axis HID_USAGES
Max long
리턴 bool

GetVJDAxisMin() 공개 메소드

public GetVJDAxisMin ( UInt32 rID, HID_USAGES Axis, long &Min ) : bool
rID UInt32
Axis HID_USAGES
Min long
리턴 bool

GetVJDButtonNumber() 공개 메소드

public GetVJDButtonNumber ( uint rID ) : int
rID uint
리턴 int

GetVJDContPovNumber() 공개 메소드

public GetVJDContPovNumber ( uint rID ) : int
rID uint
리턴 int

GetVJDDiscPovNumber() 공개 메소드

public GetVJDDiscPovNumber ( uint rID ) : int
rID uint
리턴 int

GetVJDStatus() 공개 메소드

public GetVJDStatus ( UInt32 rID ) : VjdStat
rID UInt32
리턴 VjdStat

GetvJoyManufacturerString() 공개 메소드

public GetvJoyManufacturerString ( ) : string
리턴 string

GetvJoyProductString() 공개 메소드

public GetvJoyProductString ( ) : string
리턴 string

GetvJoySerialNumberString() 공개 메소드

public GetvJoySerialNumberString ( ) : string
리턴 string

GetvJoyVersion() 공개 메소드

public GetvJoyVersion ( ) : short
리턴 short

IsDeviceFfb() 공개 메소드

public IsDeviceFfb ( UInt32 rID ) : bool
rID UInt32
리턴 bool

IsDeviceFfbEffect() 공개 메소드

public IsDeviceFfbEffect ( UInt32 rID, UInt32 Effect ) : bool
rID UInt32
Effect UInt32
리턴 bool

RegisterRemovalCB() 공개 메소드

public RegisterRemovalCB ( RemovalCbFunc cb, object data ) : void
cb RemovalCbFunc
data object
리턴 void

RegisterRemovalCB() 공개 메소드

public RegisterRemovalCB ( WrapRemovalCbFunc cb, IntPtr data ) : void
cb WrapRemovalCbFunc
data IntPtr
리턴 void

RelinquishVJD() 공개 메소드

public RelinquishVJD ( uint rID ) : void
rID uint
리턴 void

ResetAll() 공개 메소드

public ResetAll ( ) : bool
리턴 bool

ResetButtons() 공개 메소드

public ResetButtons ( UInt32 rID ) : bool
rID UInt32
리턴 bool

ResetPovs() 공개 메소드

public ResetPovs ( UInt32 rID ) : bool
rID UInt32
리턴 bool

ResetVJD() 공개 메소드

public ResetVJD ( UInt32 rID ) : bool
rID UInt32
리턴 bool

SetAxis() 공개 메소드

public SetAxis ( Int32 Value, UInt32 rID, HID_USAGES Axis ) : bool
Value Int32
rID UInt32
Axis HID_USAGES
리턴 bool

SetBtn() 공개 메소드

public SetBtn ( bool Value, UInt32 rID, uint nBtn ) : bool
Value bool
rID UInt32
nBtn uint
리턴 bool

SetContPov() 공개 메소드

public SetContPov ( Int32 Value, UInt32 rID, uint nPov ) : bool
Value Int32
rID UInt32
nPov uint
리턴 bool

SetDiscPov() 공개 메소드

public SetDiscPov ( Int32 Value, UInt32 rID, uint nPov ) : bool
Value Int32
rID UInt32
nPov uint
리턴 bool

UpdateVJD() 공개 메소드

public UpdateVJD ( UInt32 rID, JoystickState &pData ) : bool
rID UInt32
pData JoystickState
리턴 bool

WrapperFfbCB() 공개 정적인 메소드

public static WrapperFfbCB ( IntPtr data, IntPtr userData ) : void
data IntPtr
userData IntPtr
리턴 void

WrapperRemCB() 공개 정적인 메소드

public static WrapperRemCB ( bool complete, bool First, IntPtr userData ) : void
complete bool
First bool
userData IntPtr
리턴 void

isVJDExists() 공개 메소드

public isVJDExists ( UInt32 rID ) : bool
rID UInt32
리턴 bool

vJoyEnabled() 공개 메소드

public vJoyEnabled ( ) : bool
리턴 bool