true
This commit is contained in:
parent
0eddaa2893
commit
7b8535e3d8
1 changed files with 3 additions and 1 deletions
|
|
@ -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()
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue