Initial commit for GitHub migration based on spice2x-25-03-03

This commit is contained in:
sp2xdev
2025-03-10 19:16:49 -07:00
parent 94af8d32c9
commit ed8c72852f
1008 changed files with 296815 additions and 0 deletions
+70
View File
@@ -0,0 +1,70 @@
#pragma once
#include <vector>
#include "cfg/api.h"
namespace games::we {
// all buttons in correct order
namespace Buttons {
enum {
Service,
Test,
CoinMech,
Start,
Up,
Down,
Left,
Right,
ButtonA,
ButtonB,
ButtonC,
ButtonD,
ButtonE,
ButtonF,
PadStart,
PadSelect,
PadUp,
PadDown,
PadLeft,
PadRight,
PadTriangle,
PadCross,
PadSquare,
PadCircle,
PadL1,
PadL2,
PadL3,
PadR1,
PadR2,
PadR3,
};
}
// all analogs in correct order
namespace Analogs {
enum {
PadStickLeftX,
PadStickLeftY,
PadStickRightX,
PadStickRightY,
};
}
// all lights in correct order
namespace Lights {
enum {
LeftRed,
LeftGreen,
LeftBlue,
RightRed,
RightGreen,
RightBlue,
};
}
// getters
std::vector<Button> &get_buttons();
std::vector<Analog> &get_analogs();
std::vector<Light> &get_lights();
}