From 2e30792b8fb5ea1be3bd6ff540ff5021aaf40b10 Mon Sep 17 00:00:00 2001 From: gocha Date: Sat, 26 Feb 2011 23:05:09 +0000 Subject: [PATCH] Removed temporally comment --- src/lua-engine.cpp | 23 ----------------------- 1 file changed, 23 deletions(-) diff --git a/src/lua-engine.cpp b/src/lua-engine.cpp index 5c388e02..b125b4c6 100644 --- a/src/lua-engine.cpp +++ b/src/lua-engine.cpp @@ -4224,29 +4224,6 @@ static int sound_get(lua_State *L) lua_setfield(L, -2, "rp2a03"); return 1; - -/* -#ifdef WIN32 - // keyboard and mouse button status - { - extern int EnableBackgroundInput; - unsigned char keys [256]; - if(!EnableBackgroundInput) - { - if(GetKeyboardState(keys)) - { - for(int i = 1; i < 255; i++) - { - int mask = (i == VK_CAPITAL || i == VK_NUMLOCK || i == VK_SCROLL) ? 0x01 : 0x80; - if(keys[i] & mask) - { - const char* name = s_keyToName[i]; - if(name) - { - lua_pushboolean(L, true); - lua_setfield(L, -2, name); - } - */ } static int doPopup(lua_State *L, const char* deftype, const char* deficon) {