mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-15 12:26:00 +01:00
add: longPress to the bindRequest
This commit is contained in:
parent
29431a443f
commit
b6f41f8d77
1 changed files with 2 additions and 1 deletions
|
@ -840,6 +840,7 @@ std::string bindsRequest(eHyprCtlOutputFormat format, std::string request) {
|
||||||
"mouse": {},
|
"mouse": {},
|
||||||
"release": {},
|
"release": {},
|
||||||
"repeat": {},
|
"repeat": {},
|
||||||
|
"longPress": {},
|
||||||
"non_consuming": {},
|
"non_consuming": {},
|
||||||
"has_description": {},
|
"has_description": {},
|
||||||
"modmask": {},
|
"modmask": {},
|
||||||
|
@ -851,7 +852,7 @@ std::string bindsRequest(eHyprCtlOutputFormat format, std::string request) {
|
||||||
"dispatcher": "{}",
|
"dispatcher": "{}",
|
||||||
"arg": "{}"
|
"arg": "{}"
|
||||||
}},)#",
|
}},)#",
|
||||||
kb.locked ? "true" : "false", kb.mouse ? "true" : "false", kb.release ? "true" : "false", kb.repeat ? "true" : "false", kb.nonConsuming ? "true" : "false",
|
kb.locked ? "true" : "false", kb.mouse ? "true" : "false", kb.release ? "true" : "false", kb.repeat ? "true" : "false", kb.longPress ? "true" : "false", kb.nonConsuming ? "true" : "false",
|
||||||
kb.hasDescription ? "true" : "false", kb.modmask, escapeJSONStrings(kb.submap), escapeJSONStrings(kb.key), kb.keycode, kb.catchAll ? "true" : "false",
|
kb.hasDescription ? "true" : "false", kb.modmask, escapeJSONStrings(kb.submap), escapeJSONStrings(kb.key), kb.keycode, kb.catchAll ? "true" : "false",
|
||||||
escapeJSONStrings(kb.description), escapeJSONStrings(kb.handler), escapeJSONStrings(kb.arg));
|
escapeJSONStrings(kb.description), escapeJSONStrings(kb.handler), escapeJSONStrings(kb.arg));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue