shbatm / MMM-Carousel

Displays a single magic mirror module at a time, rotating through the list of configured modules in a carousel-like fashion.
MIT License
42 stars 14 forks source link

[FEATURE REQUEST] Way to use this with a touchscreen? #26

Closed StarrKiss closed 2 years ago

StarrKiss commented 4 years ago

So, I am running Magic Mirror2 on a raspberry pi with a 7 inch touchscreen. As far as I can see, there is no way to swap pages in slide mode with the touchscreen. Is there any way to do this?

chrisparker787 commented 4 years ago

I would like this as well!

shbatm commented 4 years ago

Make sure you have showPageControls: true in the module config and then you should have two "hidden" arrow buttons on the lower left/right corners to navigate. If using a mouse these will appear when you hover over them (you can force them to always show if you add some custom css to your custom.css file).

MarvellousMili commented 4 years ago

Can I just slide the page like on the phones?

lhoggatt commented 3 years ago

Make sure you have showPageControls: true in the module config and then you should have two "hidden" arrow buttons on the lower left/right corners to navigate. If using a mouse these will appear when you hover over them (you can force them to always show if you add some custom css to your custom.css file).

What would that custom CSS be? I'd like the buttons to show all the time on my touchscreen.

shbatm commented 2 years ago

What would that custom CSS be? I'd like the buttons to show all the time on my touchscreen.

.control label {
  opacity: 0.5;
}