added gamecontrollerdb.txt

This commit is contained in:
2021-08-30 22:24:16 +02:00
parent 22ca349171
commit cda4d3a566
4 changed files with 12 additions and 4 deletions

View File

@@ -53,13 +53,14 @@ private:
std::vector<SDL_GameController*> mConnectedControllers;
std::vector<std::string> mControllerNames;
int mNumGamepads;
std::string mDBpath; // Ruta al archivo gamecontrollerdb.txt
// Comprueba si hay un mando conectado
bool discoverGameController();
public:
// Constructor
Input();
Input(std::string file);
// Destructor
~Input();