Пример #1
0
 /// <summary>Takes a snapshot of the current state of the input device</summary>
 /// <remarks>
 ///   This snapshot will be queued until the user calls the Update() method,
 ///   where the next polled snapshot will be taken from the queue and provided
 ///   to the user.
 /// </remarks>
 public void TakeSnapshot()
 {
     this.queuedEvents.Enqueue(KeyboardEvent.Snapshot());
 }