About 51 results
Open links in new tab
  1. KeyboardEvent: keyCode property - Web APIs | MDN

    Sep 18, 2025 · The deprecated KeyboardEvent.keyCode read-only property represents a system and implementation dependent numerical code identifying the unmodified value of the pressed key.

  2. Code values for keyboard events - Web APIs | MDN - MDN Web Docs

    Aug 13, 2024 · The following tables show what code values are used for each native scancode or virtual keycode on major platforms. The reason is that some browsers choose to interpret physical keys …

  3. Key values for keyboard events - Web APIs | MDN

    May 4, 2026 · Key values for keyboard events The tables below list the standard values for the KeyboardEvent.key property, with an explanation of what the key is typically used for. Corresponding …

  4. KeyboardEvent: code property - Web APIs | MDN - MDN Web Docs

    Oct 13, 2025 · The KeyboardEvent.code property represents a physical key on the keyboard (as opposed to the character generated by pressing the key). In other words, this property returns a …

  5. KeyboardEvent - Web APIs - MDN

    Sep 18, 2025 · KeyboardEvent objects describe a user interaction with the keyboard; each event describes a single interaction between the user and a key (or combination of a key with modifier …

  6. KeyboardEvent: key property - Web APIs | MDN - MDN Web Docs

    Sep 18, 2025 · The KeyboardEvent interface's key read-only property returns the value of the key pressed by the user, taking into consideration the state of modifier keys such as Shift as well as the …

  7. KeyboardEvent.keyCode - Web API | MDN - MDN Web Docs

    这个只读的属性 KeyboardEvent.keyCode 代表着一个唯一标识的所按下的键的未修改值,它依据于一个系统和实现相关的数字代码。这通常是与密钥对应的二进制的 ASCII (RFC 20) 或 Windows 1252 码 …

  8. KeyboardEvent: keyCode プロパティ - Web API | MDN - MDN Web Docs

    非推奨の KeyboardEvent.keyCode 読み取り専用プロパティは、押されたキーの変更されていない値を識別するシステムおよび実装に依存する数値コードを表します。

  9. Element: keydown event - Web APIs | MDN - MDN Web Docs

    Sep 25, 2025 · The keydown event is fired when a key is pressed. Unlike the deprecated keypress event, the keydown event is fired for all keys, regardless of whether they produce a character value. …

  10. Element: keyup event - Web APIs | MDN - MDN Web Docs

    Sep 25, 2025 · The keyup event is fired when a key is released. The keydown and keyup events provide a code indicating which key is pressed, while keypress indicates which character was entered. For …