Click or drag to resize
DigitalRuneConfigurableInputCommand Class
Represents an input command that supports a flexible input mapping. (Experimental: This class is experimental and subject to change.)
Inheritance Hierarchy
SystemObject
  DigitalRune.Game.InputConfigurableInputCommand

Namespace: DigitalRune.Game.Input
Assembly: DigitalRune.Game.Input (in DigitalRune.Game.Input.dll) Version: 1.8.0.0 (1.8.0.14467)
Syntax
public class ConfigurableInputCommand : IInputCommand, 
	INamedObject

The ConfigurableInputCommand type exposes the following members.

Constructors
  NameDescription
Public methodConfigurableInputCommand
Initializes a new instance of the ConfigurableInputCommand class.
Public methodConfigurableInputCommand(String)
Initializes a new instance of the ConfigurableInputCommand class.
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodUpdate
Updates internal values of this command. This method is called automatically in each frame by the input service.
Top
Properties
  NameDescription
Public propertyDescription
Gets or sets the description of this command.
Public propertyEnabled
Gets or sets a value indicating whether this ConfigurableInputCommand is enabled. If the command is not enabled, the Value is always 0.
Public propertyInputService
Gets or sets the input service.
Public propertyLogicalPlayerIndex
Gets or sets the index of the logical player.
Public propertyName
Gets the name.
Public propertyPrimaryMapping
Gets or sets the primary input mapping that triggers the command.
Public propertyScale
Gets or sets the scale that is applied to the Value.
Public propertySecondaryMapping
Gets or sets the secondary input mapping that triggers the command. This mapping is not evaluated if the PrimaryMapping has influenced the Value.
Public propertySensitivity
Gets or sets the sensitivity that is used for analog input.
Public propertyValue
Gets the value.
Top
Remarks
This command can be triggered with keys and buttons defined in the PrimaryMapping and SecondaryMapping.
See Also