Rewired Namespace |
Class | Description | |
---|---|---|
ActionElementMap |
Maps an Action to a Controller element.
| |
ActionIdPropertyAttribute |
A PropertyAttribute for an InputAction id.
Use on a serialized int field to allow selecting of Rewired Actions from a popup in the Unity inspector.
Usage: [ActionIdProperty(typeof(MyType)]
Type should be a class that contains public const int fields, each of which corresponds to a Rewired Input Action id.
| |
Axis2DCalibration | ||
AxisCalibration |
Holds calibration information for a controller axis.
| |
CalibrationMap |
Maps calibration data to a controller's axes.
| |
CalibrationMapSaveData |
Save data for a Calibration Map.
| |
Controller |
The base class for all controllers.
| |
ControllerAxis |
An Axis controller element.
| |
ControllerAxis2D |
Axis 2D is a combination of values from two individual Axes. This is primarily used for analog sticks.
A radial deadzone is applied to the combined values. The deazone is the larger of the two deadzones set in the individual axes.
Axis 2D cannot be mapped with an ActionElementMap. Instead, the component Axes are each mapped individually.
When two Axes are combined into an Axis2D, the values of the individual Axes are changed to reflect the radial deadzone applied by the parent Axis2D.
| |
ControllerButton |
A Button controller element.
| |
ControllerCompoundElement |
Base class for compound elements. Compound elements are a combination of existing elements such as 2 axes making up an Axis 2D.
Compound elements have no value in and of themselves, but combine values from their member elements to produce a result.
Compound elements cannot be mapped with an ActionElementMap. Instead, the component axes are each mapped individually.
| |
ControllerDirectionalPad |
A directional pad is a compound element made up of 4 individual buttons.
| |
ControllerElement |
The base class for all controller elements.
| |
ControllerExtension |
A class that can be used as a base class to allow for special controller or platform-specific functions in a controller.
| |
ControllerHat |
A hat is a compound element made up of 4 or 8 individual buttons.
If this is a 4-way hat, only up, down, right, and left are supported. Corner presses will activate the two cardinal directions.
If this is an 8-way hat, all 8 directions are supported. Corner presses will activate the corner buttons.
| |
ControllerAssignmentChangedEventArgs |
Event args returned by controller assignment and unassignment events in Players.
Contains information about the controller that was changed.
| |
ControllerElementIdentifier |
Represents a single element on a controller. Used to identify physical elements on controllers by type and name.
| |
ControllerMap |
The base class for all controller maps. Maps actions to specific controller elements.
| |
ControllerMapEnabler |
Enforces persistent enabled states on Controller Maps in a Player based on user settings.
This can be used to make specific Controller Maps be enabled or disabled in a Player,
for example when changing game modes that require user input to change.
These settings will persist and be inherited by new Controllers assigned to the Player.
Enabled states will be sync'd when new Controllers are added, when Controller Maps are loaded, etc.
When using ControllerMapEnabler, you should not manually set enabled states
on Controller Maps that are managed by this class, but instead change all settings within this class.
| |
ControllerMapEnablerRule |
Settings for persisting the enabled state of Controller Maps.
| |
ControllerMapEnablerRuleSet |
A set of Rules.
| |
ControllerMapLayoutManager |
Manages loading and unloading of Controller Maps in a Player based on user settings to force the specified Layouts to be used.
This can be used to make specific Controller Maps be loaded in a Player with specific Layouts, for example when changing from one Controller
Layout to another. These settings will persist and be inherited by new Controllers assigned to the Player.
This will enforce a single Layout per managed Map Category be loaded in the Player. This cannot manage mutliple simultaneous
Layouts in the same Map Category being loaded in the Player.
This does not manage enabled states of the Controller Maps. It only manages loading and unloading of Controller Maps.
| |
ControllerMapLayoutManagerRule |
Settings for persisting a Controller Map Layout.
| |
ControllerMapLayoutManagerRuleSet |
A set of Rules.
| |
ControllerMapSaveData |
Base class for controller map save data.
| |
ControllerMapWithAxes |
Maps actions to controller elements for a controller with axes.
| |
ControllerSetSelector |
Used for selecting Controllers based on the specified criteria.
See static factory methods for construction.
| |
ControllerStatusChangedEventArgs |
Event args returned by controller connect and disconnect events.
Contains information about the controller that was changed.
| |
ControllerTemplate |
Base class for a Controller Template.
| |
ControllerTemplateActionAxisMap |
Maps an Action to a Controller Template Axis element.
| |
ControllerTemplateActionButtonMap |
Maps an Action to a Controller Template Button element.
| |
ControllerTemplateActionElementMap |
Maps an Action to a Controller Template element.
| |
ControllerTemplateElementIdentifier |
Represents a single element on a controller template. Used to identify physical elements on controller templates by type and name.
| |
ControllerTemplateMap |
Maps actions to specific Controller Template elements.
| |
ControllerWithAxes |
A controller with buttons and axes.
| |
ControllerWithMap |
The contents of this class have been moved into Conroller.
This class no longer serves any purpose and may be removed in the future.
| |
CustomController |
A virtual controller with a user-defined input source.
| |
CustomControllerMap |
Maps actions to controller elements for a custom controller.
| |
CustomControllerMapSaveData |
Used to retrieve saveable custom controller map data.
| |
ElementAssignmentInfo |
Describes a pending element assignment.
| |
FlightPedalsTemplate |
Class representing a Flight Pedals Template.
This class contains constants. Do not use this class to interact with the Rewired API.
Use the interface IFlightPedalsTemplate instead.
| |
FlightYokeTemplate |
Class representing a Flight Yoke Template.
This class contains constants. Do not use this class to interact with the Rewired API.
Use the interface IFlightYokeTemplate instead.
| |
GamepadTemplate |
Class representing a Gamepad Template.
This class contains constants. Do not use this class to interact with the Rewired API.
Use the interface IGamepadTemplate instead.
| |
HOTASTemplate |
Class representing a HOTAS Template.
This class contains constants. Do not use this class to interact with the Rewired API.
Use the interface IHOTASTemplate instead.
| |
InputAction |
Represents a single action.
| |
InputActionCategory |
A category for organizing Actions.
| |
InputBehavior |
Provides configuration options for an InputAction.
| |
InputCategory |
A category for organizing input-related data.
| |
InputLayout |
A layout for organizing input maps.
| |
InputMapCategory |
A category for organizing controller maps.
| |
InputMapper |
A class that simplifies the process of remapping controls.
Handles listening for controller input, conflict checking, and creating Action-element assignments.
| |
InputMapperCanceledEventData |
Data for a canceled event.
| |
InputMapperConflictFoundEventData |
Data for a conflict event.
| |
InputMapperContext |
Provides information about an input mapping.
This is used to define what is being mapped and how user input should be handled.
| |
InputMapperErrorEventData |
Data for an error event.
| |
InputMapperEventData |
Base class for event data.
| |
InputMapperInputMappedEventData |
Data for an input mapped event.
| |
InputMapperOptions |
Configuration options for the InputMapper.
| |
InputMapperStartedEventData |
Data for a started event.
| |
InputMapperStoppedEventData |
Data for a stopped event.
| |
InputMapperTimedOutEventData |
Data for a timed out event.
| |
Joystick |
A joystick with buttons and axes.
| |
JoystickCalibrationMapSaveData |
Save data for a Joystick Calibration Map.
| |
JoystickMap |
Maps actions to controller elements for a joystick.
| |
JoystickMapSaveData |
Used to retrieve saveable joystick map data.
| |
Keyboard |
A keyboard with keys.
| |
KeyboardMap |
Maps actions to controller elements for a keyboard.
| |
KeyboardMapSaveData |
Used to retrieve saveable keyboard map data.
| |
Mouse |
A mouse with buttons and axes.
| |
MouseMap |
Maps actions to controller elements for a mouse.
| |
MouseMapSaveData |
Used to retrieve saveable mouse map data.
| |
Player |
Represents a player to which controllers are assigned. Input should normally be managed through the Player class.
| |
PlayerControllerHelper |
Provides access to all controller-related members in Player.
| |
PlayerControllerHelperConflictCheckingHelper |
Provides access to all controller element assignment conflict checking related members.
| |
PlayerControllerHelperMapHelper |
Provides access to all mapping related members.
| |
PlayerControllerHelperPollingHelper |
Provides access to all controller element polling related members.
This should only be used for controller mapping or other non-gameplay-related code.
The polling system is expensive and should not be used during gameplay.
| |
PlayerController |
A controller that uses Player Actions as the input sources for controller elements.
| |
PlayerControllerAxis |
An Axis that uses Player Actions as the value source.
| |
PlayerControllerAxisDefinition |
Properties to use when creating a new Axis.
| |
PlayerControllerAxis2D |
An element with 2 Axes.
| |
PlayerControllerAxis2DDefinition | ||
PlayerControllerButton |
A Button that uses Player Actions as the value source.
| |
PlayerControllerButtonDefinition |
Properties to use when creating a new Button.
| |
PlayerControllerCompoundElement |
Base for elements with multiple source elements.
| |
PlayerControllerCompoundElementDefinition | ||
PlayerControllerDefinition |
Definition for Player Controller.
| |
PlayerControllerElement |
Base class for elements.
| |
PlayerControllerElementDefinition |
Properties to use when creating a new Element.
| |
PlayerControllerElementWithSource |
Base class for elements that have an input source.
| |
PlayerControllerElementWithSourceDefinition | ||
PlayerControllerFactory |
Class for creating Player Controller instances.
| |
PlayerControllerMouseAxis |
A Mouse Axis that uses Player Actions as the value source.
Source value is automatically scaled to screen resolution.
| |
PlayerControllerMouseAxisDefinition |
Properties to use when creating a new Mouse Axis.
| |
PlayerControllerMouseAxis2D |
An element with 2 Mouse Axes.
| |
PlayerControllerMouseAxis2DDefinition | ||
PlayerControllerMouseWheel | ||
PlayerControllerMouseWheelDefinition | ||
PlayerControllerMouseWheelAxis | ||
PlayerControllerMouseWheelAxisDefinition |
Properties to use when creating a new MouseWheelAxis.
| |
PlayerIdPropertyAttribute |
A PropertyAttribute for a Player id.
Use on a serialized int field to allow selecting of Rewired Players from a popup in the Unity inspector.
Usage: [PlayerIdProperty(typeof(MyType)]
Type should be a class that contains public const int fields, each of which corresponds to a Rewired Player id.
| |
PlayerMouse |
A virtual mouse that can be used to drive a sprite or software mouse pointer.
It uses a Rewired Player to move the pointer position and as the source for
the buttons and axes.
| |
PlayerMouseDefinition |
Definition for a Player Mouse.
| |
PlayerMouseFactory |
Class for creating Player Mouse instances.
| |
RacingWheelTemplate |
Class representing a Racing Wheel Template.
This class contains constants. Do not use this class to interact with the Rewired API.
Use the interface IRacingWheelTemplate instead.
| |
ReInput |
The main class for accessing all input-related information.
| |
ReInputConfigHelper |
Provides access to time-related data. This is mostly for accurate unscaled time comparisons for button and axis times.
| |
ReInputControllerHelper |
Provides access to all controller-related members.
| |
ReInputControllerHelperConflictCheckingHelper | ||
ReInputControllerHelperPollingHelper |
Provides access to controller element polling-related members.
This should only be used for controller mapping or other non-gameplay-related code.
The polling system is expensive and should not be used during gameplay.
| |
ReInputGlyphHelper |
Provides access to all glyph-related members.
| |
ReInputLocalizationHelper |
Provides access to all localization-related members.
| |
ReInputMappingHelper |
Provides access to all mapping-related data defined in the Rewired Editor.
This data is read-only. Data created in the Rewired Editor cannot be changed at run time.
| |
ReInputPlayerHelper |
Provides access to all player-related members.
| |
ReInputTimeHelper |
Provides access to time-related data. This is mostly for accurate unscaled time comparisons for button and axis times.
| |
ReInputUnityTouch |
Provides access to touch-related members.
| |
SixDofControllerTemplate |
Class representing a 6 DoF Controller Template.
This class contains constants. Do not use this class to interact with the Rewired API.
Use the interface ISixDofControllerTemplate instead.
|
Structure | Description | |
---|---|---|
AxisCalibrationData |
A struct for working with axis calibration data.
| |
ControllerElementTarget |
Describes a specific Controller Element on a Controller including a partial Axis.
| |
ControllerIdentifier |
Information to identify a Controller.
| |
ControllerPollingInfo |
Contains polling information recieved from a controller element polling request.
Use this to determine which controller element was activated for use in control remapping.
| |
ControllerTemplateElementTarget |
Describes a specific Controller Template Element on a Controller Template including a partial Axis.
| |
ElementAssignment |
A struct for making a controller element assignement.
| |
ElementAssignmentConflictCheck |
A struct for performing a controller element assignment conflict check.
| |
ElementAssignmentConflictInfo |
Information about a controller element assignment conflict.
| |
InputActionEventData |
Event data returned by an Input Action update event. Use this to get information about the input event.
| |
InputActionSourceData |
Provides information about the current sources contributing to the value of an Input Action.
| |
PlayerSaveData |
A struct used for retrieving all the saveable data in a Player.
|
Interface | Description | |
---|---|---|
IControllerElementTarget |
Interface for a Controller element target.
| |
IControllerTemplate |
Interface for a Controller Template.
| |
IControllerTemplateAxis |
Interface for a Controller Template Axis.
An Axis has a floating-point value.
An Axis consists of two poles, positive and negative.
| |
IControllerTemplateAxisSource |
Interface for a Controller Template Axis Source.
This provides information about the source of the Controller Template Axis.
| |
IControllerTemplateButton |
Interface for a Controller Template Button.
A Button has an on/off value and optionally a pressure value.
| |
IControllerTemplateButtonSource |
Interface for a Controller Template Button Source.
This provides information about the source of the Controller Template Button.
| |
IControllerTemplateDPad |
Interface for a Controller Template D-Pad.
A D-Pad consists of 4 directional buttons and an optional press-in button.
| |
IControllerTemplateElement |
Interface for a Controller Template Element.
| |
IControllerTemplateElementSource |
Interface for a Controller Template Element Source.
This provides information about the source of the Controller Template Element.
| |
IControllerTemplateHat |
Interface for a Controller Template Hat.
A Hat is an 8-directional switch.
This is commonly used on flight sticks.
| |
IControllerTemplateStick |
Interface for a Controller Template Stick.
A Stick can have up to 3 axes: Horizontal, Vertical, and Rotation.
This is used for flight sticks.
| |
IControllerTemplateStick6D |
Interface for a Controller Template 6 DoF Stick.
| |
IControllerTemplateThrottle |
Interface for a Controller Template Throttle.
A Throttle has an axis and an optional button activated when the throttle is at its minimum value.
| |
IControllerTemplateThumbStick |
Interface for a Controller Template Thumb Stick.
A Thumb Stick has 2 axes and an optional button.
This is used for gamepad sticks.
| |
IControllerTemplateYoke |
Interface for a Controller Template Yoke.
A Yoke has 2 axes: Rotation and Push/Pull.
This is used for flight yokes.
| |
IFlightPedalsTemplate |
Interface for a Flight Pedals Controller Template.
| |
IFlightYokeTemplate |
Interface for a Flight Yoke Controller Template.
| |
IGamepadTemplate |
Interface for a Gamepad Controller Template.
| |
IHOTASTemplate |
Interface for a HOTAS Controller Template.
| |
IRacingWheelTemplate |
Interface for a Racing Wheel Controller Template.
| |
ISixDofControllerTemplate |
Interface for a 6 DoF Controller Controller Template.
|
Delegate | Description | |
---|---|---|
ActiveControllerChangedDelegate |
Delegate for a current active controller change.
| |
PlayerActiveControllerChangedDelegate |
Delegate for a current active controller change in a Player.
|
Enumeration | Description | |
---|---|---|
AxisCoordinateMode |
The axis coordinate mode.
| |
AxisRange |
The range of an axis.
| |
AxisSensitivity2DType |
Calculation type for sensitivity on 2D axes.
| |
AxisSensitivityType |
Axis sensitivity calculation type.
| |
AxisType |
The type of axis.
| |
CompoundControllerElementType |
The type of a compound element in a controller.
| |
ControllerElementType |
The type of an element in a controller.
| |
ControllerSetSelectorType |
The Controller selector type.
| |
ControllerTemplateElementSourceType |
Controller Template Element Source type.
| |
ControllerTemplateElementType |
Controller Template Element type.
| |
ControllerType |
The type of a controller.
| |
DeadZone2DType |
Calculation type for 2D deadzones.
| |
ElementAssignmentType |
The type of an element assignment.
| |
InputActionEventType |
Input action events. When using event based input, this is used to specify when to send an event.
| |
InputActionType |
The expected element type of an action.
| |
InputMapperConflictResponse |
Actions to take when a conflict is found.
| |
InputMapperStatus |
The status of the mapper.
| |
KeyboardKeyCode |
A keyboard key code.
| |
ModifierKey |
A keyboard modifier key type.
| |
ModifierKeyFlags |
Keyboard modifier keys as flags.
| |
MouseInputElement |
An input element on the mouse.
| |
MouseOtherAxisMode |
The mode for the mouse's other axes apart from X and Y.
| |
MouseXYAxisDeltaCalc |
The delta calulation mode for the mouse's X and Y axes.
| |
MouseXYAxisMode |
The mode for the mouse's X and Y axes.
| |
PlayerMouseMovementAreaUnit |
The unit of the movement area.
| |
Pole |
A positive or negative value.
| |
UpdateLoopType |
Unity update loop type.
|