Class ActingDeviceTracker
Simple holder for the last input device that drove a UI action. Written by the UI input layer
(the navigate/submit/cancel callbacks, where the triggering device is known) and read by
UnityGamepadTargetResolver when resolving the acting pad. Registered as a single
instance in the service locator so both sides share the same value.
Inheritance
ActingDeviceTracker
Assembly: Serenity.UnityFeedback.Infrastructure.dll
Syntax
public class ActingDeviceTracker : IActingDeviceTracker
Constructors
ActingDeviceTracker()
Declaration
public ActingDeviceTracker()
Properties
ActingDeviceId
Declaration
public string ActingDeviceId { get; }
Property Value
Methods
Clear()
Declaration
SetActingDevice(string)
Declaration
public void SetActingDevice(string deviceId)
Parameters
| Type |
Name |
Description |
| string |
deviceId |
|
Implements