Skip to content

Commit 8625709

Browse files
committed
Partial text update
1 parent 242212a commit 8625709

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

Packages/com.unity.inputsystem/Documentation~/Architecture.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@ The Input System has a layered architecture that consists of a low-level layer a
77

88
# Native backend
99

10-
The foundation of the Input System is the native backend code. This is platform-specific code which collects information about available Devices and input data from Devices. This code is not part of the Input System package, but is included with Unity itself. It has implementations for each runtime platform supported by Unity. This is why some platform-specific input bugs can only be fixed by an update to Unity, rather than a new version of the Input System package.
10+
The foundation of the Input System is the native backend code. This is platform-specific code that collects information about available devices and input data from devices. This code isn't part of the Input System package; it's included with Unity itself. It has implementations for each runtime platform supported by Unity. This is why some platform-specific input bugs can only be fixed by an update to Unity, rather than a new version of the Input System package.
1111

12-
The Input System interfaces with the native backend using [events](input-events.md) that the native backend sends. These events notify the system of the creation and removal of [Input Devices](devices.md), as well as any updates to the Device states. For efficiency and to avoid creating any garbage, the native backend reports these events as a simple buffer of raw, unmanaged memory containing a stream of events.
12+
The Input System interfaces with the native backend using [events](input-events.md) that the native backend sends. These events notify the system of the creation and removal of [Input Devices](devices.md) and any updates to the Device states. For efficiency and to avoid creating garbage, the native backend reports these events as a simple buffer of raw, unmanaged memory containing a stream of events.
1313

14-
The Input System can also send data back to the native backend in the form of [commands](device-commands.md) sent to Devices, which are also buffers of memory that the native backend interprets. These commands can have different meanings for different Device types and platforms.
14+
The Input System can also send data back to the native backend in the form of [commands](device-commands.md) sent to devices, which are also buffers of memory that the native backend interprets. These commands can have different meanings for different device types and platforms.
1515

1616
# Input System (low-level)
1717

@@ -90,11 +90,11 @@ flowchart TB
9090
class InputManager manager;
9191
```
9292

93-
The low-level Input System code processes and interprets the memory from the event stream that the native backend provides, and dispatches individual events.
93+
The low-level Input System code processes and interprets the memory from the event stream that the built-in back end provides, and dispatches individual events.
9494

95-
The Input System creates Device representations for any newly discovered Device in the event stream. The low-level code sees a Device as a block of raw, unmanaged memory. If it receives a state event for a Device, it writes the data from the state event into the Device's [state representation](control-state.md) in memory, so that the state always contains an up-to-date representation of the Device and all its Controls.
95+
When the Input System discovers a device in the event stream, it creates a device representation for it. The low-level code sees a device as a block of raw, unmanaged memory. When the low-level code receives a state event for a device, it writes the data from the state event into the device's [state representation](control-state.md) in memory. This means that the state always contains an up-to-date representation of the device and all its controls.
9696

97-
The low-level system code also contains structs which describe the data layout of commonly known Devices.
97+
The low-level system code also contains structs that describe the data layout of commonly known devices.
9898

9999
# Input System (high-level)
100100

0 commit comments

Comments
 (0)