@launchmenu/core
Version:
An environment for visual keyboard controlled applets
148 lines • 3.02 kB
TypeScript
import { IKeyId } from "./keyIds";
import { IKeyName } from "./keyNames";
/** All valid key matchers */
export declare const keys: {
"0": "0";
"1": "1";
"2": "2";
"3": "3";
"4": "4";
"5": "5";
"6": "6";
"7": "7";
"8": "8";
"9": "9";
backspace: "backspace";
tab: "tab";
enter: "enter";
shift: "shift";
ctrl: "ctrl";
alt: "alt";
esc: "esc";
pageUp: "pageUp";
pageDown: "pageDown";
end: "end";
home: "home";
left: "left";
up: "up";
right: "right";
down: "down";
insert: "insert";
delete: "delete";
a: "a";
b: "b";
c: "c";
d: "d";
e: "e";
f: "f";
g: "g";
h: "h";
i: "i";
j: "j";
k: "k";
l: "l";
m: "m";
n: "n";
o: "o";
p: "p";
q: "q";
r: "r";
s: "s";
t: "t";
u: "u";
v: "v";
w: "w";
x: "x";
y: "y";
z: "z";
meta: "meta";
f1: "f1";
f2: "f2";
f3: "f3";
f4: "f4";
f5: "f5";
f6: "f6";
f7: "f7";
f8: "f8";
f9: "f9";
f10: "f10";
f11: "f11";
f12: "f12";
f13: "f13";
f14: "f14";
f15: "f15";
f16: "f16";
f17: "f17";
f18: "f18";
f19: "f19";
semicolon: "semicolon";
equal: "equal";
comma: "comma";
minus: "minus";
period: "period";
slash: "slash";
backquote: "backquote";
bracketLeft: "bracketLeft";
backslash: "backslash";
bracketRight: "bracketRight";
quote: "quote";
space: "space";
printScreen: "printScreen";
contextMenu: "contextMenu";
shiftLeft: "shiftLeft";
controlLeft: "controlLeft";
altLeft: "altLeft";
shiftRight: "shiftRight";
controlRight: "controlRight";
altRight: "altRight";
escape: "escape";
arrowLeft: "arrowLeft";
arrowUp: "arrowUp";
arrowRight: "arrowRight";
arrowDown: "arrowDown";
digit0: "digit0";
digit1: "digit1";
digit2: "digit2";
digit3: "digit3";
digit4: "digit4";
digit5: "digit5";
digit6: "digit6";
digit7: "digit7";
digit8: "digit8";
digit9: "digit9";
keyA: "keyA";
keyB: "keyB";
keyC: "keyC";
keyD: "keyD";
keyE: "keyE";
keyF: "keyF";
keyG: "keyG";
keyH: "keyH";
keyI: "keyI";
keyJ: "keyJ";
keyK: "keyK";
keyL: "keyL";
keyM: "keyM";
keyN: "keyN";
keyO: "keyO";
keyP: "keyP";
keyQ: "keyQ";
keyR: "keyR";
keyS: "keyS";
keyT: "keyT";
keyU: "keyU";
keyV: "keyV";
keyW: "keyW";
keyX: "keyX";
keyY: "keyY";
keyZ: "keyZ";
metaLeft: "metaLeft";
metaRight: "metaRight";
};
/** A valid key matcher */
export declare type IKeyMatcher = keyof typeof keys;
/** A mapping from key ids to the simplified names of those keys */
export declare const keyIdMapping: {
[K in IKeyId]: IKeyName;
};
//# sourceMappingURL=keys.d.ts.map