Skip to main content
Deno 2 is finally here 🎉️
Learn more
Latest
interface KeyDefinition
import { type KeyDefinition } from "https://deno.land/x/pptr@1.2.0/src/USKeyboardLayout.ts";

Properties

optional
keyCode: number
optional
shiftKeyCode: number
optional
key: string
optional
shiftKey: string
optional
code: string
optional
text: string
optional
shiftText: string
optional
location: number