(string? name)
| 127 | } |
| 128 | |
| 129 | private InputDevice? FindDeviceById(string? name) |
| 130 | { |
| 131 | foreach (var sequence in this.actionBuilder.ToActionSequenceList()) |
| 132 | { |
| 133 | Dictionary<string, object> actions = sequence.ToDictionary(); |
| 134 | |
| 135 | string id = (string)actions["id"]; |
| 136 | |
| 137 | if (id == name) |
| 138 | { |
| 139 | return sequence.InputDevice; |
| 140 | } |
| 141 | } |
| 142 | |
| 143 | return null; |
| 144 | } |
| 145 | |
| 146 | /// <summary> |
| 147 | /// Gets the active pointer device for this Actions class. |
nothing calls this directly
no test coverage detected