GameControllerShortcuts.h 549 B

123456789101112131415161718192021
  1. /*
  2. * GameControllerShortcuts.h, part of VCMI engine
  3. *
  4. * Authors: listed in file AUTHORS in main folder
  5. *
  6. * License: GNU General Public License v2.0 or later
  7. * Full text of license available in license.txt file, in main folder
  8. *
  9. */
  10. #pragma once
  11. #include <map>
  12. #include <SDL.h>
  13. #include "../gui/Shortcut.h"
  14. using ButtonShortcutsMap = std::map<int, std::vector<EShortcut> >;
  15. using TriggerShortcutsMap = std::map<int, std::vector<EShortcut> >;
  16. const ButtonShortcutsMap & getButtonShortcutsMap();
  17. const TriggerShortcutsMap & getTriggerShortcutsMap();