public XboxGamepadBackInterfaceAxis Bind(XboxInputLabel.ThumbSticks label) { _sources.Add(Device.CreateThumbStickSource(label)); return(this); }
public static XboxInputLabel.Buttons ToButton(this XboxInputLabel.ThumbSticks thumbStickLabel) { return((XboxInputLabel.Buttons)((int)thumbStickLabel << 6)); }
public XboxGamepadThumbStickInputSource(XboxGamepadDevice device, XboxInputLabel.ThumbSticks inputLabel) : base(device) { InputLabel = inputLabel; ThumbStickId = (int)InputLabel; }
public XboxGamepadThumbStickInputSource CreateThumbStickSource(XboxInputLabel.ThumbSticks label) { return(new XboxGamepadThumbStickInputSource(this, label)); }