Manually add and remove devices
To manually add and remove Devices through the API, use InputSystem.AddDevice() and InputSystem.RemoveDevice().
This allows you to create your own Devices, which can be useful for testing purposes, or for creating virtual Input Devices which synthesize input from other events. As an example, see the on-screen Controls that the Input System provides. The Input Devices used for on-screen Controls are created entirely in code and have no native representation.