How this icon move accomplished?

Hi all.
there are many kind of smart watches like the one below, I am wondering how to get the icon move when finger touch and drag it?
any clue and code please.

Thanks
Adam
sw

Your base. code should have primitive functions or callbacks for touch, hold and drag.

Using a combination of those, you act as needed.

If you’re not using any base touch OS, using millis and the touch pin status will get you started.

Dragging is a little more complex, you have to track any movement between the original, most recent, and current touch position.

1 Like

Consult the GUI API of your device.

For code visit the Jobs and Paid Consultancy forum section.

1 Like

Thnaks.
I'll test some thing.
the attached is a round lcd which icons can rotate when finger touch and move one of it.

watch

Thank you.
I'll dig it.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.