Skip to content

Check which keys are being pressed with this simple piece of JavaScript

Notifications You must be signed in to change notification settings

tim-band/key-ghosting

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

key-ghosting

Check which keys are being pressed with this simple piece of JavaScript.

Open the keys.html file in your browser, ensure JavaScript is enabled and the cursor is in the input box, then press any keys and combinations of keys. The input box will show you which ones are registered.

Be careful when holding down the Control key, as this key in combination with other keys will probably activate some function of your browser.

JS Fiddle

https://jsfiddle.net/507zLenw/

How to open the keys.html file from github

Click "1 release", then "v1.0", then ".zip". Tell your browser to open the zip file, then navigate into key-ghosting-1.0 and open keys.html.

About

Check which keys are being pressed with this simple piece of JavaScript

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages