Anno domini 2024 Wed, 14 Aug 16:10:23 +0000
bonkmaykr via tde-users scripsit:
Nope, it is a desktop. The specific USB mouse I have
is a Steelseries Rival 3.
Is this wrapper public?
I think I posted it in the kicad github unter "issues" aome months ago. If you
like you can try it. Just cope these lines to your console:
cd /tmp
gcc -shared -o libwarppointerpatch.so -x c - << xxx
#include <stdio.h>
void $(strings $(which kicad)|grep WarpPointer)(void *_this, int x, int y) {
printf("WarpPointer(%d,%d);\n",x,y);
}
xxx
... and then call the binary you want XWarpPointer to be intercepted like so (e.g.:
kicad):
LD_PRELOAD=`pwd`/libwarppointerpatch.so kicad
Nik
--
Please do not email me anything that you are not comfortable also sharing with the NSA,
CIA ...