summaryrefslogtreecommitdiff
path: root/src/debug
diff options
context:
space:
mode:
authorKhalid <khalid.y96@outlook.com>2024-03-23 23:31:03 +0300
committerGitHub <noreply@github.com>2024-03-23 20:31:03 +0000
commit059e85ae69e5d50bb6734532da4abdcf66167ab3 (patch)
treed2bc278511f778203f9c55af9b8ec6a97c789139 /src/debug
parent0dfdb6678f5362fda449694639e8fee806ca1ae4 (diff)
input: Add options to set tablet's active area (#5199)
* Add options to set tablet's active area * Set tablet's active area in `setTabletConfigs` * Fix formatting for new variables in ConfigManager * Report tablet's physical size with hyprctl
Diffstat (limited to 'src/debug')
-rw-r--r--src/debug/HyprCtl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/debug/HyprCtl.cpp b/src/debug/HyprCtl.cpp
index 211b532e..903b7d7f 100644
--- a/src/debug/HyprCtl.cpp
+++ b/src/debug/HyprCtl.cpp
@@ -657,7 +657,7 @@ std::string devicesRequest(eHyprCtlOutputFormat format, std::string request) {
}
for (auto& d : g_pInputManager->m_lTablets) {
- result += std::format("\tTablet at {:x}:\n\t\t{}\n", (uintptr_t)&d, d.name);
+ result += std::format("\tTablet at {:x}:\n\t\t{}\n\t\t\tsize: {}x{}mm\n", (uintptr_t)&d, d.name, d.wlrTablet->width_mm, d.wlrTablet->height_mm);
}
for (auto& d : g_pInputManager->m_lTabletTools) {