Click or drag to resize
SpriteBaseMapKeyToInput Method
Associates the state of the specified keyboard key with the specified input on this sprite.

Namespace: (Default Namespace)
Assembly: Default (in Default.exe) Version: 1.0.0.0
Syntax
C#
public virtual void MapKeyToInput(
	Key key,
	SpriteBaseInputBits Input
)

Parameters

key
Type: (Default Namespace)Key
Which key should be tested
Input
Type: (Default Namespace)SpriteBaseInputBits
Which sprite input should be affected
Remarks
This function does not affect oldinputs.
See Also