diff options
Diffstat (limited to 'src/common')
| -rw-r--r-- | src/common/input.h | 14 | ||||
| -rw-r--r-- | src/common/settings.h | 1 |
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 { | |||
| 195 | ButtonX, | 195 | ButtonX, |
| 196 | ButtonY, | 196 | ButtonY, |
| 197 | ButtonStart, | 197 | ButtonStart, |
| 198 | |||
| 199 | // DS4 button names | ||
| 200 | L1, | ||
| 201 | L2, | ||
| 202 | L3, | ||
| 203 | R1, | ||
| 204 | R2, | ||
| 205 | R3, | ||
| 206 | Circle, | ||
| 207 | Cross, | ||
| 208 | Square, | ||
| 209 | Triangle, | ||
| 210 | Share, | ||
| 211 | Options, | ||
| 198 | }; | 212 | }; |
| 199 | 213 | ||
| 200 | // Callback data consisting of an input type and the equivalent data status | 214 | // 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 { | |||
| 560 | 560 | ||
| 561 | Setting<bool> motion_enabled{true, "motion_enabled"}; | 561 | Setting<bool> motion_enabled{true, "motion_enabled"}; |
| 562 | BasicSetting<std::string> udp_input_servers{"127.0.0.1:26760", "udp_input_servers"}; | 562 | BasicSetting<std::string> udp_input_servers{"127.0.0.1:26760", "udp_input_servers"}; |
| 563 | BasicSetting<bool> enable_udp_controller{false, "enable_udp_controller"}; | ||
| 563 | 564 | ||
| 564 | BasicSetting<bool> pause_tas_on_load{true, "pause_tas_on_load"}; | 565 | BasicSetting<bool> pause_tas_on_load{true, "pause_tas_on_load"}; |
| 565 | BasicSetting<bool> tas_enable{false, "tas_enable"}; | 566 | BasicSetting<bool> tas_enable{false, "tas_enable"}; |