summaryrefslogtreecommitdiffstats
path: root/src/common
diff options
context:
space:
mode:
authorNarr the Reg <juangerman-13@hotmail.com>2021-11-26 22:45:37 +0100
committerNarr the Reg <juangerman-13@hotmail.com>2021-11-26 22:46:36 +0100
commit639402850ac65c694967ef6519becb65abe89b39 (patch)
tree55ab559c417a519ac8b93a746428842e53c19a31 /src/common
parentservice/hid: Finish converting LIFO objects and address some nits (diff)
downloadyuzu-639402850ac65c694967ef6519becb65abe89b39.tar
yuzu-639402850ac65c694967ef6519becb65abe89b39.tar.gz
yuzu-639402850ac65c694967ef6519becb65abe89b39.tar.bz2
yuzu-639402850ac65c694967ef6519becb65abe89b39.tar.lz
yuzu-639402850ac65c694967ef6519becb65abe89b39.tar.xz
yuzu-639402850ac65c694967ef6519becb65abe89b39.tar.zst
yuzu-639402850ac65c694967ef6519becb65abe89b39.zip
Diffstat (limited to 'src/common')
-rw-r--r--src/common/input.h14
-rw-r--r--src/common/settings.h1
2 files changed, 15 insertions, 0 deletions
diff --git a/src/common/input.h b/src/common/input.h
index cc0cbd9b8..eaee0bdea 100644
--- a/src/common/input.h
+++ b/src/common/input.h
@@ -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
diff --git a/src/common/settings.h b/src/common/settings.h
index d7410fa9b..e4e049f67 100644
--- a/src/common/settings.h
+++ b/src/common/settings.h
@@ -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"};