I'm currently developing an extension for chrome that takes action based on shortcut keys for specific web pages. Right now I'm using the "command" API to tell when a shortcut key is pressed ( https://developer.chrome.com/extensions/commands ). Is there any way to tell if a key is pressed and held? I only want this specific action to take place when that is the case.
Aucun commentaire:
Enregistrer un commentaire