Skip to content

Instantly share code, notes, and snippets.

@Buildstarted
Created August 22, 2013 21:22
Show Gist options
  • Select an option

  • Save Buildstarted/6312963 to your computer and use it in GitHub Desktop.

Select an option

Save Buildstarted/6312963 to your computer and use it in GitHub Desktop.
module EndGate.Input.Assets {
export class Keys {
/**
* Back key.
*/
public static get Back(): string {
return 'back';
}
/**
* Tab key.
*/
public static get Tab(): string {
return 'tab';
}
/**
* Enter key.
*/
public static get Enter(): string {
return 'enter';
}
/**
* CapsLock key.
*/
public static get CapsLock(): string {
return 'capslock';
}
/**
* Escape key.
*/
public static get Escape(): string {
return 'escape';
}
/**
* Space key.
*/
public static get Space(): string {
return 'space';
}
/**
* PageUp key.
*/
public static get PageUp(): string {
return 'pageup';
}
/**
* PageDown key.
*/
public static get PageDown(): string {
return 'pagedown';
}
/**
* End key.
*/
public static get End(): string {
return 'end';
}
/**
* Home key.
*/
public static get Home(): string {
return 'home';
}
/**
* Left key.
*/
public static get Left(): string {
return 'left';
}
/**
* Up key.
*/
public static get Up(): string {
return 'up';
}
/**
* Right key.
*/
public static get Right(): string {
return 'right';
}
/**
* Down key.
*/
public static get Down(): string {
return 'down';
}
/**
* Select key.
*/
public static get Select(): string {
return 'select';
}
/**
* Print key.
*/
public static get Print(): string {
return 'print';
}
/**
* Execute key.
*/
public static get Execute(): string {
return 'execute';
}
/**
* PrintScreen key.
*/
public static get PrintScreen(): string {
return 'printscreen';
}
/**
* Insert key.
*/
public static get Insert(): string {
return 'insert';
}
/**
* Delete key.
*/
public static get Delete(): string {
return 'delete';
}
/**
* Help key.
*/
public static get Help(): string {
return 'help';
}
/**
* D0 key.
*/
public static get D0(): string {
return 'd0';
}
/**
* D1 key.
*/
public static get D1(): string {
return 'd1';
}
/**
* D2 key.
*/
public static get D2(): string {
return 'd2';
}
/**
* D3 key.
*/
public static get D3(): string {
return 'd3';
}
/**
* D4 key.
*/
public static get D4(): string {
return 'd4';
}
/**
* D5 key.
*/
public static get D5(): string {
return 'd5';
}
/**
* D6 key.
*/
public static get D6(): string {
return 'd6';
}
/**
* D7 key.
*/
public static get D7(): string {
return 'd7';
}
/**
* D8 key.
*/
public static get D8(): string {
return 'd8';
}
/**
* D9 key.
*/
public static get D9(): string {
return 'd9';
}
/**
* A key.
*/
public static get A(): string {
return 'a';
}
/**
* B key.
*/
public static get B(): string {
return 'b';
}
/**
* C key.
*/
public static get C(): string {
return 'c';
}
/**
* D key.
*/
public static get D(): string {
return 'd';
}
/**
* E key.
*/
public static get E(): string {
return 'e';
}
/**
* F key.
*/
public static get F(): string {
return 'f';
}
/**
* G key.
*/
public static get G(): string {
return 'g';
}
/**
* H key.
*/
public static get H(): string {
return 'h';
}
/**
* I key.
*/
public static get I(): string {
return 'i';
}
/**
* J key.
*/
public static get J(): string {
return 'j';
}
/**
* K key.
*/
public static get K(): string {
return 'k';
}
/**
* L key.
*/
public static get L(): string {
return 'l';
}
/**
* M key.
*/
public static get M(): string {
return 'm';
}
/**
* N key.
*/
public static get N(): string {
return 'n';
}
/**
* O key.
*/
public static get O(): string {
return 'o';
}
/**
* P key.
*/
public static get P(): string {
return 'p';
}
/**
* Q key.
*/
public static get Q(): string {
return 'q';
}
/**
* R key.
*/
public static get R(): string {
return 'r';
}
/**
* S key.
*/
public static get S(): string {
return 's';
}
/**
* T key.
*/
public static get T(): string {
return 't';
}
/**
* U key.
*/
public static get U(): string {
return 'u';
}
/**
* V key.
*/
public static get V(): string {
return 'v';
}
/**
* W key.
*/
public static get W(): string {
return 'w';
}
/**
* X key.
*/
public static get X(): string {
return 'x';
}
/**
* Y key.
*/
public static get Y(): string {
return 'y';
}
/**
* Z key.
*/
public static get Z(): string {
return 'z';
}
/**
* LeftWindows key.
*/
public static get LeftWindows(): string {
return 'leftwindows';
}
/**
* RightWindows key.
*/
public static get RightWindows(): string {
return 'rightwindows';
}
/**
* Apps key.
*/
public static get Apps(): string {
return 'apps';
}
/**
* Sleep key.
*/
public static get Sleep(): string {
return 'sleep';
}
/**
* NumPad0 key.
*/
public static get NumPad0(): string {
return 'numpad0';
}
/**
* NumPad1 key.
*/
public static get NumPad1(): string {
return 'numpad1';
}
/**
* NumPad2 key.
*/
public static get NumPad2(): string {
return 'numpad2';
}
/**
* NumPad3 key.
*/
public static get NumPad3(): string {
return 'numpad3';
}
/**
* NumPad4 key.
*/
public static get NumPad4(): string {
return 'numpad4';
}
/**
* NumPad5 key.
*/
public static get NumPad5(): string {
return 'numpad5';
}
/**
* NumPad6 key.
*/
public static get NumPad6(): string {
return 'numpad6';
}
/**
* NumPad7 key.
*/
public static get NumPad7(): string {
return 'numpad7';
}
/**
* NumPad8 key.
*/
public static get NumPad8(): string {
return 'numpad8';
}
/**
* NumPad9 key.
*/
public static get NumPad9(): string {
return 'numpad9';
}
/**
* Multiply key.
*/
public static get Multiply(): string {
return 'multiply';
}
/**
* Add key.
*/
public static get Add(): string {
return 'add';
}
/**
* Separator key.
*/
public static get Separator(): string {
return 'separator';
}
/**
* Subtract key.
*/
public static get Subtract(): string {
return 'subtract';
}
/**
* Decimal key.
*/
public static get Decimal(): string {
return 'decimal';
}
/**
* Divide key.
*/
public static get Divide(): string {
return 'divide';
}
/**
* F1 key.
*/
public static get F1(): string {
return 'f1';
}
/**
* F2 key.
*/
public static get F2(): string {
return 'f2';
}
/**
* F3 key.
*/
public static get F3(): string {
return 'f3';
}
/**
* F4 key.
*/
public static get F4(): string {
return 'f4';
}
/**
* F5 key.
*/
public static get F5(): string {
return 'f5';
}
/**
* F6 key.
*/
public static get F6(): string {
return 'f6';
}
/**
* F7 key.
*/
public static get F7(): string {
return 'f7';
}
/**
* F8 key.
*/
public static get F8(): string {
return 'f8';
}
/**
* F9 key.
*/
public static get F9(): string {
return 'f9';
}
/**
* F10 key.
*/
public static get F10(): string {
return 'f10';
}
/**
* F11 key.
*/
public static get F11(): string {
return 'f11';
}
/**
* F12 key.
*/
public static get F12(): string {
return 'f12';
}
/**
* F13 key.
*/
public static get F13(): string {
return 'f13';
}
/**
* F14 key.
*/
public static get F14(): string {
return 'f14';
}
/**
* F15 key.
*/
public static get F15(): string {
return 'f15';
}
/**
* F16 key.
*/
public static get F16(): string {
return 'f16';
}
/**
* F17 key.
*/
public static get F17(): string {
return 'f17';
}
/**
* F18 key.
*/
public static get F18(): string {
return 'f18';
}
/**
* F19 key.
*/
public static get F19(): string {
return 'f19';
}
/**
* F20 key.
*/
public static get F20(): string {
return 'f20';
}
/**
* F21 key.
*/
public static get F21(): string {
return 'f21';
}
/**
* F22 key.
*/
public static get F22(): string {
return 'f22';
}
/**
* F23 key.
*/
public static get F23(): string {
return 'f23';
}
/**
* F24 key.
*/
public static get F24(): string {
return 'f24';
}
/**
* NumLock key.
*/
public static get NumLock(): string {
return 'numlock';
}
/**
* Scroll key.
*/
public static get Scroll(): string {
return 'scroll';
}
/**
* LeftShift key.
*/
public static get LeftShift(): string {
return 'leftshift';
}
/**
* RightShift key.
*/
public static get RightShift(): string {
return 'rightshift';
}
/**
* LeftControl key.
*/
public static get LeftControl(): string {
return 'leftcontrol';
}
/**
* RightControl key.
*/
public static get RightControl(): string {
return 'rightcontrol';
}
/**
* LeftAlt key.
*/
public static get LeftAlt(): string {
return 'leftalt';
}
/**
* RightAlt key.
*/
public static get RightAlt(): string {
return 'rightalt';
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment