mirror of
https://github.com/spice2x/spice2x.github.io.git
synced 2026-08-05 08:10:40 -07:00
Initial commit for GitHub migration based on spice2x-25-03-03
This commit is contained in:
@@ -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();
|
||||
}
|
||||
Reference in New Issue
Block a user