Re: [AD] submission: linux touchscreen driver for allegro

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


Ok, I've tried it out on a local branch here: https://github.com/SiegeLord/allegro5/tree/linux_touch

I made a whole bunch of refactoring to it (mostly moved most of the logic inside xtouch.c in case XInput2 is too hard a dependency to require).

I also made one big change. When you masked the events for the touch input, you specified a single device. This was problematic as ALLEGRO_DISPLAYs created before `al_install_touch_input` was called would never receive those events. So, I made the mask take all touch input devices. I don't know how well that works though, since I don't have a device to test this with...

Could you check that branch out and see if it still works for you?

Thanks,

-SL

On 09/14/2014 01:26 PM, Phelius wrote:
Attached is the updated allegro touchscreen support for linux with
corrections applied.
Thanks so SiegeLord for his feedback.
Cheers,
Pho75



------------------------------------------------------------------------------
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk








Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/