Keyboard Shortcut: Invoke functions when multiple keys are pressed

Recommend this page to a friend!
  Info   View files View files (5)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 424 All time: 77 This week: 3Up
Version License JavaScript version Categories
kb-shortcut 1.0BSD License1.0Utilities and Tools, Events
Description Author

This object can invoke functions when multiple keys are pressed.

It can register event handler functions to be called when a sequence of one or more keys is pressed.

The key sequence is defined by a string with the names of the keys, which can be letters, digits, symbols or qualifier keys like Ctrl, Alt and Shift.

The registered callback handler function may also be called periodically while the defined key sequence is still being pressed.

Picture of Arturs Sosins
  Performance   Level  
Name: Arturs Sosins <contact>
Classes: 51 packages by
Country: Latvia Latvia
Age: 35
All time rank: 1
Week rank: 6 Down1 in Latvia Latvia Equal
Innovation award
Innovation award
Nominee: 8x

Winner: 6x

  Files folder image Files  
File Role Description
Plain text file kb_shortcut.js Class Main class
Plain text file kb_shortcut.packed.js Class Main class packed
Accessible without login Plain text file example.html Example Example of things can be achieved using class
Accessible without login Plain text file simple_example.html Example Simple example of class usage
Accessible without login Plain text file squario.html Example Some sort of mario parody using key binding

 Version Control Unique User Downloads Download Rankings  
 0%
Total:424
This week:0
All time:77
This week:3Up