lsnes/include/core/controller.hpp

21 lines
525 B
C++
Raw Normal View History

2011-09-16 06:13:33 +03:00
#ifndef _controller__hpp__included__
#define _controller__hpp__included__
#include "controllerframe.hpp"
2013-06-12 22:15:25 +03:00
#include "project.hpp"
struct project_info;
2011-09-16 06:13:33 +03:00
2013-01-04 20:41:11 +02:00
void reread_active_buttons();
void reinitialize_buttonmap();
2013-06-12 22:15:25 +03:00
void load_macros(controller_state& ctrlstate);
void load_project_macros(controller_state& ctrlstate, project_info& pinfo);
void cleanup_all_keys();
2013-10-06 22:13:52 +03:00
std::pair<int, int> controller_by_name(const std::string& name);
2013-06-12 22:15:25 +03:00
extern controller_state controls;
extern std::map<std::string, std::string> button_keys;
2013-06-12 22:15:25 +03:00
2011-09-17 00:06:20 +03:00
#endif