Hello,
i have a touch screen and everything works very well with emwin. Now i want to give an acoustical feedback for the user, so he knows, when he hit a button, changed a page on a multipage, opened a dropdown... So everytime the user hit something wich causes a reaction, i want to have an acoustical signal.
First thought was to write the beepFunction() (which causes the acoustical signal) in every callback function of my dialogues. But then, i would have to write it too often.
Second thought was to write it in the callback functions of the widgets. But my emwin version is precompiled.
Third thought was to use the function WM_ForEachDesc() in the main loop. But i didn't find out how to use it to find out, if there was an WM_NOTIFICATION_RELEASED in any window (or something like that).
Is there a way to find out, if the user hit something which causes an reaction?
i have a touch screen and everything works very well with emwin. Now i want to give an acoustical feedback for the user, so he knows, when he hit a button, changed a page on a multipage, opened a dropdown... So everytime the user hit something wich causes a reaction, i want to have an acoustical signal.
First thought was to write the beepFunction() (which causes the acoustical signal) in every callback function of my dialogues. But then, i would have to write it too often.
Second thought was to write it in the callback functions of the widgets. But my emwin version is precompiled.
Third thought was to use the function WM_ForEachDesc() in the main loop. But i didn't find out how to use it to find out, if there was an WM_NOTIFICATION_RELEASED in any window (or something like that).
Is there a way to find out, if the user hit something which causes an reaction?