Initial re-upload of spice2x-24-08-24

This commit is contained in:
2024-08-28 11:10:34 -04:00
commit caa9e02285
1181 changed files with 380065 additions and 0 deletions

77
games/qma/io.h Normal file
View File

@@ -0,0 +1,77 @@
#pragma once
#include <vector>
#include "cfg/api.h"
namespace games::qma {
// all buttons in correct order
namespace Buttons {
enum {
Service,
Test,
Select,
CoinMech,
Select1,
Select2,
Left,
Right,
OK,
TouchKey1,
TouchKey2,
TouchKey3,
TouchKey4,
TouchKey5,
TouchKey6,
TouchKey7,
TouchKey8,
TouchKey9,
TouchKey0,
TouchKeyDash,
TouchKeyQ,
TouchKeyW,
TouchKeyE,
TouchKeyR,
TouchKeyT,
TouchKeyY,
TouchKeyU,
TouchKeyI,
TouchKeyO,
TouchKeyP,
TouchKeyA,
TouchKeyS,
TouchKeyD,
TouchKeyF,
TouchKeyG,
TouchKeyH,
TouchKeyJ,
TouchKeyK,
TouchKeyL,
TouchKeyZ,
TouchKeyX,
TouchKeyC,
TouchKeyV,
TouchKeyB,
TouchKeyN,
TouchKeyM,
TouchKeyBackspace,
TouchKeyEnter
};
}
// all lights in correct order
namespace Lights {
enum {
LampRed,
LampGreen,
LampBlue,
ButtonLeft,
ButtonRight,
ButtonOK
};
}
// getters
std::vector<Button> &get_buttons();
std::vector<Light> &get_lights();
}