spicetools/games/bc/io.h

36 lines
579 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::bc {
namespace Buttons {
enum {
Service,
Test,
Up,
Down,
Left,
Right,
JoystickButton,
Trigger1,
Trigger2,
Button1,
Button2,
Button3,
Button4,
};
}
namespace Analogs {
enum {
StickX,
StickY,
};
}
std::vector<Button> &get_buttons();
std::vector<Analog> &get_analogs();
}