Click or drag to resize

ActionElementMap Constructor (Int32, ControllerElementType, Pole, KeyboardKeyCode, ModifierKey, ModifierKey, ModifierKey)

Create an ActionElementMap for a keyboard key.

Namespace:  Rewired
Assembly:  Rewired_Core (in Rewired_Core.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public ActionElementMap(
	int actionId,
	ControllerElementType elementType,
	Pole axisContribution,
	KeyboardKeyCode keyboardKeyCode,
	ModifierKey modifierKey1,
	ModifierKey modifierKey2,
	ModifierKey modifierKey3
)

Parameters

actionId
Type: SystemInt32
Action id
elementType
Type: RewiredControllerElementType
Element type
axisContribution
Type: RewiredPole
Axis contribution
keyboardKeyCode
Type: RewiredKeyboardKeyCode
Keyboard key code
modifierKey1
Type: RewiredModifierKey
Modifier key 1
modifierKey2
Type: RewiredModifierKey
Modifier key 2
modifierKey3
Type: RewiredModifierKey
Modifier key 3
See Also