зеркало из https://github.com/mozilla/pjs.git
Reverting key set to previous version. Fixes 17887. a:chofmann r:brade.
This commit is contained in:
Родитель
ec1556bf85
Коммит
1e6e741087
|
@ -35,7 +35,30 @@ class nsIDOMKeyEvent : public nsIDOMUIEvent {
|
|||
public:
|
||||
static const nsIID& GetIID() { static nsIID iid = NS_IDOMKEYEVENT_IID; return iid; }
|
||||
enum {
|
||||
DOM_CHAR_UNDEFINED = 65535,
|
||||
DOM_VK_CANCEL = 3,
|
||||
DOM_VK_BACK_SPACE = 8,
|
||||
DOM_VK_TAB = 9,
|
||||
DOM_VK_CLEAR = 12,
|
||||
DOM_VK_RETURN = 13,
|
||||
DOM_VK_ENTER = 14,
|
||||
DOM_VK_SHIFT = 16,
|
||||
DOM_VK_CONTROL = 17,
|
||||
DOM_VK_ALT = 18,
|
||||
DOM_VK_PAUSE = 19,
|
||||
DOM_VK_CAPS_LOCK = 20,
|
||||
DOM_VK_ESCAPE = 27,
|
||||
DOM_VK_SPACE = 32,
|
||||
DOM_VK_PAGE_UP = 33,
|
||||
DOM_VK_PAGE_DOWN = 34,
|
||||
DOM_VK_END = 35,
|
||||
DOM_VK_HOME = 36,
|
||||
DOM_VK_LEFT = 37,
|
||||
DOM_VK_UP = 38,
|
||||
DOM_VK_RIGHT = 39,
|
||||
DOM_VK_DOWN = 40,
|
||||
DOM_VK_PRINTSCREEN = 44,
|
||||
DOM_VK_INSERT = 45,
|
||||
DOM_VK_DELETE = 46,
|
||||
DOM_VK_0 = 48,
|
||||
DOM_VK_1 = 49,
|
||||
DOM_VK_2 = 50,
|
||||
|
@ -46,129 +69,34 @@ public:
|
|||
DOM_VK_7 = 55,
|
||||
DOM_VK_8 = 56,
|
||||
DOM_VK_9 = 57,
|
||||
DOM_VK_A = 65,
|
||||
DOM_VK_ACCEPT = 30,
|
||||
DOM_VK_ADD = 107,
|
||||
DOM_VK_AGAIN = 65481,
|
||||
DOM_VK_ALL_CANDIDATES = 256,
|
||||
DOM_VK_ALPHANUMERIC = 240,
|
||||
DOM_VK_ALT = 18,
|
||||
DOM_VK_ALT_GRAPH = 65406,
|
||||
DOM_VK_AMPERSAND = 150,
|
||||
DOM_VK_ASTERISK = 151,
|
||||
DOM_VK_AT = 512,
|
||||
DOM_VK_B = 66,
|
||||
DOM_VK_BACK_QUOTE = 192,
|
||||
DOM_VK_BACK_SLASH = 92,
|
||||
DOM_VK_BACK_SPACE = 8,
|
||||
DOM_VK_BRACELEFT = 161,
|
||||
DOM_VK_BRACERIGHT = 162,
|
||||
DOM_VK_C = 67,
|
||||
DOM_VK_CANCEL = 3,
|
||||
DOM_VK_CAPS_LOCK = 20,
|
||||
DOM_VK_CIRCUMFLEX = 514,
|
||||
DOM_VK_CLEAR = 12,
|
||||
DOM_VK_CLOSE_BRACKET = 93,
|
||||
DOM_VK_CODE_INPUT = 258,
|
||||
DOM_VK_COLON = 513,
|
||||
DOM_VK_COMMA = 44,
|
||||
DOM_VK_COMPOSE = 65312,
|
||||
DOM_VK_CONTROL = 17,
|
||||
DOM_VK_CONVERT = 28,
|
||||
DOM_VK_COPY = 65485,
|
||||
DOM_VK_CUT = 65489,
|
||||
DOM_VK_D = 68,
|
||||
DOM_VK_DEAD_ABOVEDOT = 134,
|
||||
DOM_VK_DEAD_ABOVERING = 136,
|
||||
DOM_VK_DEAD_ACUTE = 129,
|
||||
DOM_VK_DEAD_BREVE = 133,
|
||||
DOM_VK_DEAD_CARON = 138,
|
||||
DOM_VK_DEAD_CEDILLA = 139,
|
||||
DOM_VK_DEAD_CIRCUMFLEX = 130,
|
||||
DOM_VK_DEAD_DIAERESIS = 135,
|
||||
DOM_VK_DEAD_DOUBLEACUTE = 137,
|
||||
DOM_VK_DEAD_GRAVE = 128,
|
||||
DOM_VK_DEAD_IOTA = 141,
|
||||
DOM_VK_DEAD_MACRON = 132,
|
||||
DOM_VK_DEAD_OGONEK = 140,
|
||||
DOM_VK_DEAD_SEMIVOICED_SOUND = 143,
|
||||
DOM_VK_DEAD_TILDE = 131,
|
||||
DOM_VK_DEAD_VOICED_SOUND = 142,
|
||||
DOM_VK_DECIMAL = 110,
|
||||
DOM_VK_DELETE = 127,
|
||||
DOM_VK_DIVIDE = 111,
|
||||
DOM_VK_DOLLAR = 515,
|
||||
DOM_VK_DOWN = 40,
|
||||
DOM_VK_E = 69,
|
||||
DOM_VK_END = 35,
|
||||
DOM_VK_ENTER = 13,
|
||||
DOM_VK_SEMICOLON = 59,
|
||||
DOM_VK_EQUALS = 61,
|
||||
DOM_VK_ESCAPE = 27,
|
||||
DOM_VK_EURO_SIGN = 516,
|
||||
DOM_VK_EXCLAMATION_MARK = 517,
|
||||
DOM_VK_A = 65,
|
||||
DOM_VK_B = 66,
|
||||
DOM_VK_C = 67,
|
||||
DOM_VK_D = 68,
|
||||
DOM_VK_E = 69,
|
||||
DOM_VK_F = 70,
|
||||
DOM_VK_F1 = 112,
|
||||
DOM_VK_F10 = 121,
|
||||
DOM_VK_F11 = 122,
|
||||
DOM_VK_F12 = 123,
|
||||
DOM_VK_F13 = 61440,
|
||||
DOM_VK_F14 = 61441,
|
||||
DOM_VK_F15 = 61442,
|
||||
DOM_VK_F16 = 61443,
|
||||
DOM_VK_F17 = 61444,
|
||||
DOM_VK_F18 = 61445,
|
||||
DOM_VK_F19 = 61446,
|
||||
DOM_VK_F2 = 113,
|
||||
DOM_VK_F20 = 61447,
|
||||
DOM_VK_F21 = 61448,
|
||||
DOM_VK_F22 = 61449,
|
||||
DOM_VK_F23 = 61450,
|
||||
DOM_VK_F24 = 61451,
|
||||
DOM_VK_F3 = 114,
|
||||
DOM_VK_F4 = 115,
|
||||
DOM_VK_F5 = 116,
|
||||
DOM_VK_F6 = 117,
|
||||
DOM_VK_F7 = 118,
|
||||
DOM_VK_F8 = 119,
|
||||
DOM_VK_F9 = 120,
|
||||
DOM_VK_FINAL = 24,
|
||||
DOM_VK_FIND = 65488,
|
||||
DOM_VK_FULL_WIDTH = 243,
|
||||
DOM_VK_G = 71,
|
||||
DOM_VK_GREATER = 160,
|
||||
DOM_VK_H = 72,
|
||||
DOM_VK_HALF_WIDTH = 244,
|
||||
DOM_VK_HELP = 156,
|
||||
DOM_VK_HIRAGANA = 242,
|
||||
DOM_VK_HOME = 36,
|
||||
DOM_VK_I = 73,
|
||||
DOM_VK_INSERT = 155,
|
||||
DOM_VK_INVERTED_EXCLAMATION_MARK = 518,
|
||||
DOM_VK_J = 74,
|
||||
DOM_VK_JAPANESE_HIRAGANA = 260,
|
||||
DOM_VK_JAPANESE_KATAKANA = 259,
|
||||
DOM_VK_JAPANESE_ROMAN = 261,
|
||||
DOM_VK_K = 75,
|
||||
DOM_VK_KANA = 21,
|
||||
DOM_VK_KANJI = 25,
|
||||
DOM_VK_KATAKANA = 241,
|
||||
DOM_VK_KP_DOWN = 225,
|
||||
DOM_VK_KP_LEFT = 226,
|
||||
DOM_VK_KP_RIGHT = 227,
|
||||
DOM_VK_KP_UP = 224,
|
||||
DOM_VK_L = 76,
|
||||
DOM_VK_LEFT = 37,
|
||||
DOM_VK_LEFT_PARENTHESIS = 519,
|
||||
DOM_VK_LESS = 153,
|
||||
DOM_VK_M = 77,
|
||||
DOM_VK_META = 157,
|
||||
DOM_VK_MINUS = 45,
|
||||
DOM_VK_MODECHANGE = 31,
|
||||
DOM_VK_MULTIPLY = 106,
|
||||
DOM_VK_N = 78,
|
||||
DOM_VK_NONCONVERT = 29,
|
||||
DOM_VK_NUM_LOCK = 144,
|
||||
DOM_VK_NUMBER_SIGN = 520,
|
||||
DOM_VK_O = 79,
|
||||
DOM_VK_P = 80,
|
||||
DOM_VK_Q = 81,
|
||||
DOM_VK_R = 82,
|
||||
DOM_VK_S = 83,
|
||||
DOM_VK_T = 84,
|
||||
DOM_VK_U = 85,
|
||||
DOM_VK_V = 86,
|
||||
DOM_VK_W = 87,
|
||||
DOM_VK_X = 88,
|
||||
DOM_VK_Y = 89,
|
||||
DOM_VK_Z = 90,
|
||||
DOM_VK_NUMPAD0 = 96,
|
||||
DOM_VK_NUMPAD1 = 97,
|
||||
DOM_VK_NUMPAD2 = 98,
|
||||
|
@ -179,47 +107,46 @@ public:
|
|||
DOM_VK_NUMPAD7 = 103,
|
||||
DOM_VK_NUMPAD8 = 104,
|
||||
DOM_VK_NUMPAD9 = 105,
|
||||
DOM_VK_O = 79,
|
||||
DOM_VK_OPEN_BRACKET = 91,
|
||||
DOM_VK_P = 80,
|
||||
DOM_VK_PAGE_DOWN = 34,
|
||||
DOM_VK_PAGE_UP = 33,
|
||||
DOM_VK_PASTE = 65487,
|
||||
DOM_VK_PAUSE = 19,
|
||||
DOM_VK_PERIOD = 46,
|
||||
DOM_VK_PLUS = 521,
|
||||
DOM_VK_PREVIOUS_CANDIDATE = 257,
|
||||
DOM_VK_PRINTSCREEN = 154,
|
||||
DOM_VK_PROPS = 65482,
|
||||
DOM_VK_Q = 81,
|
||||
DOM_VK_QUOTE = 222,
|
||||
DOM_VK_QUOTEDBL = 152,
|
||||
DOM_VK_R = 82,
|
||||
DOM_VK_RETURN = 14,
|
||||
DOM_VK_RIGHT = 39,
|
||||
DOM_VK_RIGHT_PARENTHESIS = 522,
|
||||
DOM_VK_ROMAN_CHARACTERS = 245,
|
||||
DOM_VK_S = 83,
|
||||
DOM_VK_SCROLL_LOCK = 145,
|
||||
DOM_VK_SEMICOLON = 59,
|
||||
DOM_VK_SEPARATER = 108,
|
||||
DOM_VK_SHIFT = 16,
|
||||
DOM_VK_SLASH = 47,
|
||||
DOM_VK_SPACE = 32,
|
||||
DOM_VK_STOP = 65480,
|
||||
DOM_VK_MULTIPLY = 106,
|
||||
DOM_VK_ADD = 107,
|
||||
DOM_VK_SEPARATOR = 108,
|
||||
DOM_VK_SUBTRACT = 109,
|
||||
DOM_VK_T = 84,
|
||||
DOM_VK_TAB = 9,
|
||||
DOM_VK_U = 85,
|
||||
DOM_VK_UNDEFINED = 0,
|
||||
DOM_VK_UNDERSCORE = 523,
|
||||
DOM_VK_UNDO = 65483,
|
||||
DOM_VK_UP = 38,
|
||||
DOM_VK_V = 86,
|
||||
DOM_VK_W = 87,
|
||||
DOM_VK_X = 88,
|
||||
DOM_VK_Y = 89,
|
||||
DOM_VK_Z = 90
|
||||
DOM_VK_DECIMAL = 110,
|
||||
DOM_VK_DIVIDE = 111,
|
||||
DOM_VK_F1 = 112,
|
||||
DOM_VK_F2 = 113,
|
||||
DOM_VK_F3 = 114,
|
||||
DOM_VK_F4 = 115,
|
||||
DOM_VK_F5 = 116,
|
||||
DOM_VK_F6 = 117,
|
||||
DOM_VK_F7 = 118,
|
||||
DOM_VK_F8 = 119,
|
||||
DOM_VK_F9 = 120,
|
||||
DOM_VK_F10 = 121,
|
||||
DOM_VK_F11 = 122,
|
||||
DOM_VK_F12 = 123,
|
||||
DOM_VK_F13 = 124,
|
||||
DOM_VK_F14 = 125,
|
||||
DOM_VK_F15 = 126,
|
||||
DOM_VK_F16 = 127,
|
||||
DOM_VK_F17 = 128,
|
||||
DOM_VK_F18 = 129,
|
||||
DOM_VK_F19 = 130,
|
||||
DOM_VK_F20 = 131,
|
||||
DOM_VK_F21 = 132,
|
||||
DOM_VK_F22 = 133,
|
||||
DOM_VK_F23 = 134,
|
||||
DOM_VK_F24 = 135,
|
||||
DOM_VK_NUM_LOCK = 144,
|
||||
DOM_VK_SCROLL_LOCK = 145,
|
||||
DOM_VK_COMMA = 188,
|
||||
DOM_VK_PERIOD = 190,
|
||||
DOM_VK_SLASH = 191,
|
||||
DOM_VK_BACK_QUOTE = 192,
|
||||
DOM_VK_OPEN_BRACKET = 219,
|
||||
DOM_VK_BACK_SLASH = 220,
|
||||
DOM_VK_CLOSE_BRACKET = 221,
|
||||
DOM_VK_QUOTE = 222
|
||||
};
|
||||
|
||||
NS_IMETHOD GetCharCode(PRUint32* aCharCode)=0;
|
||||
|
|
|
@ -2,191 +2,126 @@
|
|||
/* IID: { 0x028e0e6e, 0x8b01, 0x11d3, \
|
||||
{ 0xaa, 0xe7, 0x00, 0x10, 0x83, 0x8a, 0x31, 0x23 } } */
|
||||
|
||||
const unsigned long DOM_CHAR_UNDEFINED = 0x0FFFF;
|
||||
const unsigned long DOM_VK_0 = 0x30;
|
||||
const unsigned long DOM_VK_1 = 0x31;
|
||||
const unsigned long DOM_VK_2 = 0x32;
|
||||
const unsigned long DOM_VK_3 = 0x33;
|
||||
const unsigned long DOM_VK_4 = 0x34;
|
||||
const unsigned long DOM_VK_5 = 0x35;
|
||||
const unsigned long DOM_VK_6 = 0x36;
|
||||
const unsigned long DOM_VK_7 = 0x37;
|
||||
const unsigned long DOM_VK_8 = 0x38;
|
||||
const unsigned long DOM_VK_9 = 0x39;
|
||||
const unsigned long DOM_VK_A = 0x41;
|
||||
const unsigned long DOM_VK_ACCEPT = 0x1E;
|
||||
const unsigned long DOM_VK_ADD = 0x6B;
|
||||
const unsigned long DOM_VK_AGAIN = 0xFFC9;
|
||||
const unsigned long DOM_VK_ALL_CANDIDATES = 0x0100;
|
||||
const unsigned long DOM_VK_ALPHANUMERIC = 0x00F0;
|
||||
const unsigned long DOM_VK_ALT = 0x12;
|
||||
const unsigned long DOM_VK_ALT_GRAPH = 0xFF7E;
|
||||
const unsigned long DOM_VK_AMPERSAND = 0x96;
|
||||
const unsigned long DOM_VK_ASTERISK = 0x97;
|
||||
const unsigned long DOM_VK_AT = 0x0200;
|
||||
const unsigned long DOM_VK_B = 0x42;
|
||||
const unsigned long DOM_VK_BACK_QUOTE = 0xC0;
|
||||
const unsigned long DOM_VK_BACK_SLASH = 0x5C;
|
||||
const unsigned long DOM_VK_BACK_SPACE = 0x08;
|
||||
const unsigned long DOM_VK_BRACELEFT = 0xA1;
|
||||
const unsigned long DOM_VK_BRACERIGHT = 0xA2;
|
||||
const unsigned long DOM_VK_C = 0x43;
|
||||
const unsigned long DOM_VK_CANCEL = 0x03;
|
||||
const unsigned long DOM_VK_CAPS_LOCK = 0x14;
|
||||
const unsigned long DOM_VK_CIRCUMFLEX = 0x0202;
|
||||
const unsigned long DOM_VK_CLEAR = 0x0C;
|
||||
const unsigned long DOM_VK_CLOSE_BRACKET = 0x5D;
|
||||
const unsigned long DOM_VK_CODE_INPUT = 0x0102;
|
||||
const unsigned long DOM_VK_COLON = 0x0201;
|
||||
const unsigned long DOM_VK_COMMA = 0x2C;
|
||||
const unsigned long DOM_VK_COMPOSE = 0xFF20;
|
||||
const unsigned long DOM_VK_CONTROL = 0x11;
|
||||
const unsigned long DOM_VK_CONVERT = 0x1C;
|
||||
const unsigned long DOM_VK_COPY = 0xFFCD;
|
||||
const unsigned long DOM_VK_CUT = 0xFFD1;
|
||||
const unsigned long DOM_VK_D = 0x44;
|
||||
const unsigned long DOM_VK_DEAD_ABOVEDOT = 0x86;
|
||||
const unsigned long DOM_VK_DEAD_ABOVERING = 0x88;
|
||||
const unsigned long DOM_VK_DEAD_ACUTE = 0x81;
|
||||
const unsigned long DOM_VK_DEAD_BREVE = 0x85;
|
||||
const unsigned long DOM_VK_DEAD_CARON = 0x8A;
|
||||
const unsigned long DOM_VK_DEAD_CEDILLA = 0x8B;
|
||||
const unsigned long DOM_VK_DEAD_CIRCUMFLEX = 0x82;
|
||||
const unsigned long DOM_VK_DEAD_DIAERESIS = 0x87;
|
||||
const unsigned long DOM_VK_DEAD_DOUBLEACUTE = 0x89;
|
||||
const unsigned long DOM_VK_DEAD_GRAVE = 0x80;
|
||||
const unsigned long DOM_VK_DEAD_IOTA = 0x8D;
|
||||
const unsigned long DOM_VK_DEAD_MACRON = 0x84;
|
||||
const unsigned long DOM_VK_DEAD_OGONEK = 0x8C;
|
||||
const unsigned long DOM_VK_DEAD_SEMIVOICED_SOUND = 0x8F;
|
||||
const unsigned long DOM_VK_DEAD_TILDE = 0x83;
|
||||
const unsigned long DOM_VK_DEAD_VOICED_SOUND = 0x8E;
|
||||
const unsigned long DOM_VK_DECIMAL = 0x6E;
|
||||
const unsigned long DOM_VK_DELETE = 0x7F;
|
||||
const unsigned long DOM_VK_DIVIDE = 0x6F;
|
||||
const unsigned long DOM_VK_DOLLAR = 0x0203;
|
||||
const unsigned long DOM_VK_DOWN = 0x28;
|
||||
const unsigned long DOM_VK_E = 0x45;
|
||||
const unsigned long DOM_VK_END = 0x23;
|
||||
const unsigned long DOM_VK_ENTER = 0x0D;
|
||||
const unsigned long DOM_VK_EQUALS = 0x3D;
|
||||
const unsigned long DOM_VK_ESCAPE = 0x1B;
|
||||
const unsigned long DOM_VK_EURO_SIGN = 0x0204;
|
||||
const unsigned long DOM_VK_EXCLAMATION_MARK = 0x0205;
|
||||
const unsigned long DOM_VK_F = 0x46;
|
||||
const unsigned long DOM_VK_F1 = 0x70;
|
||||
const unsigned long DOM_VK_F10 = 0x79;
|
||||
const unsigned long DOM_VK_F11 = 0x7A;
|
||||
const unsigned long DOM_VK_F12 = 0x7B;
|
||||
const unsigned long DOM_VK_F13 = 0xF000;
|
||||
const unsigned long DOM_VK_F14 = 0xF001;
|
||||
const unsigned long DOM_VK_F15 = 0xF002;
|
||||
const unsigned long DOM_VK_F16 = 0xF003;
|
||||
const unsigned long DOM_VK_F17 = 0xF004;
|
||||
const unsigned long DOM_VK_F18 = 0xF005;
|
||||
const unsigned long DOM_VK_F19 = 0xF006;
|
||||
const unsigned long DOM_VK_F2 = 0x71;
|
||||
const unsigned long DOM_VK_F20 = 0xF007;
|
||||
const unsigned long DOM_VK_F21 = 0xF008;
|
||||
const unsigned long DOM_VK_F22 = 0xF009;
|
||||
const unsigned long DOM_VK_F23 = 0xF00A;
|
||||
const unsigned long DOM_VK_F24 = 0xF00B;
|
||||
const unsigned long DOM_VK_F3 = 0x72;
|
||||
const unsigned long DOM_VK_F4 = 0x73;
|
||||
const unsigned long DOM_VK_F5 = 0x74;
|
||||
const unsigned long DOM_VK_F6 = 0x75;
|
||||
const unsigned long DOM_VK_F7 = 0x76;
|
||||
const unsigned long DOM_VK_F8 = 0x77;
|
||||
const unsigned long DOM_VK_F9 = 0x78;
|
||||
const unsigned long DOM_VK_FINAL = 0x18;
|
||||
const unsigned long DOM_VK_FIND = 0xFFD0;
|
||||
const unsigned long DOM_VK_FULL_WIDTH = 0x00F3;
|
||||
const unsigned long DOM_VK_G = 0x47;
|
||||
const unsigned long DOM_VK_GREATER = 0xA0;
|
||||
const unsigned long DOM_VK_H = 0x48;
|
||||
const unsigned long DOM_VK_HALF_WIDTH = 0x00F4;
|
||||
const unsigned long DOM_VK_HELP = 0x9C;
|
||||
const unsigned long DOM_VK_HIRAGANA = 0x00F2;
|
||||
const unsigned long DOM_VK_HOME = 0x24;
|
||||
const unsigned long DOM_VK_I = 0x49;
|
||||
const unsigned long DOM_VK_INSERT = 0x9B;
|
||||
const unsigned long DOM_VK_INVERTED_EXCLAMATION_MARK = 0x0206;
|
||||
const unsigned long DOM_VK_J = 0x4A;
|
||||
const unsigned long DOM_VK_JAPANESE_HIRAGANA = 0x0104;
|
||||
const unsigned long DOM_VK_JAPANESE_KATAKANA = 0x0103;
|
||||
const unsigned long DOM_VK_JAPANESE_ROMAN = 0x0105;
|
||||
const unsigned long DOM_VK_K = 0x4B;
|
||||
const unsigned long DOM_VK_KANA = 0x15;
|
||||
const unsigned long DOM_VK_KANJI = 0x19;
|
||||
const unsigned long DOM_VK_KATAKANA = 0x00F1;
|
||||
const unsigned long DOM_VK_KP_DOWN = 0xE1;
|
||||
const unsigned long DOM_VK_KP_LEFT = 0xE2;
|
||||
const unsigned long DOM_VK_KP_RIGHT = 0xE3;
|
||||
const unsigned long DOM_VK_KP_UP = 0xE0;
|
||||
const unsigned long DOM_VK_L = 0x4C;
|
||||
const unsigned long DOM_VK_LEFT = 0x25;
|
||||
const unsigned long DOM_VK_LEFT_PARENTHESIS = 0x0207;
|
||||
const unsigned long DOM_VK_LESS = 0x99;
|
||||
const unsigned long DOM_VK_M = 0x4D;
|
||||
const unsigned long DOM_VK_META = 0x9D;
|
||||
const unsigned long DOM_VK_MINUS = 0x2D;
|
||||
const unsigned long DOM_VK_MODECHANGE = 0x1F;
|
||||
const unsigned long DOM_VK_MULTIPLY = 0x6A;
|
||||
const unsigned long DOM_VK_N = 0x4E;
|
||||
const unsigned long DOM_VK_NONCONVERT = 0x1D;
|
||||
const unsigned long DOM_VK_NUM_LOCK = 0x90;
|
||||
const unsigned long DOM_VK_NUMBER_SIGN = 0x0208;
|
||||
const unsigned long DOM_VK_NUMPAD0 = 0x60;
|
||||
const unsigned long DOM_VK_NUMPAD1 = 0x61;
|
||||
const unsigned long DOM_VK_NUMPAD2 = 0x62;
|
||||
const unsigned long DOM_VK_NUMPAD3 = 0x63;
|
||||
const unsigned long DOM_VK_NUMPAD4 = 0x64;
|
||||
const unsigned long DOM_VK_NUMPAD5 = 0x65;
|
||||
const unsigned long DOM_VK_NUMPAD6 = 0x66;
|
||||
const unsigned long DOM_VK_NUMPAD7 = 0x67;
|
||||
const unsigned long DOM_VK_NUMPAD8 = 0x68;
|
||||
const unsigned long DOM_VK_NUMPAD9 = 0x69;
|
||||
const unsigned long DOM_VK_O = 0x4F;
|
||||
const unsigned long DOM_VK_OPEN_BRACKET = 0x5B;
|
||||
const unsigned long DOM_VK_P = 0x50;
|
||||
const unsigned long DOM_VK_PAGE_DOWN = 0x22;
|
||||
const unsigned long DOM_VK_PAGE_UP = 0x21;
|
||||
const unsigned long DOM_VK_PASTE = 0xFFCF;
|
||||
const unsigned long DOM_VK_PAUSE = 0x13;
|
||||
const unsigned long DOM_VK_PERIOD = 0x2E;
|
||||
const unsigned long DOM_VK_PLUS = 0x0209;
|
||||
const unsigned long DOM_VK_PREVIOUS_CANDIDATE = 0x0101;
|
||||
const unsigned long DOM_VK_PRINTSCREEN = 0x9A;
|
||||
const unsigned long DOM_VK_PROPS = 0xFFCA;
|
||||
const unsigned long DOM_VK_Q = 0x51;
|
||||
const unsigned long DOM_VK_QUOTE = 0xDE;
|
||||
const unsigned long DOM_VK_QUOTEDBL = 0x98;
|
||||
const unsigned long DOM_VK_R = 0x52;
|
||||
const unsigned long DOM_VK_RETURN = 0x0E;
|
||||
const unsigned long DOM_VK_RIGHT = 0x27;
|
||||
const unsigned long DOM_VK_RIGHT_PARENTHESIS = 0x020A;
|
||||
const unsigned long DOM_VK_ROMAN_CHARACTERS = 0x00F5;
|
||||
const unsigned long DOM_VK_S = 0x53;
|
||||
const unsigned long DOM_VK_SCROLL_LOCK = 0x91;
|
||||
const unsigned long DOM_VK_SEMICOLON = 0x3B;
|
||||
const unsigned long DOM_VK_SEPARATER = 0x6C;
|
||||
const unsigned long DOM_VK_SHIFT = 0x10;
|
||||
const unsigned long DOM_VK_SLASH = 0x2F;
|
||||
const unsigned long DOM_VK_SPACE = 0x20;
|
||||
const unsigned long DOM_VK_STOP = 0xFFC8;
|
||||
const unsigned long DOM_VK_SUBTRACT = 0x6D;
|
||||
const unsigned long DOM_VK_T = 0x54;
|
||||
const unsigned long DOM_VK_TAB = 0x09;
|
||||
const unsigned long DOM_VK_U = 0x55;
|
||||
const unsigned long DOM_VK_UNDEFINED = 0x0;
|
||||
const unsigned long DOM_VK_UNDERSCORE = 0x020B;
|
||||
const unsigned long DOM_VK_UNDO = 0xFFCB;
|
||||
const unsigned long DOM_VK_UP = 0x26;
|
||||
const unsigned long DOM_VK_V = 0x56;
|
||||
const unsigned long DOM_VK_W = 0x57;
|
||||
const unsigned long DOM_VK_X = 0x58;
|
||||
const unsigned long DOM_VK_Y = 0x59;
|
||||
const unsigned long DOM_VK_Z = 0x5A;
|
||||
const unsigned long DOM_VK_CANCEL = 0x03;
|
||||
const unsigned long DOM_VK_BACK_SPACE = 0x08;
|
||||
const unsigned long DOM_VK_TAB = 0x09;
|
||||
const unsigned long DOM_VK_CLEAR = 0x0C;
|
||||
const unsigned long DOM_VK_RETURN = 0x0D;
|
||||
const unsigned long DOM_VK_ENTER = 0x0E;
|
||||
const unsigned long DOM_VK_SHIFT = 0x10;
|
||||
const unsigned long DOM_VK_CONTROL = 0x11;
|
||||
const unsigned long DOM_VK_ALT = 0x12;
|
||||
const unsigned long DOM_VK_PAUSE = 0x13;
|
||||
const unsigned long DOM_VK_CAPS_LOCK = 0x14;
|
||||
const unsigned long DOM_VK_ESCAPE = 0x1B;
|
||||
const unsigned long DOM_VK_SPACE = 0x20;
|
||||
const unsigned long DOM_VK_PAGE_UP = 0x21;
|
||||
const unsigned long DOM_VK_PAGE_DOWN = 0x22;
|
||||
const unsigned long DOM_VK_END = 0x23;
|
||||
const unsigned long DOM_VK_HOME = 0x24;
|
||||
const unsigned long DOM_VK_LEFT = 0x25;
|
||||
const unsigned long DOM_VK_UP = 0x26;
|
||||
const unsigned long DOM_VK_RIGHT = 0x27;
|
||||
const unsigned long DOM_VK_DOWN = 0x28;
|
||||
const unsigned long DOM_VK_PRINTSCREEN = 0x2C;
|
||||
const unsigned long DOM_VK_INSERT = 0x2D;
|
||||
const unsigned long DOM_VK_DELETE = 0x2E;
|
||||
|
||||
// DOM_VK_0 - DOM_VK_9 match their ascii values
|
||||
const unsigned long DOM_VK_0 = 0x30;
|
||||
const unsigned long DOM_VK_1 = 0x31;
|
||||
const unsigned long DOM_VK_2 = 0x32;
|
||||
const unsigned long DOM_VK_3 = 0x33;
|
||||
const unsigned long DOM_VK_4 = 0x34;
|
||||
const unsigned long DOM_VK_5 = 0x35;
|
||||
const unsigned long DOM_VK_6 = 0x36;
|
||||
const unsigned long DOM_VK_7 = 0x37;
|
||||
const unsigned long DOM_VK_8 = 0x38;
|
||||
const unsigned long DOM_VK_9 = 0x39;
|
||||
|
||||
const unsigned long DOM_VK_SEMICOLON = 0x3B;
|
||||
const unsigned long DOM_VK_EQUALS = 0x3D;
|
||||
|
||||
// DOM_VK_A - DOM_VK_Z match their ascii values
|
||||
const unsigned long DOM_VK_A = 0x41;
|
||||
const unsigned long DOM_VK_B = 0x42;
|
||||
const unsigned long DOM_VK_C = 0x43;
|
||||
const unsigned long DOM_VK_D = 0x44;
|
||||
const unsigned long DOM_VK_E = 0x45;
|
||||
const unsigned long DOM_VK_F = 0x46;
|
||||
const unsigned long DOM_VK_G = 0x47;
|
||||
const unsigned long DOM_VK_H = 0x48;
|
||||
const unsigned long DOM_VK_I = 0x49;
|
||||
const unsigned long DOM_VK_J = 0x4A;
|
||||
const unsigned long DOM_VK_K = 0x4B;
|
||||
const unsigned long DOM_VK_L = 0x4C;
|
||||
const unsigned long DOM_VK_M = 0x4D;
|
||||
const unsigned long DOM_VK_N = 0x4E;
|
||||
const unsigned long DOM_VK_O = 0x4F;
|
||||
const unsigned long DOM_VK_P = 0x50;
|
||||
const unsigned long DOM_VK_Q = 0x51;
|
||||
const unsigned long DOM_VK_R = 0x52;
|
||||
const unsigned long DOM_VK_S = 0x53;
|
||||
const unsigned long DOM_VK_T = 0x54;
|
||||
const unsigned long DOM_VK_U = 0x55;
|
||||
const unsigned long DOM_VK_V = 0x56;
|
||||
const unsigned long DOM_VK_W = 0x57;
|
||||
const unsigned long DOM_VK_X = 0x58;
|
||||
const unsigned long DOM_VK_Y = 0x59;
|
||||
const unsigned long DOM_VK_Z = 0x5A;
|
||||
|
||||
const unsigned long DOM_VK_NUMPAD0 = 0x60;
|
||||
const unsigned long DOM_VK_NUMPAD1 = 0x61;
|
||||
const unsigned long DOM_VK_NUMPAD2 = 0x62;
|
||||
const unsigned long DOM_VK_NUMPAD3 = 0x63;
|
||||
const unsigned long DOM_VK_NUMPAD4 = 0x64;
|
||||
const unsigned long DOM_VK_NUMPAD5 = 0x65;
|
||||
const unsigned long DOM_VK_NUMPAD6 = 0x66;
|
||||
const unsigned long DOM_VK_NUMPAD7 = 0x67;
|
||||
const unsigned long DOM_VK_NUMPAD8 = 0x68;
|
||||
const unsigned long DOM_VK_NUMPAD9 = 0x69;
|
||||
const unsigned long DOM_VK_MULTIPLY = 0x6A;
|
||||
const unsigned long DOM_VK_ADD = 0x6B;
|
||||
const unsigned long DOM_VK_SEPARATOR = 0x6C;
|
||||
const unsigned long DOM_VK_SUBTRACT = 0x6D;
|
||||
const unsigned long DOM_VK_DECIMAL = 0x6E;
|
||||
const unsigned long DOM_VK_DIVIDE = 0x6F;
|
||||
const unsigned long DOM_VK_F1 = 0x70;
|
||||
const unsigned long DOM_VK_F2 = 0x71;
|
||||
const unsigned long DOM_VK_F3 = 0x72;
|
||||
const unsigned long DOM_VK_F4 = 0x73;
|
||||
const unsigned long DOM_VK_F5 = 0x74;
|
||||
const unsigned long DOM_VK_F6 = 0x75;
|
||||
const unsigned long DOM_VK_F7 = 0x76;
|
||||
const unsigned long DOM_VK_F8 = 0x77;
|
||||
const unsigned long DOM_VK_F9 = 0x78;
|
||||
const unsigned long DOM_VK_F10 = 0x79;
|
||||
const unsigned long DOM_VK_F11 = 0x7A;
|
||||
const unsigned long DOM_VK_F12 = 0x7B;
|
||||
const unsigned long DOM_VK_F13 = 0x7C;
|
||||
const unsigned long DOM_VK_F14 = 0x7D;
|
||||
const unsigned long DOM_VK_F15 = 0x7E;
|
||||
const unsigned long DOM_VK_F16 = 0x7F;
|
||||
const unsigned long DOM_VK_F17 = 0x80;
|
||||
const unsigned long DOM_VK_F18 = 0x81;
|
||||
const unsigned long DOM_VK_F19 = 0x82;
|
||||
const unsigned long DOM_VK_F20 = 0x83;
|
||||
const unsigned long DOM_VK_F21 = 0x84;
|
||||
const unsigned long DOM_VK_F22 = 0x85;
|
||||
const unsigned long DOM_VK_F23 = 0x86;
|
||||
const unsigned long DOM_VK_F24 = 0x87;
|
||||
|
||||
const unsigned long DOM_VK_NUM_LOCK = 0x90;
|
||||
const unsigned long DOM_VK_SCROLL_LOCK = 0x91;
|
||||
|
||||
const unsigned long DOM_VK_COMMA = 0xBC;
|
||||
const unsigned long DOM_VK_PERIOD = 0xBE;
|
||||
const unsigned long DOM_VK_SLASH = 0xBF;
|
||||
const unsigned long DOM_VK_BACK_QUOTE = 0xC0;
|
||||
const unsigned long DOM_VK_OPEN_BRACKET = 0xDB;
|
||||
const unsigned long DOM_VK_BACK_SLASH = 0xDC;
|
||||
const unsigned long DOM_VK_CLOSE_BRACKET = 0xDD;
|
||||
const unsigned long DOM_VK_QUOTE = 0xDE;
|
||||
|
||||
readonly attribute unsigned long charCode;
|
||||
readonly attribute unsigned long keyCode;
|
||||
|
|
Загрузка…
Ссылка в новой задаче