mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-15 16:44:36 +00:00
Enable gamepad input when the startup GUI wakes.
This commit is contained in:
parent
a17a5ee43a
commit
f3b08501c0
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