1

My issue is KiCad related however it applies to other programs as well.

In KiCad under the schematics editor if you right click, move the mouse and then left-click the cursor will be placed back where you first right-clicked.

mouse location changes

According to some answers (see launchpad below) this is not a bug it's a feature, so the developers are reluctant to make it an optional feature. There is a similar feature concerning warping the mouse when zooming in, which is optional.

My question is therefore if it is possible to block certain programs from moving the mouse cursor? i.e.

$ kicad --mousewarp=0

I have seen several requests for this on forums and as bug requests on launchpad: https://forum.kicad.info/t/mouse-jumping-feature-removal/7077 https://bugs.launchpad.net/kicad/+bug/816739

Also a video on the issue at youtube: https://www.youtube.com/watch?v=VtpipzDhyBY

An interesting observation is that if you select OpenGL in the pcb editor, the mouse does not warp, but there is no such alternative in the schematic editor.

Heneer
  • 313
  • 6
  • 17

1 Answers1

1

Short answer: No.

The application sets the mouse cursor based on its needs. While this is annoying in the case you mention, it can be useful in others.

Long answer: Yes, but you may need to create your own input driver and ignore the XWarpPointer() calls.

Seth
  • 2,683
  • 18
  • 18