/srv/irclogs.ubuntu.com/2012/11/30/#ubuntu-touch.txt

=== dandrader is now known as dandrader|afk
=== dandrader|afk is now known as dandrader
=== gustavold is now known as gustavold_afk
=== dandrader is now known as dandrader|lunch
=== dandrader|lunch is now known as dandrader
=== dandrader is now known as dandrader|afk
=== dandrader|afk is now known as dandrader
ppdhi, anyone here? How do I check multitouch capabilities of my screen in ubuntu? I remember having multitouch to some extent but in Quantal and Raring there is nothing beyond more or less unusable two finger gestures19:54
dandraderppd, you can try xinput test-xi2 <device>20:05
ppddandrader, wow thanks! Max number of touches reports as 5 for the touchscreen. So I guess somehow multitouch should somehow work. At least for this resize handles thingie.20:09
ppdwhat am I supposed to be able to do in this window that openend up? draw something with my fingers? If so, then this doesn't work... :(20:10
dandraderyes, it should20:10
dandraderppd, not, it's just there to capture events and print them on the terminal20:10
ppddandrader, interestingly I get a list with "valuators" when I touch the screen with more than two fingers. However all are "0.00" except the first two20:12
dandraderppd,  that's not a problem. the first two are probably x and y coordinates of the touch point20:18
dandraderand the rest are likely auxiliary information such as size of touch area, pressure20:18
ppddandrader, I figured when I moved around a little on the screen :))20:19
ppdthe question now is, where is the black hole that sucks the multitouch information20:19
ppdI once used a program called mtview in an older version on ubuntu to visualize the fingers recognized. Seems not in the repos unfortunately20:20
dandraderwell, unity catches gestures with 3 and 4 touches. so applications will never see them20:20
dandraderapplications will only receive 2-finger gestures20:20
ppdah I see. Okay, that sounds sensible. I even found a list of supposed-to-work gestures in unity. However none of them work and I'm trying to find out why20:22
ppdbtw. I really appreciate that you're trying to feed some info to a multitouch noob20:24
dandraderyw20:29
ppddandrader, do you have an idea how to proceed? I assume the info on this page is correct:https://wiki.ubuntu.com/Multitouch So there should be quite some gestures available to me. However nothing works. So in my naive mind I assume the unity multitouch framework (grail?) doesn't receive the touch events/data. How would I start debugging that?20:31
dandraderhmm, that won't be so simple.20:34
dandraderone way is to run compiz manually from a terminal so that you can check grail output. like that:20:34
dandraderGRAIL_DEBUG=-1 compiz --replace ccp20:34
dandraderthat from a virtual terminal20:34
dandraderbut debugging compiz or xserver from your own machine is a pain20:35
dandraderit's more sane to do that via ssh20:35
ppdwell that would be no problem20:36
ppdthe thing is, I'm pretty much clueless, so I would need some serious guidance and such20:36
dandraderok, good. another way would be to kill compiz (so that unity doesn't capture all 3 and 4 finger gestures) and run a simple grail or geis test application to check the gesture events20:37
dandradergeis tools ships a python app for that. it's called "geis view" if I'm not mistaken20:37
ppdok. so I start a let's say lxde session or so and run the geisview program from there20:37
dandraderanother thing is checking the output of xinput test-xi2 <device>. perform a multitouch gesture and see how many touch points are generated20:39
dandraderthe "detail: 123" parameter tells the touch id20:39
ppdthis should work from inside unity for more than 3 touches, correct?20:39
dandraderI think so20:39
dandraderso you should get a different stream of touch events  (different detail param) for each touch20:40
ppddetail seems to just increase by 1 for every time I start touching the screen20:40
dandraderlet's say you move 3 fingers along the screen. you should get 3 new detail numbers20:41
dandraderbecause new 3 touch points were detected and reported20:41
ppdokay. one finger is detail: 0, if I touch with more I get details numbers >60 which do not really correspond to the amount of fingers I use20:43
ppdhowever the number increases with every "gesture"20:43
ppdI do receive events if I move up to 5 fingers on the screen, the sixth does not generate any events. So 5 finger support seems to be correct20:44
ppdinteresting. The number always increases by two, no matter how many fingers I touch with20:50
ppdseems it recognizes only two at a time20:50
dandraderok. gotta go. good luck with your debugging !20:52

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!