示例#1
0
 protected InputDevice()
 {
     this.deviceName = "Generic Input Device";
     deviceIndex     = InputSystem.GetNewDeviceIndex(this);
 }
示例#2
0
 protected InputDevice(string deviceName, List <InputControlData> controls)
 {
     SetControls(controls);
     this.deviceName = deviceName;
     deviceIndex     = InputSystem.GetNewDeviceIndex(this);
 }