pqrs-org / Karabiner-Elements

Karabiner-Elements is a powerful utility for keyboard customization on macOS Sierra (10.12) or later.
https://pqrs.org/osx/karabiner/
The Unlicense
18.47k stars 828 forks source link

When Karabiner modifies my mouse, it messes with the pointer (reverses movement when starting motion). #2554

Open derekdude opened 3 years ago

derekdude commented 3 years ago

Hi, I was wondering what the cause of this could be. I use Karabiner to remap some mouse buttons, so I would like to have it modify my mouse (Razer Pro Click). However, whenever I have it enabled in the Devices menu in Karabiner-Elements, sometimes when starting a mouse motion, the direction will be reversed from the direction I am actually moving it in. If I keep moving the mouse for long enough, it will eventually move accurately. To elaborate, if I keep picking up my mouse and moving it to the right quickly, it will move to the left almost every time.

When I disable the device in Karabiner-Elements, the problem instantly goes away and the mouse moves very accurately, so I know it is not a problem with the mouse.

The buttons I am remapping are button4 and button5 for back/forward, respectively. Did it by changing the configuration.json file. These remaps work fine.

derekdude commented 3 years ago

Issue was somewhat helped by reducing DPI mouse setting (since I have the space on my desk to account for that). In other words, the more distance traveled in one direction by the mouse pointer, the more likely it is for Karabiner to reverse the direction.

kevincoleman commented 3 years ago

I ran into a very similar problem with the SteelSeries Rival 600. I remapped the side buttons 3 and 4 as well as a top button (6), and I don’t see reverse motion but I did see a huge intermittent lag in input. Sometimes it works fine, but as long as there are mappings for mouse buttons the motion will occasionally “load up” and then slowly play back. Sometimes for several seconds after I’m done moving the mouse. Observed on 1.13.0 and 1.13.2.

I ended up just removing mouse button maps (keyboard works fine), and using the SteelSeries client plus MacOS settings to get the same functionality. Would be nice to have the settings in one place instead of three, though!

derekdude commented 3 years ago

Interesting, it's weird that the behavior seems to change with certain mice. Unfortunately my mouse has no macOS support so there isn't much you can do with the macOS base settings.

However, I did fix my problem. While Karabiner is still great for keyboard reprogramming...There is a nice piece of software I just found called SensibleSideButtons. This worked perfectly and gives me the back/forward navigation I want without any weird motion. However, Karabiner still seems to be doing something it isn't supposed to, modifying mouse events differently than it says it is.

PierreENOlivier commented 3 years ago

Same issue as @kevincoleman with a Perixx MX200011. The pointer decided to live a life of its own when I have Karabiner on. Also tried to remap the 3,4,5 buttons which were not recognized by my Mac.

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

weiying-robotic commented 2 years ago

I also confirm that issue keep occurring on Monterey 12.3 with Logitech G305

ghtjason commented 2 years ago

Another confirmation here on Monterey 12.3.1 with a Glorious Model O Wireless.

Felipe-9 commented 2 years ago

Here's other confirmation here. MacOS - Monterey 12.4 Mouse - Mouse Aura 2400DPI Preto GT Gamer

billgan1024 commented 2 years ago

This also happens with the normal trackpad and the Razer viper mini mouse

gnorton-missioncloud commented 2 years ago

Confirmation MacOS - Monterey 12.4 Mouse - Kensigton Expert -> Tripp-lite KVM -> ASIX Electronics mouse.

Mouse works as expected when direct plugged but when the feed is through the KVM with a different device name the movement get disrupted when enabled in Karabiner.

dodecaphonix commented 1 year ago

Confirmation MacOS - Monterey 12.6 Mouse - Razer Naga Pro

Until this bug is fixed, I've found a hack that may be useful for some. I used to use USB Overdrive and recently switched to Karabiner for a feature that only Karabiner could give me. While I was setting up Karabiner, I was running both simultaneously. When I turned USB Overdrive off, I started seeing this bug. When I turned USB Overdrive back on, it went away. At this point, I'm doing all of my remapping with Karabiner and have USB Overdrive with an empty profile for my mouse running along side just to mask this bug.

mattgates commented 1 year ago

Confirmation MacOS - 13.0.1 Mouse - Razor DeathAdder Elite

This bug makes the software completely unusable as even on the lowest sensitivity the mouse moves out of control.

rgomezcasas commented 1 year ago

Confirmation MacOS - 13.0.1 Mouse - MX Master 3s

jsilva234 commented 1 year ago

Still an issue #3132

JulianWielga commented 1 year ago

