protected static InputControlMapping LeftStickLeftMapping(InputControlSource analog) { return(new InputControlMapping { Handle = "Left Stick Left", Target = InputControlType.LeftStickLeft, Source = analog, SourceRange = InputRange.ZeroToMinusOne, TargetRange = InputRange.ZeroToOne }); }
protected static InputControlMapping DPadDownMapping2(InputControlSource analog) { return(new InputControlMapping { Handle = "DPad Down", Target = InputControlType.DPadDown, Source = analog, SourceRange = InputRange.ZeroToMinusOne, TargetRange = InputRange.ZeroToOne }); }
protected static InputControlMapping DPadRightMapping(InputControlSource analog) { return(new InputControlMapping { Handle = "DPad Right", Target = InputControlType.DPadRight, Source = analog, SourceRange = InputRange.ZeroToOne, TargetRange = InputRange.ZeroToOne }); }
protected static InputControlMapping RightStickDownMapping(InputControlSource analog) { return(new InputControlMapping { Handle = "Right Stick Down", Target = InputControlType.RightStickDown, Source = analog, SourceRange = InputRange.ZeroToOne, TargetRange = InputRange.ZeroToOne }); }
protected static InputControlMapping RightTriggerMapping(InputControlSource analog) { return(new InputControlMapping { Handle = "Right Trigger", Target = InputControlType.RightTrigger, Source = analog, SourceRange = InputRange.MinusOneToOne, TargetRange = InputRange.ZeroToOne, IgnoreInitialZeroValue = true }); }
protected static InputControlMapping DPadDownMapping2(InputControlSource analog) { InputControlMapping inputControlMapping = new InputControlMapping(); inputControlMapping.Handle = "DPad Down"; inputControlMapping.Target = InputControlType.DPadDown; inputControlMapping.Source = analog; inputControlMapping.SourceRange = InputRange.ZeroToMinusOne; inputControlMapping.TargetRange = InputRange.ZeroToOne; return(inputControlMapping); }
protected static InputControlMapping RightStickDownMapping(InputControlSource analog) { InputControlMapping inputControlMapping = new InputControlMapping(); inputControlMapping.Handle = "Right Stick Down"; inputControlMapping.Target = InputControlType.RightStickDown; inputControlMapping.Source = analog; inputControlMapping.SourceRange = InputRange.ZeroToOne; inputControlMapping.TargetRange = InputRange.ZeroToOne; return(inputControlMapping); }
protected static InputControlMapping LeftStickUpMapping(InputControlSource analog) { InputControlMapping inputControlMapping = new InputControlMapping(); inputControlMapping.Handle = "Left Stick Up"; inputControlMapping.Target = InputControlType.LeftStickUp; inputControlMapping.Source = analog; inputControlMapping.SourceRange = InputRange.ZeroToMinusOne; inputControlMapping.TargetRange = InputRange.ZeroToOne; return(inputControlMapping); }
protected static InputControlMapping RightTriggerMapping(InputControlSource analog) { InputControlMapping inputControlMapping = new InputControlMapping(); inputControlMapping.Handle = "Right Trigger"; inputControlMapping.Target = InputControlType.RightTrigger; inputControlMapping.Source = analog; inputControlMapping.SourceRange = InputRange.MinusOneToOne; inputControlMapping.TargetRange = InputRange.ZeroToOne; inputControlMapping.IgnoreInitialZeroValue = true; return(inputControlMapping); }
protected static InputControlMapping RightTriggerMapping( InputControlSource analog ) { return new InputControlMapping { Handle = "Right Trigger", Target = InputControlType.RightTrigger, Source = analog, SourceRange = InputRange.MinusOneToOne, TargetRange = InputRange.ZeroToOne, IgnoreInitialZeroValue = true }; }
protected static InputControlMapping RightStickUpMapping( InputControlSource analog ) { return new InputControlMapping { Handle = "Right Stick Up", Target = InputControlType.RightStickUp, Source = analog, SourceRange = InputRange.ZeroToMinusOne, TargetRange = InputRange.ZeroToOne }; }
protected static InputControlMapping LeftStickRightMapping( InputControlSource analog ) { return new InputControlMapping { Handle = "Left Stick Right", Target = InputControlType.LeftStickRight, Source = analog, SourceRange = InputRange.ZeroToOne, TargetRange = InputRange.ZeroToOne }; }
protected static InputControlMapping DPadUpMapping2( InputControlSource analog ) { return new InputControlMapping { Handle = "DPad Up", Target = InputControlType.DPadUp, Source = analog, SourceRange = InputRange.ZeroToOne, TargetRange = InputRange.ZeroToOne }; }