InputConfig.h 750 B

123456789101112131415161718192021222324252627282930313233
  1. // Copyright 2010 Dolphin Emulator Project
  2. // Licensed under GPLv2+
  3. // Refer to the license.txt file included.
  4. #pragma once
  5. #include <map>
  6. #include <vector>
  7. #include "Common/FileUtil.h"
  8. #include "Common/IniFile.h"
  9. #include "Common/Thread.h"
  10. #include "InputCommon/ControllerEmu.h"
  11. #include "InputCommon/ControllerInterface/ControllerInterface.h"
  12. class InputConfig
  13. {
  14. public:
  15. InputConfig(const char* const _ini_name, const char* const _gui_name,
  16. const char* const _profile_name)
  17. : ini_name(_ini_name), gui_name(_gui_name), profile_name(_profile_name) {}
  18. bool LoadConfig(bool isGC);
  19. void SaveConfig();
  20. std::vector<ControllerEmu*> controllers;
  21. const char* const ini_name;
  22. const char* const gui_name;
  23. const char* const profile_name;
  24. };