title: jQuery key code for command key
body: <p>I have read <a href="https://stackoverflow.com/questions/302122/jquery-event-keypress-which-key-was-pressed">jQuery Event Keypress: Which key was pressed?</a> and <a href="https://stackoverflow.com/questions/2445613/how-can-i-check-if-key-is-pressed-during-click-event-with-jquery">How can i check if key is pressed during click event with jquery?</a></p>
  
  <p>However my question is if you can get the same key event for all browsers? Currently I know that Firefox gives the <kbd>command</kbd> button (Mac) the code 224 while Chrome and Safari give it the value 91. Is the best approach to simply check what browser the user is using and base the key pressed on that or is there a way so that I can get 1 key code across all browsers? 
  Note I am getting the value with the:</p>
  
  <pre><code>var code = (evt.keyCode ? evt.keyCode : evt.which);
  </code></pre>
  
  <p>I would love to not use a plugin if possible just because I only need to know about the <kbd>command</kbd>/<kbd>ctrl</kbd> (windows system) key pressed.</p>