Api Sandbox InputAction
class

InputAction

public class InputAction

An input action defined by a game project.

Constructors

InputAction(String name, String keyboardCode, GamepadCode gamepadCode, String groupName, String title)
InputAction()
InputAction(InputAction other)

Properties

Name Type Description
Name String The name of the input action. Used by Input.Down|Pressed|Released.
GroupName String A group name for this input when showing in a binding system
Title String A friendly name for this input action when showing in a binding system
KeyboardCode String The key or key combo we'll be watching for.
GamepadCode GamepadCode What gamepad button should this action map to?
Assembly: Sandbox.Engine Namespace: Sandbox Full Name: Sandbox.InputAction