diff options
| author | Agent00Ming <107314235+Agent00Ming@users.noreply.github.com> | 2024-07-18 15:57:08 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-07-18 21:57:08 +0200 |
| commit | 8e15f91c2417c8f05d69a93f1294185ccc5f8f3e (patch) | |
| tree | 0aea9874615b9a953f0aef54c29047c3b8dbeb20 /src/config/ConfigManager.cpp | |
| parent | 300228b503b36e5977b0d58713c5b4cf1f07b8a9 (diff) | |
input: Emulate discrete scrolling from v120 events (#6881)
* seat: avoid sending axis_stop() when source is wheel
* fix rounding for absolute discrete values greater than 1
Co-authored-by: Agent_00Ming <agent00ming9366@gmail.com>
Diffstat (limited to 'src/config/ConfigManager.cpp')
| -rw-r--r-- | src/config/ConfigManager.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/config/ConfigManager.cpp b/src/config/ConfigManager.cpp index 944aa0b2..71349068 100644 --- a/src/config/ConfigManager.cpp +++ b/src/config/ConfigManager.cpp @@ -472,6 +472,7 @@ CConfigManager::CConfigManager() { m_pConfig->addConfigValue("input:scroll_button_lock", Hyprlang::INT{0}); m_pConfig->addConfigValue("input:scroll_factor", {1.f}); m_pConfig->addConfigValue("input:scroll_points", {STRVAL_EMPTY}); + m_pConfig->addConfigValue("input:emulate_discrete_scroll", Hyprlang::INT{1}); m_pConfig->addConfigValue("input:touchpad:natural_scroll", Hyprlang::INT{0}); m_pConfig->addConfigValue("input:touchpad:disable_while_typing", Hyprlang::INT{1}); m_pConfig->addConfigValue("input:touchpad:clickfinger_behavior", Hyprlang::INT{0}); |
