InputManager: add config option to disable keybinds per device (#10064)

This commit is contained in:
nyx
2025-04-16 20:19:10 -04:00
committed by GitHub
parent 3fa6320a39
commit 225e13c3cc
4 changed files with 14 additions and 4 deletions

View File

@@ -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});