Added Touchscreen & Touchpad Capabilities#13
Added Touchscreen & Touchpad Capabilities#13calebcoverdale wants to merge 5 commits intowwt:masterfrom
Conversation
|
I tried to use some of the code inside this PR for one of my projects and I've noticed that both "guacamole-touchscreen" and "guacamole-touchpad" didn't fulfill all the requirements to fully use touch capabilities (at least the more used ones).
If you like I can share my code. |
|
That would be incredible! This felt like ages ago. It was definitely one of my first stabs at programming. |
I am working on a similar project and am seeing some issues with implementing the touchpad. Can I take a look at your code if possible? Thanks ! |
Hello!
I added 2 files to the libs folder:
GuacTouchpad.js
GuacTouchscreen.js
These come right from the guacamole documentation here.
On line 230 I added in the touchpad reference:
And also line 252:
As per ApacheGuacamole's documentation Guacamole.Touchpad/Touchscreen are just additions to the Guacamole.mouse state.
For future reference - if anyone wants touchscreen (note - no multitouch here.... no easy scrolling.... problems with accuracy) just do a find replace for "touchpad" with "touchscreen" - should work you.
Thank you so much for the work you put into the project so far, it's so fast!