spicetools/games/silentscope/io.h

37 lines
633 B
C
Raw Permalink Normal View History

2024-08-28 15:10:34 +00:00
#pragma once
#include <vector>
#include "cfg/api.h"
namespace games::silentscope {
// all buttons in correct order
namespace Buttons {
enum {
SERVICE,
TEST,
COIN_MECH,
START,
UP,
DOWN,
LEFT,
RIGHT,
GUN_PRESSED,
SCOPE_RIGHT,
SCOPE_LEFT,
};
}
// all analogs in correct order
namespace Analogs {
enum {
GUN_X,
GUN_Y,
};
}
// getters
std::vector<Button> &get_buttons();
std::vector<Analog> &get_analogs();
}