Re: [AD] pressure support

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


On 2010-02-20, Evert Glebbeek <eglebbk@xxxxxxxxxx> wrote:
> On 20 Feb 2010, at 18:32 , Peter Wang wrote:
> > You should update event emitting code for other ports as well.
> > What should pressure-insensitive devices report?
> 
> Unfortunately I have no idea how they'd work (that's probably the easy part to figure out) and no means of testing them. Should be marked as something that would need to be done.
> At least on OS X, a normal mouse reports "1" if the button is down, "0" if it isn't. Makes sense to me.

I meant that the event-emitting code should initialise the "pressure"
fields on all ports.  Right now they would just be filled with random
garbage.  I didn't know whether to set them to 0 or 1.

Peter




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