Skip to content

A mapping from KeyEvent.keyCode numbers to KeyEvent.code strings

License

Notifications You must be signed in to change notification settings

marijnh/w3c-keycode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

W3C keycode

Tiny library that exports an object that maps numeric browser key codes to KeyEvent.code strings. The full list of such codes (of which this library only supports a subset) is defined in this document.

License: MIT

Does not try to target ancient browsers, and leaves out obscure keys. Intended to use as a reasonable fallback for browsers that don't have native support for KeyEvent.code.

About

A mapping from KeyEvent.keyCode numbers to KeyEvent.code strings

Resources

License

Stars

Watchers

Forks

Packages