mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-13 15:44:36 +00:00
Merge pull request #874 from eightyeight/enable-gamepad-earlier
Enable gamepad input when the startup GUI wakes
This commit is contained in:
commit
644225db92
2 changed files with 12 additions and 0 deletions
|
|
@ -45,6 +45,12 @@ function loadStartup()
|
||||||
//SFXPlayOnce(AudioGui, "art/sound/gui/startup");//SFXPlay(startsnd);
|
//SFXPlayOnce(AudioGui, "art/sound/gui/startup");//SFXPlay(startsnd);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function StartupGui::onWake(%this)
|
||||||
|
{
|
||||||
|
$enableDirectInput = "1";
|
||||||
|
activateDirectInput();
|
||||||
|
}
|
||||||
|
|
||||||
function StartupGui::click(%this)
|
function StartupGui::click(%this)
|
||||||
{
|
{
|
||||||
%this.done = true;
|
%this.done = true;
|
||||||
|
|
|
||||||
|
|
@ -45,6 +45,12 @@ function loadStartup()
|
||||||
//SFXPlayOnce(AudioGui, "art/sound/gui/startup");//SFXPlay(startsnd);
|
//SFXPlayOnce(AudioGui, "art/sound/gui/startup");//SFXPlay(startsnd);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function StartupGui::onWake(%this)
|
||||||
|
{
|
||||||
|
$enableDirectInput = "1";
|
||||||
|
activateDirectInput();
|
||||||
|
}
|
||||||
|
|
||||||
function StartupGui::click(%this)
|
function StartupGui::click(%this)
|
||||||
{
|
{
|
||||||
%this.done = true;
|
%this.done = true;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue