コード例 #1
0
ファイル: InputSource.cs プロジェクト: yy520a/XOutput
 protected InputSource(IInputDevice inputDevice, string name, InputSourceTypes type, int offset)
 {
     this.inputDevice = inputDevice;
     this.name        = name;
     this.type        = type;
     this.offset      = offset;
 }
コード例 #2
0
 public DirectInputSource(IInputDevice inputDevice, string name, InputSourceTypes type, int offset, Func <JoystickState, double> valueGetter) : base(inputDevice, name, type, offset)
 {
     this.valueGetter = valueGetter;
 }
コード例 #3
0
 public DirectInputSource(string name, InputSourceTypes type, Func <JoystickState, double> valueGetter) : base(name, type)
 {
     this.valueGetter = valueGetter;
 }
コード例 #4
0
 public InputSource(string name, InputSourceTypes type)
 {
     this.name = name;
     this.type = type;
 }