Jump to content

How to disable some mappings?


taintedkernel

Recommended Posts

taintedkernel

I have a problem where my mouse horizontal scroll wheel is somehow mapped on the client to the browser (Chrome) back and forward shortcuts.  This causes a lot of frustration where I inadvertently lose my progress while working.  The server is Ubuntu and client Mac OS, and I think this started when I upgraded the Mac to a more recent version but this was some time ago now.

I found out somewhere that if Shift is held while using the vertical scroll, it will translate to actual horizontal scroll on the client.  According to xev, the horizontal scroll on my Ubuntu desktop is mapped to buttons 6 & 7, so I tried setting up this mapping, but it doesn't seem to work:

    mousebutton(6) = keyDown(Shift),mousebutton(4),keyUp(Shift)
    mousebutton(7) = keyDown(Shift),mousebutton(5),keyUp(Shift)


So is there any way to just disable this mapping completely to prevent the loss of work on my client computer?

Link to comment
Share on other sites

  • 1 month later...
  • Synergy Team
Daniel Evenson

Hi 👋

Would you mind trying the following lines in the config file and see if it helps?

mousebutton(6) = mousebutton(Shift+4)
mousebutton(7) = mousebutton(Shift+5)

Looking forward to hearing from you.

Link to comment
Share on other sites

  • 2 weeks later...
taintedkernel

Thanks for the reply.  I finally got a chance to try this out, but unfortunately no luck there.  Is it possible to just map 6 & 7 to nothing?

Link to comment
Share on other sites

  • Synergy Team
Daniel Evenson

Not tried that before, perhaps try the following?

mousebutton(6) = none
mousebutton(7) = none

Link to comment
Share on other sites

taintedkernel

I tried a few variations on that, but getting the error:

read error: line 57: unknown action argument "none"

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...