Re: [AD] Manipulating 'emulate_three' flag

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


> This would do:
> 	int set_emulate_three(int)
> Setting new value and returning the previous one.
> What do you think ?

well sooner or later i'll have to learn well the way
allegro works and the way it doesn't.

so i had a look at mouse.c and i thought
"it can't be so simple, but i'll try"

and i made a *very* simple set_emulate_three function.

i know it will not work but i also suspect that the real
solution isn't so different...

so i'd like somebody to tell me how should i have done it

ah i've created the diff using
diff -u orig_file new_file>output_file
is this correct?


"All the computers wait at the same speed"

_.-:/°^^°\:-._.-:/°^^°\:-._          __.         ____
 - Lo'oRiS il Kabukimono -          / /|       /^___ \
Real Name: Lorenzo Petrone         / / /      / /L_/ /
e-mail: _lano_@xxxxxxxxxx          / / /      /  ___-°/
irc.azzurra.net #lano            / /_/__    /  /|__-°
digilander.iol.it/lano666       /______/|  /__/ /
^°\:-.__.-:/°^°\:-.__.-:/°^     |______|/  |__L/


Attachment: mouse.diff
Description: Binary data



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