Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/caviar/src/utils/Keycodes.ts>Keys

⚡ Blazing fast, modern, Game Engine powered by WebGPU for Deno and the browser
Go to Latest
enum Keys
import { Keys } from "https://deno.land/x/caviar@2.4.11/src/utils/Keycodes.ts";

Members

A = 97
ALT = 1073742050
ARROWDOWN = 1073741905
ARROWLEFT = 1073741904
ARROWRIGHT = 1073741903
ARROWUP = 1073741906
B = 98
BACKSLASH = 92
BACKSPACE = 8
BACKTICK = 96
C = 99
CLOSEBRACKET = 93
COMMA = 44
CTRL = 1073742048
D = 100
E = 101
EQUAL = 61
F = 102
FORWARDSLASH = 47
G = 103
H = 104
I = 105
J = 106
K = 107
L = 108
M = 109
N = 110
N0 = 48
N1 = 49
N2 = 50
N3 = 51
N4 = 52
N5 = 53
N6 = 54
N7 = 55
N8 = 56
N9 = 57
O = 111
OPENBRACKET = 91
P = 112
PERIOD = 46
PLUS = 45
Q = 113
QUOTE = 39
R = 114
S = 115
SEMICOLON = 59
SHIFT = 1073742049
SPACE = 32
T = 116
U = 117
V = 118
W = 119
X = 120
Y = 121
Z = 122