ifkeysleftconsole;ifkeysctrl && keysp;ifkeysshift && keys0// do magic
Keystate gives you access to a keys object whose properties reflect the states of the keys on your keyboard. Keystate uses
String.fromCharCode (along with some predefined mappings) so that you can check the state of any alphanumeric key, along with the following list of modifiers. If you want to check numeric keys, access states like an array.
backspace tab enter ctrl alt caps esc left space up right down insert delete
npm install keystate
bower install keystate
keystate.js in your project and have a good time.