A library that uses the Windows API to catch keypress events
static void Main(string[] args)
{
DetectKey.OnKeyPressed += OnKeyPress_Handled;
}
protected void OnKeyPress_Handled(LoggedKeys keys)
{
VirtualKeys k = keys.Key;
if(k == VirtualKeys.Enter)
{
//User pressed 'enter' key
}
}