That's weird, the code should be detecting the dimensions of your touchpad automatically. I'm not too sure on what you mean by clipping to the top left, did you try using the -width and -height parameters? (If you don't explicitly provide them, they are calculated from your screen resolution when you start AbsoluteTouch)abraker wrote:
Currently it clips to the top left of the touchpad, is it possible to make it so the offset can be changed with the -x and -y arguments? For example, 0.5 would set it to the middle of the touchpad
Also the cursor shakes a lot if you keep it in one spot. I am guess rounding errors? If not, consider implementing cursor stabilization.
As for the shaking, I believe it's due to the high resolution of the touchpad (for example, mine has a resolution of about 6000x3000 "units"), though it shouldn't be more than a few pixels, unless you have some kind of ultra-HD screen. The problem with "stabilization" algorithms is that they would cause input lag, which IMO is not worth the trade-off if you're using it in osu!