コード例 #1
0
 private void SendKeyPressMessages(IInputState inputState)
 {
     foreach (var keyEvent in _keyPressEvents.Where(keyEvent => inputState.IsKeyPressed(keyEvent.Key)))
     {
         keyEvent.Send(inputState);
     }
 }