Click or drag to resize

KeyboardGetKeyCodeByButtonIndex Method

Gets the KeyCode of the key at the specified button index.

Namespace:  Rewired
Assembly:  Rewired_Core (in Rewired_Core.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public KeyCode GetKeyCodeByButtonIndex(
	int buttonIndex
)

Parameters

buttonIndex
Type: SystemInt32
The index of the button.

Return Value

Type: KeyCode
KeyCode of the key.
See Also