btnx icon indicating copy to clipboard operation
btnx copied to clipboard

Button presses execute both default and configured functionality

Open panta82 opened this issue 6 years ago • 3 comments

Hi, I am trying to configure side buttons on my Logitech MX mouse to perform zoom in / out functionality (CTRL +/-). I got it to be able to zoom in and out in Chrome, but it also does the default functionality (go back / forward) at the same time, which is not good.

Previous methods I used to get this to work also took care of "blocking" the default actions or making sure the app doesn't see them. Is there a way to do that with btnx?

panta82 avatar Jun 16 '19 13:06 panta82

I noticed this behavior in some applications, such as KDE's Dolphin. In my web browser I have remapped the Forward-button on my own Logitech mouse to switch-to-next-tab. (I use Brave, which is based on the WebKit browser Engine which is what drives Chrome.) I have not experienced any problems with this. In my browser, I also changed the hot key bindings for some inputs (specifically I made a Thumb-Button emit the ALT+Up Arrow signal, and set the browser to interpret that as CTRL+F4 to close tabs.) These seem to work, but I'm not sure about setting it to Zoom.

I will have to give this a try and see how things go.

I am not aware of a block input feature within BTNX. If it isn't exposed through the GUI configuration (btnx-configure), it is probably not there.

cdobrich avatar Jun 19 '19 17:06 cdobrich

I also noticed that on ubuntu 20.04, fresh install. Furthermore, if I disable mouse by xinput set-prop 12 'Device Enabled' 0 where 12 is id of my Master3 mouse, then the mouse stops working, but the buttons that are set in btnx still work.

JureSencar avatar Sep 27 '20 22:09 JureSencar

i noticed this in almost every application i use. i remapped the scroll up and down button to right click, but sometimes it registers a scroll when used. this is a really annoying problem, please fix :)

Wyvest avatar Jan 30 '21 02:01 Wyvest