Jump to content

Hello! 👋

These forums are now archived (read only).

Join us on Discord.

How to disable some mappings?


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 post
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 post
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 post
Share on other sites
  • Synergy Team
Daniel Evenson

Not tried that before, perhaps try the following?

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

Link to post
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 post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...