littlekernel / lk

LK embedded kernel

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Touchscreen

luka177 opened this issue · comments

As more and more embedded systems are getting bigger displays with touchscreens may be it is time to support them? Any plans on that? Or suggestions on touchscreen api design?

This is critical, especially when a hardware button is not functioning.

This is interesting, unfortunately there's no real standard on touchscreens. What might be interesting is to build a generic infrastructure for a given driver to plug into such that generic code can get touchscreen events. There's a bit of a chicken and egg problem there, however. Without a driver or a device to test on there's little to work with, but then the driver would need the touchscreen infrastructure to work.

Usually what happens in these cases is some specific device comes along that someone wants to add support for, and then the drivers get written using some sort of semi generic interface, and then over time that becomes somewhat of a defacto interface and/or gets re-designed when the second driver comes along.