Read the statement by Michael Teeuw here.
Touchscreen Family Dashboard
-
Man I thought I was the only person on the internet who wanted a family dashboard that was interactive (ie to enter events on Google calendar -not just view them!). I’ve got the RPI and touch screen (Hannspree 23") sorted but with no real knowledge of coding or magic mirror modules was at a loss. I will be looking through your posts/git in more detail then I next get time! Thanks!
-
I was having issues with the calendar swipe feature not working. The keypress would work fine though. Looks like the new version of Electron has removed touchevents and changed to pointerdown and pointerup.
I forked the original and made the changes: https://github.com/B3DTech/MMM-KeyPress
I’m looking at cleaning up code in the add event module to remove some of the hard-coded customizations in the original. They are very much customized to the original creator with family names and icons hard coded. For the most part, that isn’t needed in a general framework for just adding events.
I am also looking at merging the code into the latest version of MMM-CalendarExt3 since it’s so far behind now.
It’s a slow work in progress. If anyone else has some time and wants to help out let me know.
-
@mdiorio electron still will provide touch events provided the underlying screen service does…
did you change OS levels since it last appeared to work?
they have changed the window manager twice in the last year.
Original was X11
last year introduced Wayland
this Oct introduced Labwc -
@sdetweil said in Touchscreen Family Dashboard:
did you change OS levels since it last appeared to work?
First time I’m using it is this week, so it would appear I’m using labwc.
All I know is that the old KeyPress module wasn’t working and doing a console debug in electron was showing no touchevents being sent, only pointer events.
-
@mdiorio you can change back to x11 using the raspi-config app
-
@sdetweil Why would I change back when my code works with the current version. General concept MM should be don’t require a crap ton of customization just to make it work. Making users who may want to use this switch to a different windowing system doesn’t really make sense. Especially since I’m sure RPi will eventually remove X11.
-
@mdiorio because it is new and not working in many cases yet
if you want it to work now, your only choice is to move back
you said your code does not work, touch doesnt