Let us start here, from square one. No, from Zero!

This commit is contained in:
smpn2
2022-09-30 22:45:51 +09:00
parent 14215af0d1
commit b7a60638a4
1005 changed files with 303069 additions and 0 deletions
+77
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();
}