Permalink
Browse files

Adding support for insert and function keys.

  • Loading branch information...
1 parent 9036c42 commit 9d8b28660e4b088731346bcf291273688f456b7c @wzutz wzutz committed Jul 10, 2012
Showing with 13 additions and 0 deletions.
  1. +13 −0 mousetrap.js
View
13 mousetrap.js
@@ -44,9 +44,22 @@ window.Mousetrap = (function() {
38: 'up',
39: 'right',
40: 'down',
+ 45: 'ins',
46: 'del',
91: 'meta',
93: 'meta',
+ 112: 'f1',
+ 113: 'f2',
+ 114: 'f3',
+ 115: 'f4',
+ 116: 'f5',
+ 117: 'f6',
+ 118: 'f7',
+ 119: 'f8',
+ 120: 'f9',
+ 121: 'f10',
+ 122: 'f11',
+ 123: 'f12',
224: 'meta',
106: '*',
107: '+',

0 comments on commit 9d8b286

Please sign in to comment.