Need help MMM-touch MMM-pages MMM-page indicator
-
Hello lovely people~
So making a magic mirror with 32 inch IR Frame for touch screen.
Outside the magic mirror browser, the touch screen responds very well.Successfully created MMM-pages and MMM-page-indicator also.
Just have no idea how to get the IR frame to be able to click into the page-indicator and change pages.
Tried to use MMM-touch and wrote some config as follows.
Still, no luck. Are you able to help me with this?
[15:07] Hayune Lee{ module: "MMM-Touch", position: "top_right", config:{ gestureCommands: { "MMM-pages": { "SWIPE_RIGHT": (commander) => { commander.sendNotification("PAGE_INCREMENT")} ,"SWIPE_LEFT": (commander) => { commander.sendNotification("PAGE_DECREMENT")} } }}},
Edward Shen, the creator of MMM-pages and MMM-page-indicator has said it is so easy to send notifications but not for me hhaah.
-
@crown edited for clarity. when pasting in config, use the code block
select the pasted text and push </> button above the editor
-
@crown what else is top_right? that is where u have to do the swipe
-
@sdetweil Hello~
Thanks for such a swift reply!!
I did not even know top-right is the place I need to swipe.
I wanted to click into the page-indicator dots -
This post is deleted! -
@crown
You can swipe anywhere not only top-right.
Just avoid refreshing DOM or another mouse/pointer event assigned. I recommend using an empty area to avoid misleading gestures.