For development, I am trying to simulate a mouse click on emWIn Windows simulation.
It works fine on the embedded device, but will make it much easier for development if I can simulate on my pC.
I tried this, but it does not work.
Code
int xpos_ = 0,ypos_ = 0;
int GUI_TOUCH_X_MeasureX(void) {
return xpos_;
}
int GUI_TOUCH_X_MeasureY(void) {
return ypos_;
}
void doMouseCmd()
{
xpos_ = getXpos();
ypos_ = getYpos();
printf("Processing Mouse cmmd x= %d y = %d\n\n\n",xpos_,ypos_);
GUI_TOUCH_Exec(); // get x
GUI_TOUCH_Exec(); // get y
}
Display More
Any idea how to accomplish this?
Thanks.