keyDecode

A JavaScript library for working with key codes

  Add it to your Download Basket!

 Add it to your Watch List!

0/5

Rate it!
send us
an update
LICENSE TYPE:

Other Free / Open Source License

USER RATING:
UNRATED
  0.0/5
DEVELOPED BY:
Greg Smith (incompl)
HOMEPAGE:
github.com
LANGUAGE:
JavaScript
CATEGORY:
C: \ Development Tools \ Other Libraries
When dealing with keyboard shortcuts or key-press events on a Web page, developers must get acquainted to key codes.

A key code is a code for easily identifying which key was pressed.

The keyDecode library allows editors to simply write the key symbol in the source code, and keyDecode will automatically convert it to the proper key code when running the code.

So with keyDecode will translate something as follows:
'left' ---> 37
'space' ---> 32
'numpad 6' ---> 102
'\' ---> 222

A demo is included with the download package.

Last updated on December 18th, 2012

Runs on: Windows / Linux / Mac OS / BSD / Solaris

requirements

#key code #character to code #keyboard shortcut #key #code #converter #symbol

Add your review!

SUBMIT