liballeg / allegro5

The official Allegro 5 git repository. Pull requests welcome!
https://liballeg.org
Other
1.78k stars 279 forks source link

Touch Screens won't work under DGA 2.0 #36

Closed allebot closed 8 years ago

allebot commented 23 years ago

Originally reported by: dhedin

Original Ticket: "alleg/bugs/15":https://sourceforge.net/p/alleg/bugs/15

OS - Mandrake 7.1 Latest allegro from CVS

I have both Microtouch and ELO graphic touchscreens working OK on the KDE desktop. When I run exmouse in GFX_DGA2 and use the mouse it's OK also. The touchscreens will not work.

I have modified xdga2.c to incorportate the "some DGA servers are buggy" as found in the old DGA1 code.

This improves the situation, however coords are way off and it seems to be running in relative mode with y axis inversed.

This may be an issue in DGA2 itself. Presently looking for non-allegro DGA app to isolated problem.

Dean Hedin dhedin@meritind.com

allebot commented 22 years ago

Original comment by: nobody

Logged In: NO

Update - This is a problem with DGA. Xfree86 only suports relative mouse events. You must modify Xfree sources (specifically the DGA event handling) to "pass through" mouse events without converting them to relative coordinates. Some modification to allegro mouse handling is also required (for the DGA case)