InputManager: add config option to disable keybinds per device (#10064)
This commit is contained in:
parent
3fa6320a39
commit
225e13c3cc
4 changed files with 14 additions and 4 deletions
|
|
@ -759,6 +759,7 @@ CConfigManager::CConfigManager() {
|
|||
m_pConfig->addSpecialConfigValue("device", "active_area_size", Hyprlang::VEC2{0, 0}); // only for tablets
|
||||
m_pConfig->addSpecialConfigValue("device", "flip_x", Hyprlang::INT{0}); // only for touchpads
|
||||
m_pConfig->addSpecialConfigValue("device", "flip_y", Hyprlang::INT{0}); // only for touchpads
|
||||
m_pConfig->addSpecialConfigValue("device", "keybinds", Hyprlang::INT{1}); // enable/disable keybinds
|
||||
|
||||
// keywords
|
||||
m_pConfig->registerHandler(&::handleExec, "exec", {false});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue