Monorepo for Aesthetic.Computer aesthetic.computer
4
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix: stop double-reading trackpad under Wayland (evdev + wl_pointer)

Under cage, libinput grabs keyboard/mouse/touchpad and delivers them
via wl_pointer_motion (absolute coords). The evdev fallback was ALSO
reading the same devices and applying relative deltas on top, causing
progressive cursor drift that worsened over time.

Skip evdev polling entirely under Wayland — only read NuPhy hidraw.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

+4 -5
+4 -5
fedac/native/src/input.c
··· 471 471 } 472 472 } 473 473 474 - // If we have evdev devices (no udev fallback), poll them too 475 - if (input->count > 0) 476 - goto poll_evdev; 477 - 478 - // Otherwise just poll NuPhy hidraw 474 + // Under Wayland, cage grabs keyboard/mouse/touchpad via libinput. 475 + // Do NOT also read those devices via evdev — double input causes 476 + // progressive cursor drift (Wayland sets absolute pos, evdev adds 477 + // relative deltas on top). Only poll NuPhy hidraw for analog keys. 479 478 goto poll_hidraw; 480 479 } 481 480 #endif