|
|
@@ -35,20 +35,16 @@ static void RegisterKeyCodes(asIScriptEngine* engine)
|
|
|
engine->RegisterGlobalProperty("const int MOUSEB_MIDDLE", (void*)&MOUSEB_MIDDLE);
|
|
|
engine->RegisterGlobalProperty("const int QUAL_SHIFT", (void*)&QUAL_SHIFT);
|
|
|
engine->RegisterGlobalProperty("const int QUAL_CTRL", (void*)&QUAL_CTRL);
|
|
|
- engine->RegisterGlobalProperty("const int KEY_BACK", (void*)&KEY_BACK);
|
|
|
+ engine->RegisterGlobalProperty("const int QUAL_ALT", (void*)&QUAL_ALT);
|
|
|
+ engine->RegisterGlobalProperty("const int KEY_BACKSPACE", (void*)&KEY_BACKSPACE);
|
|
|
engine->RegisterGlobalProperty("const int KEY_TAB", (void*)&KEY_TAB);
|
|
|
- engine->RegisterGlobalProperty("const int KEY_CLEAR", (void*)&KEY_CLEAR);
|
|
|
engine->RegisterGlobalProperty("const int KEY_RETURN", (void*)&KEY_RETURN);
|
|
|
engine->RegisterGlobalProperty("const int KEY_SHIFT", (void*)&KEY_SHIFT);
|
|
|
engine->RegisterGlobalProperty("const int KEY_CTRL", (void*)&KEY_CTRL);
|
|
|
- engine->RegisterGlobalProperty("const int KEY_MENU", (void*)&KEY_MENU);
|
|
|
+ engine->RegisterGlobalProperty("const int KEY_ALT", (void*)&KEY_ALT);
|
|
|
engine->RegisterGlobalProperty("const int KEY_PAUSE", (void*)&KEY_PAUSE);
|
|
|
- engine->RegisterGlobalProperty("const int KEY_CAPITAL", (void*)&KEY_CAPITAL);
|
|
|
+ engine->RegisterGlobalProperty("const int KEY_CAPSLOCK", (void*)&KEY_CAPSLOCK);
|
|
|
engine->RegisterGlobalProperty("const int KEY_ESC", (void*)&KEY_ESC);
|
|
|
- engine->RegisterGlobalProperty("const int KEY_CONVERT", (void*)&KEY_CONVERT);
|
|
|
- engine->RegisterGlobalProperty("const int KEY_NONCONVERT", (void*)&KEY_NONCONVERT);
|
|
|
- engine->RegisterGlobalProperty("const int KEY_ACCEPT", (void*)&KEY_ACCEPT);
|
|
|
- engine->RegisterGlobalProperty("const int KEY_MODECHANGE", (void*)&KEY_MODECHANGE);
|
|
|
engine->RegisterGlobalProperty("const int KEY_SPACE", (void*)&KEY_SPACE);
|
|
|
engine->RegisterGlobalProperty("const int KEY_PAGEUP", (void*)&KEY_PAGEUP);
|
|
|
engine->RegisterGlobalProperty("const int KEY_PAGEDOWN", (void*)&KEY_PAGEDOWN);
|
|
|
@@ -58,17 +54,12 @@ static void RegisterKeyCodes(asIScriptEngine* engine)
|
|
|
engine->RegisterGlobalProperty("const int KEY_UP", (void*)&KEY_UP);
|
|
|
engine->RegisterGlobalProperty("const int KEY_RIGHT", (void*)&KEY_RIGHT);
|
|
|
engine->RegisterGlobalProperty("const int KEY_DOWN", (void*)&KEY_DOWN);
|
|
|
- engine->RegisterGlobalProperty("const int KEY_SELECT", (void*)&KEY_SELECT);
|
|
|
- engine->RegisterGlobalProperty("const int KEY_PRINT", (void*)&KEY_PRINT);
|
|
|
- engine->RegisterGlobalProperty("const int KEY_EXEC", (void*)&KEY_EXEC);
|
|
|
- engine->RegisterGlobalProperty("const int KEY_SNAPSHOT", (void*)&KEY_SNAPSHOT);
|
|
|
+ engine->RegisterGlobalProperty("const int KEY_PRINTSCREEN", (void*)&KEY_PRINTSCREEN);
|
|
|
engine->RegisterGlobalProperty("const int KEY_INSERT", (void*)&KEY_INSERT);
|
|
|
engine->RegisterGlobalProperty("const int KEY_DELETE", (void*)&KEY_DELETE);
|
|
|
- engine->RegisterGlobalProperty("const int KEY_HELP", (void*)&KEY_HELP);
|
|
|
engine->RegisterGlobalProperty("const int KEY_LWIN", (void*)&KEY_LWIN);
|
|
|
engine->RegisterGlobalProperty("const int KEY_RWIN", (void*)&KEY_RWIN);
|
|
|
engine->RegisterGlobalProperty("const int KEY_APPS", (void*)&KEY_APPS);
|
|
|
- engine->RegisterGlobalProperty("const int KEY_SLEEP", (void*)&KEY_SLEEP);
|
|
|
engine->RegisterGlobalProperty("const int KEY_NUMPAD0", (void*)&KEY_NUMPAD0);
|
|
|
engine->RegisterGlobalProperty("const int KEY_NUMPAD1", (void*)&KEY_NUMPAD1);
|
|
|
engine->RegisterGlobalProperty("const int KEY_NUMPAD2", (void*)&KEY_NUMPAD2);
|
|
|
@@ -81,7 +72,6 @@ static void RegisterKeyCodes(asIScriptEngine* engine)
|
|
|
engine->RegisterGlobalProperty("const int KEY_NUMPAD9", (void*)&KEY_NUMPAD9);
|
|
|
engine->RegisterGlobalProperty("const int KEY_MULTIPLY", (void*)&KEY_MULTIPLY);
|
|
|
engine->RegisterGlobalProperty("const int KEY_ADD", (void*)&KEY_ADD);
|
|
|
- engine->RegisterGlobalProperty("const int KEY_SEPARATOR", (void*)&KEY_SEPARATOR);
|
|
|
engine->RegisterGlobalProperty("const int KEY_SUBTRACT", (void*)&KEY_SUBTRACT);
|
|
|
engine->RegisterGlobalProperty("const int KEY_DECIMAL", (void*)&KEY_DECIMAL);
|
|
|
engine->RegisterGlobalProperty("const int KEY_DIVIDE", (void*)&KEY_DIVIDE);
|
|
|
@@ -110,31 +100,13 @@ static void RegisterKeyCodes(asIScriptEngine* engine)
|
|
|
engine->RegisterGlobalProperty("const int KEY_F23", (void*)&KEY_F23);
|
|
|
engine->RegisterGlobalProperty("const int KEY_F24", (void*)&KEY_F24);
|
|
|
engine->RegisterGlobalProperty("const int KEY_NUMLOCK", (void*)&KEY_NUMLOCK);
|
|
|
- engine->RegisterGlobalProperty("const int KEY_SCROLL", (void*)&KEY_SCROLL);
|
|
|
+ engine->RegisterGlobalProperty("const int KEY_SCROLLLOCK", (void*)&KEY_SCROLLLOCK);
|
|
|
engine->RegisterGlobalProperty("const int KEY_LSHIFT", (void*)&KEY_LSHIFT);
|
|
|
engine->RegisterGlobalProperty("const int KEY_RSHIFT", (void*)&KEY_RSHIFT);
|
|
|
engine->RegisterGlobalProperty("const int KEY_LCTRL", (void*)&KEY_LCTRL);
|
|
|
engine->RegisterGlobalProperty("const int KEY_RCTRL", (void*)&KEY_RCTRL);
|
|
|
- engine->RegisterGlobalProperty("const int KEY_LMENU", (void*)&KEY_LMENU);
|
|
|
- engine->RegisterGlobalProperty("const int KEY_RMENU", (void*)&KEY_RMENU);
|
|
|
- engine->RegisterGlobalProperty("const int KEY_BROWSER_BACK", (void*)&KEY_BROWSER_BACK);
|
|
|
- engine->RegisterGlobalProperty("const int KEY_BROWSER_FORWARD", (void*)&KEY_BROWSER_FORWARD);
|
|
|
- engine->RegisterGlobalProperty("const int KEY_BROWSER_REFRESH", (void*)&KEY_BROWSER_REFRESH);
|
|
|
- engine->RegisterGlobalProperty("const int KEY_BROWSER_STOP", (void*)&KEY_BROWSER_STOP);
|
|
|
- engine->RegisterGlobalProperty("const int KEY_BROWSER_SEARCH", (void*)&KEY_BROWSER_SEARCH);
|
|
|
- engine->RegisterGlobalProperty("const int KEY_BROWSER_FAVORITES", (void*)&KEY_BROWSER_FAVORITES);
|
|
|
- engine->RegisterGlobalProperty("const int KEY_BROWSER_HOME", (void*)&KEY_BROWSER_HOME);
|
|
|
- engine->RegisterGlobalProperty("const int KEY_VOLUME_MUTE", (void*)&KEY_VOLUME_MUTE);
|
|
|
- engine->RegisterGlobalProperty("const int KEY_VOLUME_DOWN", (void*)&KEY_VOLUME_DOWN);
|
|
|
- engine->RegisterGlobalProperty("const int KEY_VOLUME_UP", (void*)&KEY_VOLUME_UP);
|
|
|
- engine->RegisterGlobalProperty("const int KEY_MEDIA_NEXT_TRACK", (void*)&KEY_MEDIA_NEXT_TRACK);
|
|
|
- engine->RegisterGlobalProperty("const int KEY_MEDIA_PREV_TRACK", (void*)&KEY_MEDIA_PREV_TRACK);
|
|
|
- engine->RegisterGlobalProperty("const int KEY_MEDIA_STOP", (void*)&KEY_MEDIA_STOP);
|
|
|
- engine->RegisterGlobalProperty("const int KEY_MEDIA_PLAY_PAUSE", (void*)&KEY_MEDIA_PLAY_PAUSE);
|
|
|
- engine->RegisterGlobalProperty("const int KEY_LAUNCH_MAIL", (void*)&KEY_LAUNCH_MAIL);
|
|
|
- engine->RegisterGlobalProperty("const int KEY_LAUNCH_MEDIA_SELECT", (void*)&KEY_LAUNCH_MEDIA_SELECT);
|
|
|
- engine->RegisterGlobalProperty("const int KEY_LAUNCH_APP1", (void*)&KEY_LAUNCH_APP1);
|
|
|
- engine->RegisterGlobalProperty("const int KEY_LAUNCH_APP2", (void*)&KEY_LAUNCH_APP2);
|
|
|
+ engine->RegisterGlobalProperty("const int KEY_LALT", (void*)&KEY_LALT);
|
|
|
+ engine->RegisterGlobalProperty("const int KEY_RALT", (void*)&KEY_RALT);
|
|
|
engine->RegisterGlobalProperty("const int KEY_OEM_1", (void*)&KEY_OEM_1);
|
|
|
engine->RegisterGlobalProperty("const int KEY_OEM_PLUS", (void*)&KEY_OEM_PLUS);
|
|
|
engine->RegisterGlobalProperty("const int KEY_OEM_COMMA", (void*)&KEY_OEM_COMMA);
|