I have an Iiyama PCAP Multi Touch Monitor on which I want to listen for the mousemove (touchmove) event. But this event is never triggered on this monitor. Is there a chance to get the following working, or any other idea for what I must listen on such devices?
$(this).on("mousemove", function () {
hasMoved = true;
lastMove = (new Date()).getTime();
if (isidle) {
onactive.call(this);
isidle = false;
}
});
You tried the touche-events?
$(this).on("touchmove", function () {
hasMoved = true;
lastMove = (new Date()).getTime();
if (isidle) {
onactive.call(this);
isidle = false;
}
});
More touch-events here: touch events
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.