共5条
1/1 1 跳转至页
模拟机是否支持VM_PEN_EVENT_LONG_TAP消息

请做尝试。这个Msg是用在触摸笔长按键的msg。可以参考hello world 里面的call back function:
void handle_penevt(VMINT event, VMINT x, VMINT y)
{
/* touch and return*/
if( layer_hdl[0] != -1 )
{
vm_graphic_delete_layer(layer_hdl[0]);
layer_hdl[0] = -1;
}
if(event == VM_PEN_EVENT_LONG_TAP)
vm_exit_app();
// vm_exit_app();
}
共5条
1/1 1 跳转至页