Captures the input since the last call and triggers the input events. The input events queue. True if device has been disconnected, otherwise false.
| 118 | /// <param name="queue">The input events queue.</param> |
| 119 | /// <returns>True if device has been disconnected, otherwise false.</returns> |
| 120 | virtual bool Update(EventQueue& queue) |
| 121 | { |
| 122 | if (UpdateState()) |
| 123 | return true; |
| 124 | queue.Add(_queue); |
| 125 | _queue.Clear(); |
| 126 | return false; |
| 127 | } |
| 128 | |
| 129 | /// <summary> |
| 130 | /// Updates only the current state of the device. |
no test coverage detected