mcbopomofoweb
    Preparing search index...

    Function KeyFromKeyboardEvent

    • Creates a Key object from a keyboard event.

      Parameters

      • keyCode: number

        The key code.

      • keyStates: number[]

        The key states.

      • ascii: string

        The ASCII character.

      • charCode: number

        The character code.

      Returns Key

      The Key object.