How to make a module for touchscreen??
I will be using a touchscreen lcd display, and I wish to make touch interactive modules,
@yours.mukul look at the ones already made.
But basically you add an onclick event on text/graphics/divs to make them react to a touch (same thing as a click with the mouse, as the input is the same)
@yours.mukul look inside the touch news module for an example
I couldn’t see onclick anywhere in the touch news, can you please explain me how it uses touch??
P.S. I’m sorry if I sound too stupid.
I’m making one with touch gestures (multiple tapping, multiple touches, multi-finger swiping, multi-finger press holding…)
It could give an interface with human to modules like my other commander modules(Assistant, TelegramBot)
I hope I could release a few weeks later.
title.addEventListener("click", () => showdesc(this)); //Show description on click
elementname.addEventListener(“click”, () => function(data));
@Sean can’t wait…