title: keyCode simply giving... the wrong response
body: <p>I'm not sure why this is happening. Similar things have happened, but they're typically due to keyloggers or something along those lines.</p>
  
  <p>My javascript is simply bugging out, or something.</p>
  
  <p>When I use <a href="http://www.cambiaresearch.com/articles/15/javascript-char-codes-key-codes" rel="nofollow">this</a> link and press W, I get 87 as a response.</p>
  
  <p>However, when I run my own code, which looks simply like this:</p>
  
  <pre><code>var keydown = function(e) {
      console.log(e.keyCode); //I've also tried charCode
  }
  
  window.addEventListener("keypress", keydown, false);
  </code></pre>
  
  <p>I get the number 119 when I press W.</p>
  
  <p>This is occurring both in Chrome and in IE.</p>
  
  <p>What gives?</p>