spicetools/games/rf3d/io.h

42 lines
758 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::rf3d {
// all buttons in correct order
namespace Buttons {
enum {
Service,
Test,
CoinMech,
View,
Toggle2D3D,
LeverUp,
LeverDown,
LeverLeft,
LeverRight,
WheelLeft,
WheelRight,
Accelerate,
Brake,
AutoLeverDown,
AutoLeverUp
};
}
// all analogs in correct order
namespace Analogs {
enum {
Wheel,
Accelerate,
Brake
};
}
// getters
std::vector<Button> &get_buttons();
std::vector<Analog> &get_analogs();
}