mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-16 06:23:18 +00:00
35 lines
1.3 KiB
JavaScript
35 lines
1.3 KiB
JavaScript
/* Copyright (c) 2006 Yahoo! Inc. All rights reserved. */
|
|
|
|
YAHOO.util.Key = new function() {
|
|
// this.logger = new ygLogger("ygEventUtil");
|
|
// DOM key constants
|
|
this.DOM_VK_UNDEFINED = 0x0;
|
|
this.DOM_VK_RIGHT_ALT = 0x12;
|
|
this.DOM_VK_LEFT_ALT = 0x12;
|
|
this.DOM_VK_LEFT_CONTROL = 0x11;
|
|
this.DOM_VK_RIGHT_CONTROL = 0x11;
|
|
this.DOM_VK_LEFT_SHIFT = 0x10;
|
|
this.DOM_VK_RIGHT_SHIFT = 0x10;
|
|
this.DOM_VK_META = 0x9D;
|
|
this.DOM_VK_BACK_SPACE = 0x08;
|
|
this.DOM_VK_CAPS_LOCK = 0x14;
|
|
this.DOM_VK_DELETE = 0x7F;
|
|
this.DOM_VK_END = 0x23;
|
|
this.DOM_VK_ENTER = 0x0D;
|
|
this.DOM_VK_ESCAPE = 0x1B;
|
|
this.DOM_VK_HOME = 0x24;
|
|
this.DOM_VK_NUM_LOCK = 0x90;
|
|
this.DOM_VK_PAUSE = 0x13;
|
|
this.DOM_VK_PRINTSCREEN = 0x9A;
|
|
this.DOM_VK_SCROLL_LOCK = 0x91;
|
|
this.DOM_VK_SPACE = 0x20;
|
|
this.DOM_VK_TAB = 0x09;
|
|
this.DOM_VK_LEFT = 0x25;
|
|
this.DOM_VK_RIGHT = 0x27;
|
|
this.DOM_VK_UP = 0x26;
|
|
this.DOM_VK_DOWN = 0x28;
|
|
this.DOM_VK_PAGE_DOWN = 0x22;
|
|
this.DOM_VK_PAGE_UP = 0x21;
|
|
};
|
|
|