input_common: Fully implement UDP controllers

This commit is contained in:
Narr the Reg
2021-11-26 15:45:37 -06:00
parent 23bf2e3bb6
commit 639402850a
12 changed files with 397 additions and 40 deletions

View File

@ -195,6 +195,20 @@ enum class ButtonNames {
ButtonX,
ButtonY,
ButtonStart,
// DS4 button names
L1,
L2,
L3,
R1,
R2,
R3,
Circle,
Cross,
Square,
Triangle,
Share,
Options,
};
// Callback data consisting of an input type and the equivalent data status

View File

@ -560,6 +560,7 @@ struct Values {
Setting<bool> motion_enabled{true, "motion_enabled"};
BasicSetting<std::string> udp_input_servers{"127.0.0.1:26760", "udp_input_servers"};
BasicSetting<bool> enable_udp_controller{false, "enable_udp_controller"};
BasicSetting<bool> pause_tas_on_load{true, "pause_tas_on_load"};
BasicSetting<bool> tas_enable{false, "tas_enable"};