Post #1015086
2026-04-02 01:46 UTC
@whot libei question - I have some confusion -- If somehow libei gives me a physical pointer device, and those devices take motion coordinates in mm, how am I to determine the region size if a physical device doesn't have region information (per docs on ei_device_get_region) ? And is the mm unit relative to the physical device itself (the touchpad size, etc) or is it relative to the display/output ? Do I not need to worry about physical devices?
Replies (1)
-
@whot@floss.social 2026-04-02 02:34
@whack You can ignore physical devices for now, they are not really wide-spread. Primary intended use-case for those was (eventually) tablets. The main thing though: physical devices don't have regions, they have a size (unless purely relative) so you can map to that size. Virtual devices have regions since they may apply to various parts of a (changing) desktop.