added rules to hyprctl devices and fixed rules
This commit is contained in:
parent
491b99c61e
commit
92e17f2925
3 changed files with 21 additions and 5 deletions
|
|
@ -87,7 +87,7 @@ std::string devicesRequest() {
|
|||
result += "\n\nKeyboards:\n";
|
||||
|
||||
for (auto& k : g_pInputManager->m_lKeyboards) {
|
||||
result += getFormat("\tKeyboard at %x:\n\t\t%s\n", &k, k.keyboard->name);
|
||||
result += getFormat("\tKeyboard at %x:\n\t\t%s\n\t\t\trules: r \"%s\", m \"%s\", l \"%s\", v \"%s\", o \"%s\"\n", &k, k.keyboard->name, k.currentRules.rules.c_str(), k.currentRules.model.c_str(), k.currentRules.layout.c_str(), k.currentRules.variant.c_str(), k.currentRules.options.c_str());
|
||||
}
|
||||
|
||||
result += "\n\nTablets:\n";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue