Combined Keyboard+Mouse+Touchpad device problems
Submitted by Gergely Nagy
Assigned to Peter Hutterer
Created attachment 129847 evemu-describe output of the device
Apologies for the title, I'm not sure how best to summarize the problem I'm experiencing. Long story short, I'm contributing to a keyboard firmware, that will power a number of keyboards (I can provide links to the firmware, and the Arduino libraries used, if need be), and it has the ability to present itself as a combined keyboard + mouse + touchpad device. The first two are behaving correctly, but the touchpad functionality, absolute positioning in particular, does not. At least on Linux (Debian testing, under X11) - I was told that OSX can handle it fine (I do not have access to OSX, so can't compare myself, sadly).
What happens is, that if I press the key that is supposed to move the cursor towards the lower left corner, it ends up in the top right one instead.
To make things clearer, I attached the output of evemu-describe, and will add an evemu-record attachment too.
I'm opening this bug primarily to ask where I should be looking, to debug the issue further? What does libinput expect from the device, to be able to position the cursor properly? Which properties am I reporting incorrectly, or missing alltogether?
I actually have very little knowledge of the hardware, or USB in general - I just happen to be the first one to give it the firmware and the device some testing under Linux, it seems. Any pointers would be most appreciated, and I'm happy to provide you with any information you may need.
Thanks in advance!
Attachment 129847, "evemu-describe output of the device":