Closed nek-v closed 11 years ago
I don't actually have a touch screen, so I've relied on contributions to document how to do "touch screen support". http://webconverger.org/touch_screen_calibration/
"Grab&Drag" looks interesting. It would be good if you could try document how you use it.
What is the hardware that you use exactly?
Touch Monitor GeneralTouch DTL193 rotated 90 °
Webconverger launched with options xrandr-all=--rotate%20left chrome=webcfullscreen
The distribution is integrated xinput-calibrator repository of Ubuntu.
The configuration screen:
~/Debian-Live-config/webconverger/chroot/usr/share/X11/xorg.conf.d# cat 99-calibration.conf
Section "InputClass"
Identifier "calibration"
MatchProduct "USB Touchscreen 0dfc:0001"
Option "Calibration" "775 2112 605 2262"
Option "SwapAxes" "1"
EndSection
Would be interesting if you took a photo or better a video of the interaction. :)
I should think how to offer an xorg API.
Photo running a terminal?
A photo of the setup, not a terminal.
I'm sorry, I do not really do not understand. Would you like to see the process of building and installing distribution or operating a screenshot of the terminal?
Building & installing would be interesting, though I was thinking more of a photograph/video of the machine in use. It's not important.
The important thing is to ensure Webconverger is a good base for supporting touch screen hardware and the tweaks it needs to support touch screen interaction with Web pages. So it would be great to some patches and experience of your work to help others.
Hi @nek-v, how did you set the defaults upon the extension?
I commented out the call to these dialogs in the file chroot/opt/firefox/extensions/{477c4c36-24eb-11da-94d4-00e08161165f}/chrome/grabanddrag/content/grabanddrag/grabanddrag.js
function gadShowOptions(intro) {
if (intro) {
// window.openDialog("chrome://grabanddrag/content/gadIntro.xul", "gadIntro", "chrome=yes,dialog=yes,resizable=yes");
} else {
// window.openDialog("chrome://grabanddrag/content/gadPrefs.xul", "gadPrefs", "chrome=yes,dialog=yes,resizable=yes");
}
}
So without the dialog, the defaults are OK?
In my case, yes.
Could you please take a look at: https://github.com/Webconverger/webc/commit/9d8b326ebca9dc80316e468855b594c5490b12f8
Which is activated by the API 'grabdrag'. I just tested it and it seems fine. Do you think it's alright to merge to master? I.e. you will find it useful and other people using touch screens @nek-v ? :-)
Hi @nek-v, do you think this is useful? I won't commit to master until at least one person might use this feature. :)
Sorry, I am unable to test this feature at this time. Access to the platform on which it will be possible to test the new features will get until early next week.
Hey there, do you have any time in the near future to test this please @nek-v ? :-) Many thanks,
Hi! This is very useful feature. Waiting in master version.
On the my kiosk all working.
Hi @SergeevN, so you've tested my commit IIUC?
HI. Yes I'm tested this, and all working fine. Grabdrag with touchscreen is what was missing in Webconverger.
Thank you for verifying this, I will work on merging it shortly. :)
Sorry for the horrible English. Why not build in function Grab and Drag in the distribution Webconverger? I adapted Webconverger for a terminal with touch screen, using the addon of Grab and Drag. Really miss this functionality.