title: How is keyboard auto-repeat implemented on a Windows PC?
body: <p>I want to be able to intercept (and do arbitrary processing on) auto-repeating key presses on Windows. I'd like to know how keyboard auto-repeat is implemented so that I know what options I have. i.e. can I intercept at the:</p>
  
  <ul>
  <li>application,</li>
  <li>device driver and/or</li>
  <li>hardware level</li>
  </ul>
  
  <p>?</p>
  
  <p><strong>Update:</strong> It looks like auto-repeat is (poorly?) generated at the hardware level and then overridden by device drivers (<a href="http://stason.org/TULARC/pc/pc_hardware_faq/3_26_How_does_the_keyboard_interface_work.html" rel="nofollow noreferrer">see here</a>).</p>