Click or drag to resize

InputActionEventType Class

Input action events. When using event based input, this is used to specify when to send an event.
Inheritance Hierarchy
SystemObject
  SystemValueType
    SystemEnum
      RewiredInputActionEventType

Namespace: Rewired
Assembly: Rewired_Core (in Rewired_Core.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public sealed class InputActionEventType : Enum

The InputActionEventType type exposes the following members.

Fields
 NameDescription
Public fieldStatic memberAxisActive Event fires every frame the axis value is non-zero.
Public fieldStatic memberAxisActiveOrJustInactive Event fires every frame the axis value is non-zero and once more when the axis returns to zero.
Public fieldStatic memberAxisInactive Event fires every frame the axis value is zero.
Public fieldStatic memberAxisRawActive Event fires every frame the raw axis value is non-zero. This does not fire when the axis value is zero. If you need to know both when the axis value is non-zero and when it returns to zero, see AxisRawActiveOrJustInactive.
Public fieldStatic memberAxisRawActiveOrJustInactive Event fires every frame the raw axis value is non-zero and once more when the axis returns to zero.
Public fieldStatic memberAxisRawInactive Event fires every frame the raw axis value is zero. This does not fire when the axis value is zero. If you need to know both when the axis value is non-zero and when it returns to zero, see AxisActiveOrJustInactive.
Public fieldStatic memberButtonDoublePressed Event fires when a button is double pressed and every frame that it is held afterwards. Accepts optional arguments: speed [float] If no arguments are passed, buttonDoublePressSpeed will be used.
Public fieldStatic memberButtonDoublePressJustReleased Event fires only on the first frame after a button is released after a double press. Accepts optional arguments: speed [float] If no arguments are passed, buttonDoublePressSpeed will be used.
Public fieldStatic memberButtonJustDoublePressed Event fires only on the first frame a button is double pressed. Accepts optional arguments: speed [float] If no arguments are passed, buttonDoublePressSpeed will be used.
Public fieldStatic memberButtonJustLongPressed Event fires only on the frame that a button has been pressed for a specific time period. The button long press time and expiration are set in the Input Behavior assigned to the Action. For a custom duration, use ButtonJustPressedForTime instead.
Public fieldStatic memberButtonJustPressed Event fires only on the first frame a button is pressed.
Public fieldStatic memberButtonJustPressedForTime Event fires only on the frame that a button has been pressed for a specific time period. Requires 1 argument: time [float]
Public fieldStatic memberButtonJustReleased Event fires only on the first frame a button is released.
Public fieldStatic memberButtonJustShortPressed Event fires only on the frame that a button has been pressed for a specific time period. The button short press time and expiration are set in the Input Behavior assigned to the Action. For a custom duration, use ButtonJustPressedForTime instead.
Public fieldStatic memberButtonJustSinglePressed Event fires on the first frame after a button press and after the double press timeout has expired.. This will never fire if a double press occurs. This event is delayed because it only fires after the double press timeout has expired. Only use this event if you need to check for both a single press and a double press on the same Action. Otherwise, use ButtonJustPressed instead for instantaneous button press detection. The double press speed is set in the Input Behavior assigned to the Action.
Public fieldStatic memberButtonLongPressed Event fires when a button has been pressed for a specific time period and every frame that it is held afterwards. The button long press time and expiration are set in the Input Behavior assigned to the Action. For a custom duration, use ButtonPressedForTime instead.
Public fieldStatic memberButtonLongPressJustReleased Event fires only on the frame that a button that has been pressed for a specific time period is released. The button long press time and expiration are set in the Input Behavior assigned to the Action. For a custom duration, use ButtonPressedForTimeJustReleased instead.
Public fieldStatic memberButtonPressed Event fires every frame a button is pressed.
Public fieldStatic memberButtonPressedForTime Event fires when a button has been pressed for a specific time period and every frame that it is held afterwards. Requires 1 argument: time [float] 1 argument is optional: expireIn [float]
Public fieldStatic memberButtonPressedForTimeJustReleased Event fires only on the frame that a button that has been pressed for a specific time period is released. Requires 1 argument: time [float] 1 argument is optional: expireIn [float]
Public fieldStatic memberButtonRepeating Event fires on the first frame that a button has been pressed, then again after delay of the specified length and repeating on a regular interval as specified until the button is released. The delay and repeat rate are set in the Input Behavior assigned to the Action.
Public fieldStatic memberButtonShortPressed Event fires when a button has been pressed for a specific time period and every frame that it is held afterwards. The button short press time and expiration are set in the Input Behavior assigned to the Action. For a custom duration, use ButtonPressedForTime instead.
Public fieldStatic memberButtonShortPressJustReleased Event fires only on the frame that a button that has been pressed for a specific time period is released. The button short press time and expiration are set in the Input Behavior assigned to the Action. For a custom duration, use ButtonPressedForTimeJustReleased instead.
Public fieldStatic memberButtonSinglePressed Event fires every frame after a button is held and the double press timeout has expired. This will never fire if a double press occurs. This event is delayed because it only fires after the double press timeout has expired. Only use this event if you need to check for both a single press and a double press on the same Action. Otherwise, use ButtonPressed instead for instantaneous button press detection. The double press speed is set in the Input Behavior assigned to the Action.
Public fieldStatic memberButtonSinglePressJustReleased Event fires on the first frame after the release of a single press. This will never fire if a double press occurs. This event is delayed because it only fires after the double press timeout has expired. Only use this event if you need to check for both a single press and a double press on the same Action. Otherwise, use ButtonJustReleased instead for instantaneous button press detection. The double press speed is set in the Input Behavior assigned to the Action.
Public fieldStatic memberButtonUnpressed Event fires every frame a button is not pressed.
Public fieldStatic memberNegativeButtonDoublePressed Event fires when a button is double pressed and every frame that it is held afterwards. Accepts optional arguments: speed [float] If no arguments are passed, buttonDoublePressSpeed will be used.
Public fieldStatic memberNegativeButtonDoublePressJustReleased Event fires only on the first frame after a negative button is released after a double press. Accepts optional arguments: speed [float] If no arguments are passed, buttonDoublePressSpeed will be used.
Public fieldStatic memberNegativeButtonJustDoublePressed Event fires only on the first frame a button is double pressed. Accepts optional arguments: speed [float] If no arguments are passed, buttonDoublePressSpeed will be used.
Public fieldStatic memberNegativeButtonJustLongPressed Event fires only on the frame that a button has been pressed for a specific time period. The button long press time and expiration are set in the Input Behavior assigned to the Action. For a custom duration, use NegativeButtonJustPressedForTime instead.
Public fieldStatic memberNegativeButtonJustPressed Event fires only on the first frame a button is pressed.
Public fieldStatic memberNegativeButtonJustPressedForTime Event fires only on the frame that a button has been pressed for a specific time period. Requires 1 argument: time [float]
Public fieldStatic memberNegativeButtonJustReleased Event fires only on the first frame a button is released.
Public fieldStatic memberNegativeButtonJustShortPressed Event fires only on the frame that a button has been pressed for a specific time period. The button short press time and expiration are set in the Input Behavior assigned to the Action. For a custom duration, use NegativeButtonJustPressedForTime instead.
Public fieldStatic memberNegativeButtonJustSinglePressed Event fires on the first frame after a negative button press and after the double press timeout has expired.. This will never fire if a double press occurs. This event is delayed because it only fires after the double press timeout has expired. Only use this event if you need to check for both a single press and a double press on the same Action. Otherwise, use NegativeButtonJustPressed instead for instantaneous negative button press detection. The double press speed is set in the Input Behavior assigned to the Action.
Public fieldStatic memberNegativeButtonLongPressed Event fires when a button has been pressed for a specific time period and every frame that it is held afterwards. The button long press time and expiration are set in the Input Behavior assigned to the Action. For a custom duration, use NegativeButtonPressedForTime instead.
Public fieldStatic memberNegativeButtonLongPressJustReleased Event fires only on the frame that a button that has been pressed for a specific time period is released. The button long press time and expiration are set in the Input Behavior assigned to the Action. For a custom duration, use NegativeButtonPressedForTimeJustReleased instead.
Public fieldStatic memberNegativeButtonPressed Event fires every frame a button is pressed.
Public fieldStatic memberNegativeButtonPressedForTime Event fires when a button has been pressed for a specific time period and every frame that it is held afterwards. Requires 1 argument: time [float] 1 argument is optional: expireIn [float]
Public fieldStatic memberNegativeButtonPressedForTimeJustReleased Event fires only on the frame that a button that has been pressed for a specific time period is released. Requires 1 argument: time [float] 1 argument is optional: expireIn [float]
Public fieldStatic memberNegativeButtonRepeating Event fires on the first frame that a button has been pressed, then again after delay of the specified length and repeating on a regular interval as specified until the button is released. The delay and repeat rate are set in the Input Behavior assigned to the Action.
Public fieldStatic memberNegativeButtonShortPressed Event fires when a button has been pressed for a specific time period and every frame that it is held afterwards. The button short press time and expiration are set in the Input Behavior assigned to the Action. For a custom duration, use NegativeButtonPressedForTime instead.
Public fieldStatic memberNegativeButtonShortPressJustReleased Event fires only on the frame that a button that has been pressed for a specific time period is released. The button short press time and expiration are set in the Input Behavior assigned to the Action. For a custom duration, use NegativeButtonPressedForTimeJustReleased instead.
Public fieldStatic memberNegativeButtonSinglePressed Event fires every frame after a negative button is held and the double press timeout has expired. This will never fire if a double press occurs. This event is delayed because it only fires after the double press timeout has expired. Only use this event if you need to check for both a single press and a double press on the same Action. Otherwise, use NegativeButtonPressed instead for instantaneous negative button press detection. The double press speed is set in the Input Behavior assigned to the Action.
Public fieldStatic memberNegativeButtonSinglePressJustReleased Event fires on the first frame after the release of a single press. This will never fire if a double press occurs. This event is delayed because it only fires after the double press timeout has expired. Only use this event if you need to check for both a single press and a double press on the same Action. Otherwise, use NegativeButtonJustReleased instead for instantaneous negative button press detection. The double press speed is set in the Input Behavior assigned to the Action.
Public fieldStatic memberNegativeButtonUnpressed Event fires every frame a button is not pressed.
Public fieldStatic memberUpdate Event fires every time input is updated.
Public fieldvalue__ 
Top
See Also