Is there any C++ code that you know of that can determine if an embedded system supports (linux OS) multi-touch? I remember seeing some code for Qt 4. I want to write a quick C++ QML plugin.

I want to design an interface that will support both single-touch and multi-touch using QML - Qt5, but I will need to know if multi-touch is available.

Thanks