xblax / flashforge_ad5m_klipper_mod

Unoffical mod for Flashforge Adventurer 5M (Pro) 3D printers to run Moonraker, custom Klipper, Mainsail & Fluidd
GNU General Public License v3.0
143 stars 15 forks source link

klipperscreen: alignment of the touch detection is a bit misaligned. #46

Closed consp closed 6 months ago

consp commented 6 months ago

Since we cannot yet properly calibrated (due to how tslib is not interacting with xorg properly) we should investigate this further.

It's not unusable but I've notice a tiny bit of drift between installs, could also be my fatty fingers but the result is the same (left part of screen is less easy to touch).

known issues:

If someone wants to help, please do the following:

consp commented 6 months ago

If it's possible to compile uinput tslib would possibly work which would provide a filtered input for evdev to use. This might fix the slight offset problem.

consp commented 6 months ago

evdev + ts_uinput + uinput gives resonable results. If I can get that running I'm calling this ok.

If you ever unload uinput about 4-5 times the kernel will segv on the sunxi ts driver. This has nothing to do with tslib or uinput.

consp commented 6 months ago

Got it working, works a bit better (no paralax anymore), tomorrow I'm going to figure out how to properly get the right event since camera's mess with it.

consp commented 6 months ago

fixed in 2f113da