diff options
| author | 2020-10-17 09:38:12 -0400 | |
|---|---|---|
| committer | 2020-11-15 23:33:20 -0500 | |
| commit | 38110dd485e329fa39e2e4c02b91a89dfebcbc88 (patch) | |
| tree | 096a87673779267eaf711e4ae77ba7a995845327 /src/input_common/settings.h | |
| parent | settings: Remove global vibration strength modifier (diff) | |
| download | yuzu-38110dd485e329fa39e2e4c02b91a89dfebcbc88.tar.gz yuzu-38110dd485e329fa39e2e4c02b91a89dfebcbc88.tar.xz yuzu-38110dd485e329fa39e2e4c02b91a89dfebcbc88.zip | |
configure_input: Add per-player vibration
Allows for enabling and modifying vibration and vibration strength per player.
Also adds a toggle for enabling/disabling accurate vibrations.
Co-authored-by: Its-Rei <kupfel@gmail.com>
Diffstat (limited to 'src/input_common/settings.h')
| -rw-r--r-- | src/input_common/settings.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/input_common/settings.h b/src/input_common/settings.h index f52d28540..2763ed991 100644 --- a/src/input_common/settings.h +++ b/src/input_common/settings.h | |||
| @@ -332,6 +332,9 @@ struct PlayerInput { | |||
| 332 | AnalogsRaw analogs; | 332 | AnalogsRaw analogs; |
| 333 | MotionRaw motions; | 333 | MotionRaw motions; |
| 334 | 334 | ||
| 335 | bool vibration_enabled; | ||
| 336 | int vibration_strength; | ||
| 337 | |||
| 335 | u32 body_color_left; | 338 | u32 body_color_left; |
| 336 | u32 body_color_right; | 339 | u32 body_color_right; |
| 337 | u32 button_color_left; | 340 | u32 button_color_left; |