summaryrefslogtreecommitdiffstats
path: root/src/common
diff options
context:
space:
mode:
authorBaptiste Marie <bm01@users.noreply.github.com>2023-05-29 14:51:56 +0200
committerBaptiste Marie <bm01@users.noreply.github.com>2023-06-12 00:47:52 +0200
commit8e3d4e33961ef7276247ee03ac5c342d4055ac3a (patch)
tree85de5ce092b27c1457471c7ce3c72ec62090cb99 /src/common
parentMerge pull request #10668 from Kelebek1/reduce_vertex_bindings (diff)
downloadyuzu-8e3d4e33961ef7276247ee03ac5c342d4055ac3a.tar
yuzu-8e3d4e33961ef7276247ee03ac5c342d4055ac3a.tar.gz
yuzu-8e3d4e33961ef7276247ee03ac5c342d4055ac3a.tar.bz2
yuzu-8e3d4e33961ef7276247ee03ac5c342d4055ac3a.tar.lz
yuzu-8e3d4e33961ef7276247ee03ac5c342d4055ac3a.tar.xz
yuzu-8e3d4e33961ef7276247ee03ac5c342d4055ac3a.tar.zst
yuzu-8e3d4e33961ef7276247ee03ac5c342d4055ac3a.zip
Diffstat (limited to 'src/common')
-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 9682281b0..3c775d3d2 100644
--- a/src/common/settings.h
+++ b/src/common/settings.h
@@ -524,9 +524,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"};