49 lines
1.6 KiB
Diff
49 lines
1.6 KiB
Diff
diff --git a/opt/urserver/remotes/Unified/Core/Input/remote.lua b/opt/urserver/remotes/Unified/Core/Input/remote.lua
|
|
index 1553696..9b5d131 100644
|
|
--- a/opt/urserver/remotes/Unified/Core/Input/remote.lua
|
|
+++ b/opt/urserver/remotes/Unified/Core/Input/remote.lua
|
|
@@ -30,7 +30,11 @@ actions.MouseUp = function(...)
|
|
end
|
|
|
|
actions.Click = function(...)
|
|
- mouse.click(unpack({...}));
|
|
+ -- click() doesn't work with wayland for some reason (14.03.2026)
|
|
+ -- respective github issue: https://github.com/unifiedremote/Remotes/issues/140
|
|
+ -- mouse.click(unpack({...}));
|
|
+ mouse.down(unpack({...}));
|
|
+ mouse.up(unpack({...}));
|
|
end
|
|
|
|
actions.DblClick = function(...)
|
|
@@ -63,4 +67,4 @@ end
|
|
|
|
actions.ZoomOut = function ()
|
|
mouse.zoomout();
|
|
-end
|
|
\ No newline at end of file
|
|
+end
|
|
diff --git a/opt/urserver/remotes/Unified/Core/Mouse/remote.lua b/opt/urserver/remotes/Unified/Core/Mouse/remote.lua
|
|
index df8f5d3..be96e9a 100644
|
|
--- a/opt/urserver/remotes/Unified/Core/Mouse/remote.lua
|
|
+++ b/opt/urserver/remotes/Unified/Core/Mouse/remote.lua
|
|
@@ -37,7 +37,11 @@ end
|
|
--@help Click mouse button(s)
|
|
--@param buttons:buttons Buttons to click
|
|
actions.click = function (...)
|
|
- mouse.click(unpack({...}));
|
|
+ -- click() doesn't work with wayland for some reason (14.03.2026)
|
|
+ -- respective github issue: https://github.com/unifiedremote/Remotes/issues/140
|
|
+ -- mouse.click(unpack({...}));
|
|
+ mouse.down(unpack({...}));
|
|
+ mouse.up(unpack({...}));
|
|
end
|
|
|
|
--@help Double click mouse button(s)
|
|
@@ -76,4 +80,4 @@ end
|
|
--@help Perform zoom out
|
|
actions.zoom_out = function ()
|
|
mouse.zoomout();
|
|
-end
|
|
\ No newline at end of file
|
|
+end
|