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>
This commit is contained in:
parent
300228b503
commit
8e15f91c24
4 changed files with 49 additions and 6 deletions
|
|
@ -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});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue