This commit is contained in:
Philipp Hochkamp 2023-01-18 05:17:29 +01:00
parent 0eddaa2893
commit 7b8535e3d8

View file

@ -307,10 +307,12 @@ end
mouseTap = hs.eventtap.new({ hs.eventtap.event.types.otherMouseDown }, function(event) mouseTap = hs.eventtap.new({ hs.eventtap.event.types.otherMouseDown }, function(event)
if event:getButtonState(3) then if event:getButtonState(3) then
handleMouse4() handleMouse4()
return true
elseif event:getButtonState(4) then elseif event:getButtonState(4) then
handleMouse5() handleMouse5()
return true
end end
return true return false
end) end)
mouseTap:start() mouseTap:start()