bitburner-src/utils/helpers/keyCodes.ts
danielyxie 61150f5823 Revert "Revert "Gang rework""
This reverts commit be0a08d70caacd9bc3a43faab2825cd5f3c68e1f.
2018-10-29 11:09:33 -05:00

33 lines
708 B
TypeScript

import { IMap } from "../../src/types";
/**
* Keyboard key codes
*/
export const KEY: IMap<number> = {
A: 65,
B: 66,
C: 67,
CTRL: 17,
D: 68,
DOWNARROW: 40,
E: 69,
ENTER: 13,
F: 70,
H: 72,
J: 74,
K: 75,
L: 76,
M: 77,
N: 78,
O: 79,
P: 80,
R: 82,
S: 83,
TAB: 9,
U: 85,
UPARROW: 38,
W: 87,
"1": 49,
"2": 50,
};