Read key and code separately
Key names reflect your keyboard layout. Code identifies the physical key position reported by the browser. Location distinguishes left, right and keypad keys when the event provides that information.
A worked example
Pressing the left Shift key reports key Shift, code ShiftLeft and location 1. Release removes it from the held-key list.
Before you use the result
Browser and operating-system shortcuts may never reach this page. A missing event does not prove a broken key. Software keyboards may report different events from physical keyboards.