added hyprctl switchxkblayout
This commit is contained in:
parent
056a45d035
commit
6aa26582f6
6 changed files with 76 additions and 20 deletions
|
|
@ -5,7 +5,7 @@ void CInputManager::newTabletTool(wlr_input_device* pDevice) {
|
|||
const auto PNEWTABLET = &m_lTablets.emplace_back();
|
||||
|
||||
try {
|
||||
PNEWTABLET->name = std::string(pDevice->name);
|
||||
PNEWTABLET->name = deviceNameToInternalString(pDevice->name);
|
||||
} catch (std::exception& e) {
|
||||
Debug::log(ERR, "Tablet had no name???"); // logic error
|
||||
}
|
||||
|
|
@ -158,7 +158,7 @@ void CInputManager::newTabletPad(wlr_input_device* pDevice) {
|
|||
const auto PNEWPAD = &m_lTabletPads.emplace_back();
|
||||
|
||||
try {
|
||||
PNEWPAD->name = std::string(pDevice->name);
|
||||
PNEWPAD->name = deviceNameToInternalString(pDevice->name);
|
||||
} catch (std::exception& e) {
|
||||
Debug::log(ERR, "Pad had no name???"); // logic error
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue