Skip to content

Latest commit

 

History

History
11 lines (7 loc) · 869 Bytes

File metadata and controls

11 lines (7 loc) · 869 Bytes
uid input-system-sync-device

Sync a device

A Device may be requested to send an event with its current state through RequestSyncCommand. It depends on the platform and type of Device whether this is supported or not.

A synchronization request can be explicitly sent using InputSystem.TrySyncDevice. If the device supports sync requests, the method returns true and an InputEvent will have been queued on the device for processing in the next update.

Synchronization requests are also automatically sent by the Input System in certain situations. Refer to Background and focus change behavior for more details.