C# 클래스 InControl.InputDevice

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

공개 프로퍼티들

프로퍼티 타입 설명
Null InputDevice
SortOrder int
player int

공개 메소드들

메소드 설명
Action1 ( int player = -1 ) : InputControl
Action2 ( int player = -1 ) : InputControl
Action3 ( int player = -1 ) : InputControl
Action4 ( int player = -1 ) : InputControl
AddControl ( InputControlType target, string handle, int player = -1 ) : InputControl
DPadDown ( int player = -1 ) : InputControl
DPadLeft ( int player = -1 ) : InputControl
DPadRight ( int player = -1 ) : InputControl
DPadUp ( int player = -1 ) : InputControl
DPadVector ( int player = -1 ) : Vector2
DPadX ( int player = -1 ) : float
DPadY ( int player = -1 ) : float
Direction ( int player = -1 ) : Vector2
GetControl ( Enum inputControlType, int player = -1 ) : InputControl
GetControlByName ( string inputControlName, int player = -1 ) : InputControl
GetInputControlTypeByName ( string inputControlName ) : InputControlType
InputDevice ( string name ) : System
LastChangedAfter ( InputDevice otherDevice ) : bool
LeftBumper ( int player = -1 ) : InputControl
LeftStickButton ( int player = -1 ) : InputControl
LeftStickVector ( int player = -1 ) : Vector2
LeftStickX ( int player = -1 ) : InputControl
LeftStickY ( int player = -1 ) : InputControl
LeftTrigger ( int player = -1 ) : InputControl
PostUpdate ( ulong updateTick, float deltaTime ) : void
PreUpdate ( ulong updateTick, float deltaTime ) : void
RightBumper ( int player = -1 ) : InputControl
RightStickButton ( int player = -1 ) : InputControl
RightStickVector ( int player = -1 ) : Vector2
RightStickX ( int player = -1 ) : InputControl
RightStickY ( int player = -1 ) : InputControl
RightTrigger ( int player = -1 ) : InputControl
Update ( ulong updateTick, float deltaTime ) : void
UpdateWithState ( InputControlType inputControlType, bool state, ulong updateTick, int player = -1 ) : void
UpdateWithValue ( InputControlType inputControlType, float value, ulong updateTick, int player = -1 ) : void
Vibrate ( float intensity ) : void
Vibrate ( float leftMotor, float rightMotor ) : void

비공개 메소드들

메소드 설명
ApplyCircularDeadZone ( float axisValue1, float axisValue2, float lowerDeadZone, float upperDeadZone ) : float
ApplyDeadZone ( float value, float lowerDeadZone, float upperDeadZone ) : float
ApplySmoothing ( float thisValue, float lastValue, float deltaTime, float sensitivity ) : float
ProcessAnalogControlValue ( InputControl control, float deltaTime ) : float

메소드 상세

Action1() 공개 메소드

public Action1 ( int player = -1 ) : InputControl
player int
리턴 InputControl

Action2() 공개 메소드

public Action2 ( int player = -1 ) : InputControl
player int
리턴 InputControl

Action3() 공개 메소드

public Action3 ( int player = -1 ) : InputControl
player int
리턴 InputControl

Action4() 공개 메소드

public Action4 ( int player = -1 ) : InputControl
player int
리턴 InputControl

AddControl() 공개 메소드

public AddControl ( InputControlType target, string handle, int player = -1 ) : InputControl
target InputControlType
handle string
player int
리턴 InputControl

DPadDown() 공개 메소드

public DPadDown ( int player = -1 ) : InputControl
player int
리턴 InputControl

DPadLeft() 공개 메소드

public DPadLeft ( int player = -1 ) : InputControl
player int
리턴 InputControl

DPadRight() 공개 메소드

public DPadRight ( int player = -1 ) : InputControl
player int
리턴 InputControl

DPadUp() 공개 메소드

public DPadUp ( int player = -1 ) : InputControl
player int
리턴 InputControl

DPadVector() 공개 메소드

public DPadVector ( int player = -1 ) : Vector2
player int
리턴 Vector2

