|
4 | 4 | * |
5 | 5 | */ |
6 | 6 |
|
| 7 | +#include "ControllerTypeStrings.h" |
7 | 8 | #include "ControllerCapability.h" |
8 | 9 |
|
9 | 10 | namespace PokemonAutomation{ |
10 | 11 |
|
11 | 12 |
|
12 | 13 |
|
13 | | -const EnumStringMap<ControllerInterface> CONTROLLER_INTERFACE_STRINGS{ |
14 | | - {ControllerInterface::None, "None"}, |
15 | | - {ControllerInterface::SerialPABotBase, "Serial: PABotBase"}, |
16 | | - {ControllerInterface::TcpSysbotBase, "TCP: sys-botbase"}, |
17 | | - {ControllerInterface::UsbSysbotBase, "USB: sys-botbase"}, |
18 | | -}; |
19 | | - |
20 | | -const EnumStringMap<ControllerType> CONTROLLER_TYPE_STRINGS{ |
21 | | - {ControllerType::None, "None"}, |
22 | | - {ControllerType::NintendoSwitch_WiredProController, "Switch: Wired Pro Controller"}, |
23 | | - {ControllerType::NintendoSwitch_WirelessProController, "Switch: Wireless Pro Controller"}, |
24 | | - {ControllerType::NintendoSwitch_LeftJoycon, "Switch: Left Joycon"}, |
25 | | - {ControllerType::NintendoSwitch_RightJoycon, "Switch: Right Joycon"}, |
26 | | -}; |
27 | | - |
28 | | -const EnumStringMap<ControllerFeature> CONTROLLER_FEATURE_STRINGS{ |
29 | | - {ControllerFeature::TickPrecise, "TickPrecise"}, |
30 | | - {ControllerFeature::QueryTickSize, "QueryTickSize"}, |
31 | | - {ControllerFeature::QueryCommandQueueSize, "QueryCommandQueueSize"}, |
32 | | - {ControllerFeature::NintendoSwitch_ProController, "NintendoSwitch_ProController"}, |
33 | | - {ControllerFeature::NintendoSwitch_DateSkip, "NintendoSwitch_DateSkip"}, |
34 | | -}; |
35 | | - |
36 | | - |
37 | | - |
38 | | - |
39 | 14 |
|
40 | 15 |
|
41 | 16 | ControllerRequirements::ControllerRequirements(std::initializer_list<ControllerFeature> args) |
|
0 commit comments