Click or drag to resize
SpriteBase.MapKeyToInput 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,
	SpriteBase. InputBits Input
)

Parameters

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