I would like to write a C-programm for raspbian. The programm should simulate touch-events (touchstart, touchmove, touchend).
I have already a program that simulates mouse-events.
There is no touch-controller or mouse connected to the raspi.
I have two options:
- Can the system (raspbian) convert the mouse-events to touch-events? So i doesn't have to modify the programm.
- Is it easier to modify the C-programm? At the moment I have no idea what commands should I use for touch-events.
Perhaps you have a third option or a comment for option one or two.
Many thanks for help