Read the statement by Michael Teeuw here.
MMM-Touch
-
I need to upgrade the c code to at least catch two hands :-)
-
@dvbit intersting trial. this module can capture only one touch point also. I think u might need to emit “touch” events instead of “mouse” events.( but common onclick and onrelease event will be compatible)
-
@Sean Uhm .If I understand your touch plugin intercepts “tap” events in the OS.
If that is the case I have to find a way to simulate those in my C program.
Currently the program uses the X11 simulation functions to emit fake clicks and movement events
Is this the case?
It is really a pity that all kinect libraries of projects such as openni are really old as it is hard to find documentation. harder updated documentation.
Ideally the kinect would have a “Tuio” driver for X server so mecoming for all intent and purposes a multi touch device.
I have tried to revive that too before this was developed.
I will give it a new try. -
@dvbit
i used default touch events of browser.(IE and Safari doesn’t support but we are commonly use electron-chromium)
https://developer.mozilla.org/en-US/docs/Web/API/Touch_eventsI don’t know anything about kinnect library, so i don’t know whether your code can emit specific event. anyway if possible, it can be used together.
-
@Sean Ok. I think that then if it intercepts browser touch events it will be really possible.
Right now I am trying to compile tuiokinect :-)
That would add full multitouch air gestures… so would be really fantastic with your plugin ;-) -
@Sean Hi, I’d like to get this module working with a HyperPixel4 touchscreen. Unfortunately I obtain an error when changing modes that stops the module from working. Is this the correct place to post to obtain help?
Also, I have a degree in applied maths. Perhaps I can help with the rotation maths?
Many thanks. -
@undeterred
What kind of error did you meet? Post a issue on github repository with more detailed information. I’ll inspect. -
@Sean Thank you for sharing this great module.
I am not very good at programming, but playing around a little helped me understand.
However I am wondering if it is possible to create more buttons?
Is there a way to modify the code (if necessary just quick and dirty) or do you think I can run multiple instances at the same time?And one more question: is it possible to change the displayed name to an icon?
Thanks a lot.
Mr.Coffee -
I have just seen that Sean is not on duty anymore.
Anyway it seems like now I got it how the module works.
Great stuff. Thanks for sharing.But I still got two questions.
- If I enter some code in the section “onNotification” and restart the mirror, nothing happens. The monitor stays black. Not even an error in the config is mentioned. I tried the example code and even code written on my own. Both the same.
Do you have any idea what the reason might be? is it a bug or my fault? - I unterstood that I just define the mode and it is not important where to touch on the display as long it is my defined gesture.
What I would love to do, is have a floorplan on my mirror with my smart home connected. For example I would have 5 icons of bulbs, which should be turned on by pressing the icon.
Is it possible to modify the module in such a way? If I am right, it is not possible right now, because a gesture like pressing can only be used once.
Thanks a lot.
- If I enter some code in the section “onNotification” and restart the mirror, nothing happens. The monitor stays black. Not even an error in the config is mentioned. I tried the example code and even code written on my own. Both the same.
-
@MrCoffee Yes, Sean stepped away from MM for personal reasons a few months back. No one has taken over active support for this module. (he had like 70 modules)