Index: ps/trunk/binaries/data/mods/_test.gui/gui/gui.rng =================================================================== --- ps/trunk/binaries/data/mods/_test.gui/gui/gui.rng (nonexistent) +++ ps/trunk/binaries/data/mods/_test.gui/gui/gui.rng (revision 22909) @@ -0,0 +1,36 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Property changes on: ps/trunk/binaries/data/mods/_test.gui/gui/gui.rng ___________________________________________________________________ Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Index: ps/trunk/binaries/data/mods/_test.gui/gui/gui_page.rng =================================================================== --- ps/trunk/binaries/data/mods/_test.gui/gui/gui_page.rng (nonexistent) +++ ps/trunk/binaries/data/mods/_test.gui/gui/gui_page.rng (revision 22909) @@ -0,0 +1,14 @@ + + + + + + + + + + + Property changes on: ps/trunk/binaries/data/mods/_test.gui/gui/gui_page.rng ___________________________________________________________________ Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Index: ps/trunk/binaries/data/mods/_test.gui/gui/hotkey.js =================================================================== --- ps/trunk/binaries/data/mods/_test.gui/gui/hotkey.js (nonexistent) +++ ps/trunk/binaries/data/mods/_test.gui/gui/hotkey.js (revision 22909) @@ -0,0 +1,14 @@ +var state_before; +var state_after; + +function handleInputBeforeGui(ev) { + if ((ev.type == "hotkeydown" || ev.type == "hotkeyup") && ev.hotkey == "test") + state_before = Engine.HotkeyIsPressed("test"); + return false; +} + +function handleInputAfterGui(ev) { + if ((ev.type == "hotkeydown" || ev.type == "hotkeyup") && ev.hotkey == "test") + state_after = Engine.HotkeyIsPressed("test"); + return false; +} Property changes on: ps/trunk/binaries/data/mods/_test.gui/gui/hotkey.js ___________________________________________________________________ Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Index: ps/trunk/binaries/data/mods/_test.gui/gui/hotkey.xml =================================================================== --- ps/trunk/binaries/data/mods/_test.gui/gui/hotkey.xml (nonexistent) +++ ps/trunk/binaries/data/mods/_test.gui/gui/hotkey.xml (revision 22909) @@ -0,0 +1,4 @@ + + +