mirror of
https://github.com/spice2x/spice2x.github.io.git
synced 2026-11-30 02:56:42 -08:00
There are no servers to test this, but: * touch, touch with mouse * in theory card reader should work * printer works (RGB, front and back) * test/service button, lights What is (painfully) missing: * windowed mode Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
41 lines
991 B
C++
41 lines
991 B
C++
#include "io.h"
|
|
|
|
std::vector<Button> &games::cardconnect::get_buttons() {
|
|
static std::vector<Button> buttons;
|
|
|
|
if (buttons.empty()) {
|
|
buttons = GameAPI::Buttons::getButtons("Card Connect");
|
|
GameAPI::Buttons::sortButtons(
|
|
&buttons,
|
|
"Test",
|
|
"Service",
|
|
"Coin Mech"
|
|
);
|
|
}
|
|
|
|
return buttons;
|
|
}
|
|
|
|
std::vector<Light> &games::cardconnect::get_lights() {
|
|
static std::vector<Light> lights;
|
|
|
|
if (lights.empty()) {
|
|
lights = GameAPI::Lights::getLights("Card Connect");
|
|
GameAPI::Lights::sortLights(
|
|
&lights,
|
|
"Photo Light",
|
|
"Card Reader R",
|
|
"Card Reader G",
|
|
"Card Reader B",
|
|
"Side Left R",
|
|
"Side Left G",
|
|
"Side Left B",
|
|
"Side Right R",
|
|
"Side Right G",
|
|
"Side Right B"
|
|
);
|
|
}
|
|
|
|
return lights;
|
|
}
|