same here. macos 13.0.1 (22A400) ke 14.10.5 logitech g603 bluetooth and lightspeed

Kurxxy commented 1 year ago

Confirmation MacOS - Monterey 12.6 Mouse - Razer Naga Pro

Until this bug is fixed, I've found a hack that may be useful for some. I used to use USB Overdrive and recently switched to Karabiner for a feature that only Karabiner could give me. While I was setting up Karabiner, I was running both simultaneously. When I turned USB Overdrive off, I started seeing this bug. When I turned USB Overdrive back on, it went away. At this point, I'm doing all of my remapping with Karabiner and have USB Overdrive with an empty profile for my mouse running along side just to mask this bug.

Can you go to into detail about this hack of yours and how you did it?

Kurxxy commented 1 year ago

Confirmation MacOS - Monterey 12.6 Mouse - Razer Naga Pro Until this bug is fixed, I've found a hack that may be useful for some. I used to use USB Overdrive and recently switched to Karabiner for a feature that only Karabiner could give me. While I was setting up Karabiner, I was running both simultaneously. When I turned USB Overdrive off, I started seeing this bug. When I turned USB Overdrive back on, it went away. At this point, I'm doing all of my remapping with Karabiner and have USB Overdrive with an empty profile for my mouse running along side just to mask this bug.

Can you go to into detail about this hack of yours and how you did it?

Well I think I've found it out, Here's the explanation step by step (I might be explaining it wrong) First download USB Overdrive when's that downloaded open it up its finna ask register now or register later (if you wanna support the creator and have the money to do so I will say register now) click register later then keep it open then your finna go Karabiner and then go to devices your gonna want to scroll down and then turn on Modify events,Manipulate Cap, Treat as a built and then for the mouse just turn on Modify events for your physical mouse turn off modify events go and then just do what you would do to the physical mouse to the virtual one and you should be good

Skyxim commented 1 year ago

Is there any progress or temporary solution now?

zandwacht commented 1 year ago

I have the same issue with 14.12.0 on a Logitech M585: when I move the pointer quickly, direction is reservers. I can only move the cursor slowly.

ADSWT518 commented 9 months ago

Is there any progress or temporary solution now?

This problem occurs when I use Bluetooth connection, but it disappears when I change to 2.4GHz wireless connection.

I'm using Razer Basilisk X HyperSpeed on MacOS 13.6.1, and the version of Karabiner is 14.12.0.

josh-kahn-okcupid commented 7 months ago

Confirmed with Karabiner 14.13.0 and a Logitech Ergo M575 on Bluetooth, MacOS 14.2.1

Felipe-9 commented 7 months ago

Confirmed with:

TheOneTheyCall-Tim commented 6 months ago

It is going on four years now, and I have yet to see any fixes.... While I am super happy with Karabiner, I am very disappointed in this lack of response to this issue.

To be honest, Karabiner has been a lifesaver.

I do a lot of AutoCAD drafting in my line of work. I work exclusively on a MacBook Pro. I bought a Razer Naga Epic specifically as a productivity booster. Using Synapse, I had the 12 thumb buttons programmed for all kinds of short cuts and macros to drastically improve my efficiency in drafting up plans.

Like the rest of you, I was both heartbroken and pi$$ed when Razer dropped all Mac support. The Naga shows up in Karabiner as both a keyboard device and as a mouse device. I have the keyboard part activated, and I have been able to redo my thumb buttons even more efficiently than the setup I had with Synapse. I'm loving that aspect of Karabiner! I can do quite a lot of what I need to do without moving my left hand from the home position on the keyboard or my right hand from the mouse. It's great! However, the mouse movement is too slow. Ie, I have to move the mouse too far on my desk to achieve the desired movement on the screen. I have the sensitivity maxed out in the macOS settings already.

I don't see any capability within Karabiner to set the mouse sensitivity/polling rate. Am I missing something?

I resisted Karabiner for a long time, because I had no familiarity with JSON before, and it seemed too complicated for something I wasn't even sure it could do what I needed. I tried a lot of other utilities looking for a simpler solution. I came up with nothing remotely useful. So I came back home to Karabiner and taught myself enough JSON to get the thumb pad working great.

So I guess this boils down to a couple of questions: 1.) What is going on with the lagginess in some cases, reversed motion in other cases? Is the developer planning on addressing this at some point? It's been a known problem for a long time now.

2.) Does anyone know of another utility I can use to adjust the mouse sensitivity that plays well with Karabiner? Now that I have my thumb buttons back, I am not about to give them up again.

TYIA, The One They Call... Tim