title: remapping keyboard with jquery
body: <p>I'm trying to do a jquery script for remapping the keyboard keys.
  For exemple, if I press the upper arrow key, the keyboard must send the 'a' key.
  I use AutoHotKey to do things like this, but I want to see if I can do the same thing with jquery.</p>
  
  <pre><code>var myEvent = jQuery.Event("keydown");
  
  myEvent.which = 65;   //keycode for 'a'
  
  $(document).keydown(function(e){
  
         if ( e.which === 38 ) {
                 $(e.target).trigger(myEvent);
                 e.preventDefault();
         }
  
  });
  </code></pre>
  
  <p>Unfortunately don't work :(</p>
  
  <p>any suggestions ?
  Thank you.</p>