title: Javascript fromCharCode keyCode
body: <p>I need the keycodes for something but I don't know what kind of keycode it is, I couldn't find it anywhere else. </p>
  
  <pre><code> function keyDown(e) {
    if (String.fromCharCode(e.keyCode) == "%") isLeft = true;
    if (String.fromCharCode(e.keyCode) == "'") isRight = true;
  }
  
  function keyUp(e) {
    if (String.fromCharCode(e.keyCode) == "%") isLeft = false;
    if (String.fromCharCode(e.keyCode) == "'") isRight = false;
  
  
  
  }
  </code></pre>
  
  <p>I figured out that % is left arrow and ' is the right arrow, could anyone tell me what kind of keycode thingy this is? or maybe how I could change it to a better one.</p>
  
  <p>Thanks :)</p>