fix: touchscreen now transforms as well

This commit is contained in:
2026-08-23 21:27:31 +02:00
parent 6f2d9f8fd4
commit 33d904ebb8
+4 -2
View File
@@ -66,13 +66,15 @@ hl.bind("SUPER + T", function()
if m == nil then if m == nil then
return return
end end
local t = m.transform == 0 and 1 or 0
hl.monitor({ hl.monitor({
output = "eDP-1", output = "eDP-1",
mode = "1800x2880@120", mode = "2880x1800@120",
position = "0x0", position = "0x0",
scale = 1.125, scale = 1.125,
bitdepth = 10, bitdepth = 10,
cm = "srgb", cm = "srgb",
transform = m.transform == 0 and 1 or 0, transform = t,
}) })
hl.config({ input = { touchdevice = { transform = t }, tablet = { transform = t } } })
end) end)