• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
MagicMirror Forum
  • Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.

Want to show full-screen images and switch to MM on keypress

Scheduled Pinned Locked Moved General Discussion
7 Posts 4 Posters 425 Views 4 Watching
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • U Offline
    UncleRoger @sdetweil
    last edited by Oct 21, 2023, 4:02 PM

    @sdetweil Thanks again! That gives me what I need to move further.

    It looks like I need a module to display the images (I know I’ve seen some modules that do that) and one to handle the keypress that can send a notification to the image module (and the image module needs to be able to process the notification.)

    Or, I’ve seen modules that (I think) can change the layout dynamically, perhaps that could work too.

    Thanks!

    S 1 Reply Last reply Oct 21, 2023, 4:05 PM Reply Quote 0
    • S Offline
      sdetweil @UncleRoger
      last edited by Oct 21, 2023, 4:05 PM

      @UncleRoger said in Want to show full-screen images and switch to MM on keypress:

      and one to handle the keypress

      well, the ‘problem’ is that the browser will direct the keystroke to the topmost element with the handler… that will be the image module…

      SO, the IMAGE module will have to handle the keystroke, as it is ON TOP of all the others…
      and generally mm doesn’t have any keystroke handling code, as its design is as an output info panel .
      (and u will have to enable keystroke and mouse in the css, disabled by default)

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      U 1 Reply Last reply Oct 22, 2023, 1:19 AM Reply Quote 0
      • U Offline
        UncleRoger @sdetweil
        last edited by Oct 22, 2023, 1:19 AM

        @sdetweil

        Oh dear. Looks like I’ve got my work cut out for me. 8^) I think I’ll see if I can dig up another RPi to use for testing so I don’t muck up the “production” one. 8^)

        Thanks for your help!

        1 Reply Last reply Reply Quote 0
        • T Offline
          tjat @UncleRoger
          last edited by Oct 22, 2023, 3:34 AM

          @UncleRoger

          I built a screensaver module that leverages a google photo module. That module passes a photo to the screensaver and causes it to bounce around a darkened screen. When activated, it’s the top most module and it switches back to hidden when a key is pressed.

          https://github.com/tjat84/MMM-ScreenSaver

          1 Reply Last reply Reply Quote 0
          • M Offline
            MajorC Project Sponsor
            last edited by Oct 22, 2023, 3:39 PM

            There is a module that works with pages. You can have one page fullscreen the picture and on the other the information.

            But I did not try that out.

            1 Reply Last reply Reply Quote 0
            • 1 / 1
            1 / 1
            • First post
              7/7
              Last post
            Enjoying MagicMirror? Please consider a donation!
            MagicMirror created by Michael Teeuw.
            Forum managed by Sam, technical setup by Karsten.
            This forum is using NodeBB as its core | Contributors
            Contact | Privacy Policy