summaryrefslogtreecommitdiff
path: root/src/misc
diff options
context:
space:
mode:
authorHaishan <[email protected]>2020-08-06 16:26:01 +0800
committerHaishan <[email protected]>2020-08-06 22:40:26 +0800
commit2c9ee574ddd5d242021e5954ca6f6144f99eb7f2 (patch)
treef085d8083f106f2decd1156c6ba715c34acd38ed /src/misc
parent941224c13ba87d2c3f36fb86652f046a5c76e00d (diff)
refactor: improve a11y
Diffstat (limited to 'src/misc')
-rw-r--r--src/misc/keycode.ts6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/misc/keycode.ts b/src/misc/keycode.ts
new file mode 100644
index 0000000..d1dd935
--- /dev/null
+++ b/src/misc/keycode.ts
@@ -0,0 +1,6 @@
+export const keyCodes = {
+ Right: 39,
+ Left: 37,
+ Enter: 13,
+ Space: 32,
+};