config: Add input:scroll_factor configuration (#4980)
* Allow for input:scroll_factor configuration This PR will allow for a `scroll_factor` configuration within an `input` block. The purpose is to control the scroll factor of external mice. Closes #2574. * clang-format
This commit is contained in:
parent
f8a081b56d
commit
0ee69058c4
2 changed files with 4 additions and 2 deletions
|
|
@ -455,6 +455,7 @@ CConfigManager::CConfigManager() {
|
|||
m_pConfig->addConfigValue("input:scroll_method", {STRVAL_EMPTY});
|
||||
m_pConfig->addConfigValue("input:scroll_button", Hyprlang::INT{0});
|
||||
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:touchpad:natural_scroll", Hyprlang::INT{0});
|
||||
m_pConfig->addConfigValue("input:touchpad:disable_while_typing", Hyprlang::INT{1});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue