Working on support for various controllers
This commit is contained in:
@@ -4,8 +4,6 @@
|
||||
// Contestar cuantos joystics ha detectado
|
||||
// Preguntarlepor los joystics que ha encontrado para ir poniendolos en la variable de opciones
|
||||
|
||||
|
||||
|
||||
// Constructor
|
||||
Input::Input(std::string file)
|
||||
{
|
||||
@@ -202,4 +200,10 @@ std::string Input::getControllerName(int index)
|
||||
return mControllerNames[index];
|
||||
else
|
||||
return "";
|
||||
}
|
||||
|
||||
// Obten el numero de mandos conectados
|
||||
int Input::getNumControllers()
|
||||
{
|
||||
return mNumGamepads;
|
||||
}
|
||||
Reference in New Issue
Block a user