title: KeyPress event not firing when using MouseKeyHook
body: <p>I started using MouseKeyHook library couple of days ago to intercept keyboard buttons for an application that we're building (the application uses numerical keyboard as input to send specific messages through Akka, etc).</p>
  
  <p>I've managed to get it to work pretty quickly using a console app and registering everything there, but once I moved the implementation into a specific service, it stopped working (event is not being fired).</p>
  
  <p>Here's the code example:</p>
  
  <pre><code>public class KeypadService : IKeypad
  {
      private readonly IKeyboardEvents _keyboardEvents;
  
      public KeypadService()
      {
          _keyboardEvents = Hook.GlobalEvents();
          _keyboardEvents.KeyPress += GlobalHookKeyPress;
      }
  
      public void Enable(Action&lt;string&gt; codeEntered)
      {
  
      }
  
      public void Disable()
      {
          _keyboardEvents.KeyPress -= GlobalHookKeyPress;
      }
  
      private static void GlobalHookKeyPress(object sender, KeyPressEventArgs e)
      {
          // Do something
      }
  }
  </code></pre>
  
  <p>KeypadService is created by Autofac at the start of the application (and the startup application is a console app).</p>
  
  <pre><code>builder.RegisterType&lt;KeypadService&gt;().As&lt;IKeypad&gt;().SingleInstance();
  </code></pre>
  
  <p>The constructor is being hit and everything executes inside the constructor.</p>
  
  <p>Any clue as to why it might not be firing? Any help is appreciated!</p>