Veldrovive / MMM-Page-Selector

An easy way to set up and move between pages on a MagicMirror²
MIT License
35 stars 6 forks source link

No response from keyboard #42

Open ReD1470 opened 2 years ago

ReD1470 commented 2 years ago

Hi there,

I would love to use the module, but I have trouble getting it to work. As far as i see, it should respond to the page-up key to change page, right? Mine does, not. Is another module required, link mmm-keybindings? In the future i would like to use a single button press to change page, but for now pageup would help out I've kept the config simple for testing. it displays page main and second based on the autochange, but not when using the keyboard

modules: [

{ module: "MMM-Page-Selector", position: "top_center", config: { defaultPage: "main", displayTitle: true, selectPageNotif: ["SELECT_PAGE"], incrementPageNotif: ["PAGE_UP"], decrementPageNotif: ["PAGE_DOWN"], persistentPages: true, autoChange: { interval: 100 } } },

    {module: "clock",
            "pages": {
            "main": "top_left"
            },
        position: "top_left"
    },

    {module: "calendar",
            "pages": {
            "second": "top_left"
            },
        header: "US Holidays",
        position: "top_left",
        config: {
            calendars: [
                {
                    symbol: "calendar-check-o ",
                    url: "webcal://www.calendarlabs.com/templates/ical/US-Holidays.ics"
                }
            ]
        }
    },

]

};