michaelforney / swc

a library for making a simple Wayland compositor
MIT License
616 stars 52 forks source link

swc doesn't see touchpad devices #5

Closed n3rdopolis closed 10 years ago

n3rdopolis commented 10 years ago

swc sees mouse input from normal mice, but not laptop touchpads. I think touchpad devices report themselves in udev as ID_INPUT_TOUCHPAD, and not ID_INPUT_MOUSE

paulhandy commented 10 years ago

would it be useful to bootstrap libinput over to this project? Right now it uses evdev which is similar to one option that weston uses. Otherwise, I dont't see why we coundn't patch the evdev-touchpad from the weston project to swc.

michaelforney commented 10 years ago

libinput is an interesting project, but since it has a hard dependency on libudev, I have chosen to avoid it for now.

However, basic touchpad support shouldn't be too difficult to implement, and is on the TODO list.

paulhandy commented 10 years ago

would you welcome help? i,e. if i get this one working on my own, would you accept a pull request?