The current implementations of the GUI applications within the 'Examples' folder are all set-up to use
as touch input device. If you have attached a keyboard or mouse to your Raspberry Pi, then it could be that the touch controller is assigned to a different id. You can found out the names and other attributes of the attached input devices by executing
on your shell. Then please adapt the adequate device within the TouchEventThread() of your main.c.
In my RP3 board, the touch input is assigned to event2.
So, I changed one line as below and it works well!
touchDev = open( "/dev/input/event2", O_RDONLY );
Thank you very much for your prompt answer.
Ask Embedded Wizard
Welcome to the question and answer site for Embedded Wizard users and UI developers.
Ask your question and receive answers from the Embedded Wizard support team or from other members of the community!