spicetools/games/qks/io.cpp

24 lines
601 B
C++
Raw Normal View History

2024-08-28 15:10:34 +00:00
#include "io.h"
std::vector<Button> &games::qks::get_buttons() {
static std::vector<Button> buttons;
if (buttons.empty()) {
buttons = GameAPI::Buttons::getButtons("QuizKnock STADIUM");
GameAPI::Buttons::sortButtons(
&buttons,
"Test",
"Service",
"Coin",
"Q Button Press",
"Q Button Sensor 1",
"Q Button Sensor 2",
"Q Button Sensor 3",
"Headphones Detect",
"Microphone Detect"
);
}
return buttons;
}