A simple generator of keys config for js apps
HTML JavaScript CSS
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
libs
.gitmodules
GPL3.txt
README.md
favicon.ico
index.htm
jskeysconfig.js
main.css

README.md

jsKeysConfig generator

A simple generator of keys config for javascript browser apps (keydown and keyup events)

[http://github.com/summerstyle/jsKeysConfig] (http://github.com/summerstyle/jsKeysConfig)

Released under the GPL3 (GPL3.txt)

  1. Set settings

A sorting type (by default - groups and alphabetical) and columns

  1. Select keys

Press and select keys (a second click - deselect key)

  1. Get config

and copy it in your js-code

  1. Use config

switch (e.keyCode) {
    case KEYS.ENTER:
        // code
    case KEYS.DELETE:
        // code
}