### YamlMime:ManagedReference items: - uid: MLEM.Input.GamepadExtensions commentId: T:MLEM.Input.GamepadExtensions id: GamepadExtensions parent: MLEM.Input children: - MLEM.Input.GamepadExtensions.GetAnalogValue(Microsoft.Xna.Framework.Input.GamePadState,Microsoft.Xna.Framework.Input.Buttons) langs: - csharp - vb name: GamepadExtensions nameWithType: GamepadExtensions fullName: MLEM.Input.GamepadExtensions type: Class source: remote: path: MLEM/Input/GamepadExtensions.cs branch: main repo: https://github.com/Ellpeck/MLEM id: GamepadExtensions path: ../MLEM/Input/GamepadExtensions.cs startLine: 7 assemblies: - MLEM namespace: MLEM.Input summary: A set of extension methods for dealing with , and . example: [] syntax: content: public static class GamepadExtensions content.vb: Public Module GamepadExtensions inheritance: - System.Object inheritedMembers: - System.Object.ToString - System.Object.Equals(System.Object) - System.Object.Equals(System.Object,System.Object) - System.Object.ReferenceEquals(System.Object,System.Object) - System.Object.GetHashCode - System.Object.GetType - System.Object.MemberwiseClone - uid: MLEM.Input.GamepadExtensions.GetAnalogValue(Microsoft.Xna.Framework.Input.GamePadState,Microsoft.Xna.Framework.Input.Buttons) commentId: M:MLEM.Input.GamepadExtensions.GetAnalogValue(Microsoft.Xna.Framework.Input.GamePadState,Microsoft.Xna.Framework.Input.Buttons) id: GetAnalogValue(Microsoft.Xna.Framework.Input.GamePadState,Microsoft.Xna.Framework.Input.Buttons) isExtensionMethod: true parent: MLEM.Input.GamepadExtensions langs: - csharp - vb name: GetAnalogValue(GamePadState, Buttons) nameWithType: GamepadExtensions.GetAnalogValue(GamePadState, Buttons) fullName: MLEM.Input.GamepadExtensions.GetAnalogValue(Microsoft.Xna.Framework.Input.GamePadState, Microsoft.Xna.Framework.Input.Buttons) type: Method source: remote: path: MLEM/Input/GamepadExtensions.cs branch: main repo: https://github.com/Ellpeck/MLEM id: GetAnalogValue path: ../MLEM/Input/GamepadExtensions.cs startLine: 16 assemblies: - MLEM namespace: MLEM.Input summary: >- Returns the given 's value as an analog value between 0 and 1, where 1 is fully down and 0 is not down at all. For non-analog buttons, like or , only 0 and 1 will be returned and no inbetween values are possible. example: [] syntax: content: public static float GetAnalogValue(this GamePadState state, Buttons button) parameters: - id: state type: Microsoft.Xna.Framework.Input.GamePadState description: The gamepad state to query. - id: button type: Microsoft.Xna.Framework.Input.Buttons description: The button to query. return: type: System.Single description: The button's state as an analog value. content.vb: Public Shared Function GetAnalogValue(state As GamePadState, button As Buttons) As Single overload: MLEM.Input.GamepadExtensions.GetAnalogValue* references: - uid: Microsoft.Xna.Framework.Input.GamePad commentId: T:Microsoft.Xna.Framework.Input.GamePad isExternal: true name: GamePad nameWithType: GamePad fullName: Microsoft.Xna.Framework.Input.GamePad - uid: Microsoft.Xna.Framework.Input.GamePadState commentId: T:Microsoft.Xna.Framework.Input.GamePadState parent: Microsoft.Xna.Framework.Input isExternal: true name: GamePadState nameWithType: GamePadState fullName: Microsoft.Xna.Framework.Input.GamePadState - uid: Microsoft.Xna.Framework.Input.Buttons commentId: T:Microsoft.Xna.Framework.Input.Buttons parent: Microsoft.Xna.Framework.Input isExternal: true name: Buttons nameWithType: Buttons fullName: Microsoft.Xna.Framework.Input.Buttons - uid: MLEM.Input commentId: N:MLEM.Input href: MLEM.html name: MLEM.Input nameWithType: MLEM.Input fullName: MLEM.Input spec.csharp: - uid: MLEM name: MLEM href: MLEM.html - name: . - uid: MLEM.Input name: Input href: MLEM.Input.html spec.vb: - uid: MLEM name: MLEM href: MLEM.html - name: . - uid: MLEM.Input name: Input href: MLEM.Input.html - uid: System.Object commentId: T:System.Object parent: System isExternal: true href: https://learn.microsoft.com/dotnet/api/system.object name: object nameWithType: object fullName: object nameWithType.vb: Object fullName.vb: Object name.vb: Object - uid: System.Object.ToString commentId: M:System.Object.ToString parent: System.Object isExternal: true href: https://learn.microsoft.com/dotnet/api/system.object.tostring name: ToString() nameWithType: object.ToString() fullName: object.ToString() nameWithType.vb: Object.ToString() fullName.vb: Object.ToString() spec.csharp: - uid: System.Object.ToString name: ToString isExternal: true href: https://learn.microsoft.com/dotnet/api/system.object.tostring - name: ( - name: ) spec.vb: - uid: System.Object.ToString name: ToString isExternal: true href: https://learn.microsoft.com/dotnet/api/system.object.tostring - name: ( - name: ) - uid: System.Object.Equals(System.Object) commentId: M:System.Object.Equals(System.Object) parent: System.Object isExternal: true href: https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object) name: Equals(object) nameWithType: object.Equals(object) fullName: object.Equals(object) nameWithType.vb: Object.Equals(Object) fullName.vb: Object.Equals(Object) name.vb: Equals(Object) spec.csharp: - uid: System.Object.Equals(System.Object) name: Equals isExternal: true href: https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object) - name: ( - uid: System.Object name: object isExternal: true href: https://learn.microsoft.com/dotnet/api/system.object - name: ) spec.vb: - uid: System.Object.Equals(System.Object) name: Equals isExternal: true href: https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object) - name: ( - uid: System.Object name: Object isExternal: true href: https://learn.microsoft.com/dotnet/api/system.object - name: ) - uid: System.Object.Equals(System.Object,System.Object) commentId: M:System.Object.Equals(System.Object,System.Object) parent: System.Object isExternal: true href: https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object-system-object) name: Equals(object, object) nameWithType: object.Equals(object, object) fullName: object.Equals(object, object) nameWithType.vb: Object.Equals(Object, Object) fullName.vb: Object.Equals(Object, Object) name.vb: Equals(Object, Object) spec.csharp: - uid: System.Object.Equals(System.Object,System.Object) name: Equals isExternal: true href: https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object-system-object) - name: ( - uid: System.Object name: object isExternal: true href: https://learn.microsoft.com/dotnet/api/system.object - name: ',' - name: " " - uid: System.Object name: object isExternal: true href: https://learn.microsoft.com/dotnet/api/system.object - name: ) spec.vb: - uid: System.Object.Equals(System.Object,System.Object) name: Equals isExternal: true href: https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object-system-object) - name: ( - uid: System.Object name: Object isExternal: true href: https://learn.microsoft.com/dotnet/api/system.object - name: ',' - name: " " - uid: System.Object name: Object isExternal: true href: https://learn.microsoft.com/dotnet/api/system.object - name: ) - uid: System.Object.ReferenceEquals(System.Object,System.Object) commentId: M:System.Object.ReferenceEquals(System.Object,System.Object) parent: System.Object isExternal: true href: https://learn.microsoft.com/dotnet/api/system.object.referenceequals name: ReferenceEquals(object, object) nameWithType: object.ReferenceEquals(object, object) fullName: object.ReferenceEquals(object, object) nameWithType.vb: Object.ReferenceEquals(Object, Object) fullName.vb: Object.ReferenceEquals(Object, Object) name.vb: ReferenceEquals(Object, Object) spec.csharp: - uid: System.Object.ReferenceEquals(System.Object,System.Object) name: ReferenceEquals isExternal: true href: https://learn.microsoft.com/dotnet/api/system.object.referenceequals - name: ( - uid: System.Object name: object isExternal: true href: https://learn.microsoft.com/dotnet/api/system.object - name: ',' - name: " " - uid: System.Object name: object isExternal: true href: https://learn.microsoft.com/dotnet/api/system.object - name: ) spec.vb: - uid: System.Object.ReferenceEquals(System.Object,System.Object) name: ReferenceEquals isExternal: true href: https://learn.microsoft.com/dotnet/api/system.object.referenceequals - name: ( - uid: System.Object name: Object isExternal: true href: https://learn.microsoft.com/dotnet/api/system.object - name: ',' - name: " " - uid: System.Object name: Object isExternal: true href: https://learn.microsoft.com/dotnet/api/system.object - name: ) - uid: System.Object.GetHashCode commentId: M:System.Object.GetHashCode parent: System.Object isExternal: true href: https://learn.microsoft.com/dotnet/api/system.object.gethashcode name: GetHashCode() nameWithType: object.GetHashCode() fullName: object.GetHashCode() nameWithType.vb: Object.GetHashCode() fullName.vb: Object.GetHashCode() spec.csharp: - uid: System.Object.GetHashCode name: GetHashCode isExternal: true href: https://learn.microsoft.com/dotnet/api/system.object.gethashcode - name: ( - name: ) spec.vb: - uid: System.Object.GetHashCode name: GetHashCode isExternal: true href: https://learn.microsoft.com/dotnet/api/system.object.gethashcode - name: ( - name: ) - uid: System.Object.GetType commentId: M:System.Object.GetType parent: System.Object isExternal: true href: https://learn.microsoft.com/dotnet/api/system.object.gettype name: GetType() nameWithType: object.GetType() fullName: object.GetType() nameWithType.vb: Object.GetType() fullName.vb: Object.GetType() spec.csharp: - uid: System.Object.GetType name: GetType isExternal: true href: https://learn.microsoft.com/dotnet/api/system.object.gettype - name: ( - name: ) spec.vb: - uid: System.Object.GetType name: GetType isExternal: true href: https://learn.microsoft.com/dotnet/api/system.object.gettype - name: ( - name: ) - uid: System.Object.MemberwiseClone commentId: M:System.Object.MemberwiseClone parent: System.Object isExternal: true href: https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone name: MemberwiseClone() nameWithType: object.MemberwiseClone() fullName: object.MemberwiseClone() nameWithType.vb: Object.MemberwiseClone() fullName.vb: Object.MemberwiseClone() spec.csharp: - uid: System.Object.MemberwiseClone name: MemberwiseClone isExternal: true href: https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone - name: ( - name: ) spec.vb: - uid: System.Object.MemberwiseClone name: MemberwiseClone isExternal: true href: https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone - name: ( - name: ) - uid: Microsoft.Xna.Framework.Input commentId: N:Microsoft.Xna.Framework.Input isExternal: true name: Microsoft.Xna.Framework.Input nameWithType: Microsoft.Xna.Framework.Input fullName: Microsoft.Xna.Framework.Input spec.csharp: - uid: Microsoft name: Microsoft isExternal: true - name: . - uid: Microsoft.Xna name: Xna isExternal: true - name: . - uid: Microsoft.Xna.Framework name: Framework isExternal: true - name: . - uid: Microsoft.Xna.Framework.Input name: Input isExternal: true spec.vb: - uid: Microsoft name: Microsoft isExternal: true - name: . - uid: Microsoft.Xna name: Xna isExternal: true - name: . - uid: Microsoft.Xna.Framework name: Framework isExternal: true - name: . - uid: Microsoft.Xna.Framework.Input name: Input isExternal: true - uid: System commentId: N:System isExternal: true href: https://learn.microsoft.com/dotnet/api/system name: System nameWithType: System fullName: System - uid: Microsoft.Xna.Framework.Input.Buttons.X commentId: F:Microsoft.Xna.Framework.Input.Buttons.X isExternal: true name: X nameWithType: Buttons.X fullName: Microsoft.Xna.Framework.Input.Buttons.X - uid: Microsoft.Xna.Framework.Input.Buttons.Start commentId: F:Microsoft.Xna.Framework.Input.Buttons.Start isExternal: true name: Start nameWithType: Buttons.Start fullName: Microsoft.Xna.Framework.Input.Buttons.Start - uid: MLEM.Input.GamepadExtensions.GetAnalogValue* commentId: Overload:MLEM.Input.GamepadExtensions.GetAnalogValue href: MLEM.Input.GamepadExtensions.html#MLEM_Input_GamepadExtensions_GetAnalogValue_Microsoft_Xna_Framework_Input_GamePadState_Microsoft_Xna_Framework_Input_Buttons_ name: GetAnalogValue nameWithType: GamepadExtensions.GetAnalogValue fullName: MLEM.Input.GamepadExtensions.GetAnalogValue - uid: System.Single commentId: T:System.Single parent: System isExternal: true href: https://learn.microsoft.com/dotnet/api/system.single name: float nameWithType: float fullName: float nameWithType.vb: Single fullName.vb: Single name.vb: Single