ANSI keyboard layout test
The ANSI diagram shows a standard US-style board with a wide left Shift and a single-row Enter key.
esc F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 F12
` 1 2 3 4 5 6 7 8 9 0 - = backspace
tab Q W E R T Y U I O P [ ] \
caps A S D F G H J K L ; ' enter
shift Z X C V B N M , . / shift
ctrl win alt space alt win menu ctrl
Event sheet
Local only event.key Waiting for a key press
event.code Not recorded
location Not recorded
repeat No repeat detected
stuck No stuck keys
modifiers None
Privacy: key events are processed only in this tab and are never sent
anywhere. Some combinations are reserved by the operating system or browser and cannot
be captured by any web page.
Identify a horizontal Enter key
On a typical ANSI board, the main Enter key is a wide rectangle on one row. Look at the left Shift next. On a US QWERTY board, the next key to its right is Z. A UK keyboard with a tall Enter and a separate key between Shift and Z fits the ISO diagram better.
Press the main Enter key and read event.code in the Event sheet. It should show Enter. If your keyboard has a number pad, its Enter key normally reports NumpadEnter, even though both produce the same event.key. Use the physical shape to choose the diagram. The Enter event alone cannot distinguish ANSI from ISO.