Method RefreshInputDeviceIfNeeded
RefreshInputDeviceIfNeeded()
Updates the found input device used to read input from if it isn't valid. This should be called before attempting to read a value from the input device.
Declaration
protected bool RefreshInputDeviceIfNeeded()
Returns
| Type | Description |
|---|---|
| bool | Returns true if the input device is valid or if a valid one with matching characteristics was found. |