Let us start here, from square one. No, from Zero!
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
#include "io.h"
|
||||
|
||||
std::vector<Button> &games::mfc::get_buttons() {
|
||||
static std::vector<Button> buttons;
|
||||
|
||||
if (buttons.empty()) {
|
||||
buttons = GameAPI::Buttons::getButtons("Mahjong Fight Club");
|
||||
|
||||
GameAPI::Buttons::sortButtons(
|
||||
&buttons,
|
||||
"Select",
|
||||
"Service",
|
||||
"Test",
|
||||
"Coin",
|
||||
"Joystick Up",
|
||||
"Joystick Down",
|
||||
"Joystick Enter"
|
||||
);
|
||||
}
|
||||
|
||||
return buttons;
|
||||
}
|
||||
Reference in New Issue
Block a user