DPadX() 공개 메소드

public DPadX ( int player = -1 ) : float
player int
리턴 float

DPadY() 공개 메소드

public DPadY ( int player = -1 ) : float
player int
리턴 float

Direction() 공개 메소드

public Direction ( int player = -1 ) : Vector2
player int
리턴 Vector2

GetControl() 공개 메소드

public GetControl ( Enum inputControlType, int player = -1 ) : InputControl
inputControlType System.Enum
player int
리턴 InputControl

GetControlByName() 공개 메소드

public GetControlByName ( string inputControlName, int player = -1 ) : InputControl
inputControlName string
player int
리턴 InputControl

GetInputControlTypeByName() 공개 정적인 메소드

public static GetInputControlTypeByName ( string inputControlName ) : InputControlType
inputControlName string
리턴 InputControlType

InputDevice() 공개 메소드

public InputDevice ( string name ) : System
name string
리턴 System

LastChangedAfter() 공개 메소드

public LastChangedAfter ( InputDevice otherDevice ) : bool
otherDevice InputDevice
리턴 bool

LeftBumper() 공개 메소드

public LeftBumper ( int player = -1 ) : InputControl
player int
리턴 InputControl

LeftStickButton() 공개 메소드

public LeftStickButton ( int player = -1 ) : InputControl
player int
리턴 InputControl

LeftStickVector() 공개 메소드

public LeftStickVector ( int player = -1 ) : Vector2
player int
리턴 Vector2

LeftStickX() 공개 메소드

public LeftStickX ( int player = -1 ) : InputControl
player int
리턴 InputControl

LeftStickY() 공개 메소드

public LeftStickY ( int player = -1 ) : InputControl
player int
리턴 InputControl

LeftTrigger() 공개 메소드

public LeftTrigger ( int player = -1 ) : InputControl
player int
리턴 InputControl

PostUpdate() 공개 메소드

public PostUpdate ( ulong updateTick, float deltaTime ) : void
updateTick ulong
deltaTime float
리턴 void

PreUpdate() 공개 메소드

public PreUpdate ( ulong updateTick, float deltaTime ) : void
updateTick ulong
deltaTime float
리턴 void

RightBumper() 공개 메소드

public RightBumper ( int player = -1 ) : InputControl
player int
리턴 InputControl

RightStickButton() 공개 메소드

public RightStickButton ( int player = -1 ) : InputControl
player int
리턴 InputControl

RightStickVector() 공개 메소드

public RightStickVector ( int player = -1 ) : Vector2
player int
리턴 Vector2

RightStickX() 공개 메소드

public RightStickX ( int player = -1 ) : InputControl
player int
리턴 InputControl

RightStickY() 공개 메소드

public RightStickY ( int player = -1 ) : InputControl
player int
리턴 InputControl

RightTrigger() 공개 메소드

public RightTrigger ( int player = -1 ) : InputControl
player int
리턴 InputControl

Update() 공개 메소드

public Update ( ulong updateTick, float deltaTime ) : void
updateTick ulong
deltaTime float
리턴 void

UpdateWithState() 공개 메소드

public UpdateWithState ( InputControlType inputControlType, bool state, ulong updateTick, int player = -1 ) : void
inputControlType InputControlType
state bool
updateTick ulong
player int
리턴 void

UpdateWithValue() 공개 메소드

public UpdateWithValue ( InputControlType inputControlType, float value, ulong updateTick, int player = -1 ) : void
inputControlType InputControlType
value float
updateTick ulong
player int
리턴 void

Vibrate() 공개 메소드

public Vibrate ( float intensity ) : void
intensity float
리턴 void

Vibrate() 공개 메소드

public Vibrate ( float leftMotor, float rightMotor ) : void
leftMotor float
rightMotor float
리턴 void

프로퍼티 상세

Null 공개적으로 정적으로 프로퍼티

public static InputDevice Null
리턴 InputDevice

SortOrder 공개적으로 프로퍼티

public int SortOrder
리턴 int

player 공개적으로 프로퍼티

public int player
리턴 int