title: How to detect the currently pressed key?
body: <p>In <a href="http://en.wikipedia.org/wiki/Windows_Forms" rel="noreferrer">Windows Forms</a>, you can know, at any time, the current position of the cursor thanks to the <a href="https://msdn.microsoft.com/en-us/library/system.windows.forms.cursors%28v=vs.110%29.aspx" rel="noreferrer">Cursors</a> class.</p>
  
  <p>The same thing doesn't seem to be available for the keyboard. Is it possible to know if, for example, the <kbd>Shift</kbd> key is pressed?</p>
  
  <p>Is it absolutely necessary to track down every keyboard notification (KeyDown and KeyUp events)?</p>