About

Tool No. 97 of Pikkola, 28 November 2026

A pad takes the key you press and shows every field beside it, with a listener written for exactly that combination. The pad is the only place keys are heard unless you switch on the page-wide capture, which is off by default so scrolling and Tab keep working.

What it does

key follows the layout, code follows the board

event.key is the character the layout produces, so the same physical key is a on a US board and q on a French one. event.code is the physical key and does not move. A shortcut found by its letter reads key; a game that means the key under the left hand reads code.

keyCode is a number with a history

It predates both, was never standardised, differs between browsers for punctuation and is deprecated but still present in a lot of code. The page prints the live value so old code can be checked against the browser it will actually run in.

The modifier that fires on its own

A modifier pressed alone also sends a keydown, with key equal to Shift and so on. A handler that only looks at key can therefore fire before the letter arrives, which is why the generated listener checks the exact set of modifiers rather than only the key.

What it is not

The pad describes one event at a time and does not record a session, does not build a heat map and does not store a keystroke. It also cannot intercept the shortcuts the browser or the operating system owns, such as Ctrl+W or Cmd+Tab.

Contact

A key this page reports differently from your browser, or a combination worth adding as an example: hello@pikkola.com.

Back to the studio