Open dos1 opened 5 years ago
Ostensibly mouse emulation API is unstable, and outright removal might not be unreasonable. Have you found a good use for it?
I've enabled touch support in some of my older games by using it - however, it wouldn't be hard to actually do it properly, so I'm not very attached to it.
Right now each touch driver has its own copy of
generate_touch_input_event
function and the whole mouse emulation machinery.Most of this code is pretty much copy'n'pasted in a few places. It should be moved somewhere up the hierarchy and used by Allegro somewhere outside the code of the actual drivers.