Comment 137 for bug 1810183

Revision history for this message
Pilot6 (hanipouspilot) wrote :

@mohamed-badaoui

A real solution will be to get keyboard events directly from the touchpad. Your script interprets clicks as keyboard events depending on an area. These touchpads declare themselves as keyboards to i2c, that means that most likely they can send the events.

This would be a perfect solution, because each device should know its areas, available keys, etc.

The only thing to develop will be to a add detection to the kernel code, and sending commands to enable it.

If this is not possible, then I can't see an easy clean solution. We will need to have a user space driver, that will do the same as the python script, but it will depend on each piece of hardware. And also there should be different drivers for xorg and wyland. That looks too complex to me and will never get into the distro.