示例#1
0
 public InputFrame()
     : base((uint)InputPayloadType.Frame)
 {
     Buttons   = new InputButtons();
     Analog    = new InputAnalogue();
     Extension = new InputExtension();
 }
示例#2
0
 public InputFrame(uint frameId, ulong timestamp, ulong createdTimestamp,
                   InputButtons buttons, InputAnalogue analog, InputExtension extension)
 {
     FrameId          = frameId;
     Timestamp        = timestamp;
     CreatedTimestamp = createdTimestamp;
     Buttons          = buttons;
     Analog           = analog;
     Extension        = extension;
 }