summaryrefslogtreecommitdiffstats
path: root/src/common/settings.h
diff options
context:
space:
mode:
authorliamwhite <liamwhite@users.noreply.github.com>2023-06-27 17:21:28 +0200
committerGitHub <noreply@github.com>2023-06-27 17:21:28 +0200
commit20111c86b65afef07923fdb2f15867b7f8c69e32 (patch)
tree85e51391c820e75f40a7e4d8dd9b882d7f5d5b36 /src/common/settings.h
parentMerge pull request #10679 from zeltermann/wakelock-reason (diff)
parentinput_common: Redesign mouse panning (diff)
downloadyuzu-20111c86b65afef07923fdb2f15867b7f8c69e32.tar
yuzu-20111c86b65afef07923fdb2f15867b7f8c69e32.tar.gz
yuzu-20111c86b65afef07923fdb2f15867b7f8c69e32.tar.bz2
yuzu-20111c86b65afef07923fdb2f15867b7f8c69e32.tar.lz
yuzu-20111c86b65afef07923fdb2f15867b7f8c69e32.tar.xz
yuzu-20111c86b65afef07923fdb2f15867b7f8c69e32.tar.zst
yuzu-20111c86b65afef07923fdb2f15867b7f8c69e32.zip
Diffstat (limited to 'src/common/settings.h')
-rw-r--r--src/common/settings.h11
1 files changed, 9 insertions, 2 deletions
diff --git a/src/common/settings.h b/src/common/settings.h
index 3aedf3850..ae5ed93d8 100644
--- a/src/common/settings.h
+++ b/src/common/settings.h
@@ -525,9 +525,16 @@ struct Values {
Setting<bool> tas_loop{false, "tas_loop"};
Setting<bool> mouse_panning{false, "mouse_panning"};
- Setting<u8, true> mouse_panning_sensitivity{50, 1, 100, "mouse_panning_sensitivity"};
- Setting<bool> mouse_enabled{false, "mouse_enabled"};
+ Setting<u8, true> mouse_panning_x_sensitivity{50, 1, 100, "mouse_panning_x_sensitivity"};
+ Setting<u8, true> mouse_panning_y_sensitivity{50, 1, 100, "mouse_panning_y_sensitivity"};
+ Setting<u8, true> mouse_panning_deadzone_x_counterweight{
+ 0, 0, 100, "mouse_panning_deadzone_x_counterweight"};
+ Setting<u8, true> mouse_panning_deadzone_y_counterweight{
+ 0, 0, 100, "mouse_panning_deadzone_y_counterweight"};
+ Setting<u8, true> mouse_panning_decay_strength{22, 0, 100, "mouse_panning_decay_strength"};
+ Setting<u8, true> mouse_panning_min_decay{5, 0, 100, "mouse_panning_min_decay"};
+ Setting<bool> mouse_enabled{false, "mouse_enabled"};
Setting<bool> emulate_analog_keyboard{false, "emulate_analog_keyboard"};
Setting<bool> keyboard_enabled{false, "keyboard_enabled"};