Re: [AD] Possible mouse user-end improvement

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


On 2004-05-03, Eric Botcazou <ebotcazou@xxxxxxxxxx> wrote:
> > While writing some wheelmouse code I noticed that Allegro could be
> > making some simple mousewheel button emulations which are quite common.
> 
> How would this interact with supplementary buttons?  IIRC a patch was posted 
> some time ago that would have added a 4th real button on Windows.

We can use bits 30 and 31, unless there are mouse devices with 30
buttons.

> > The proposed patch is quite big because it includes the genexamp.py
> > output, which caught a few outdated bits of documentation. Also, I added
> > documentation for SCREEN_W, SCREEN_H, VIRTUAL_W and VIRTUAL_H. An
> > omission which I can't explain myself, as they are quite known
> > variables.
> 
> It would be nice to make separate patches here.

Mixing output from the python script was a mistake too.

> -   The basic approach is to select a 15 or 16-bit screen mode, but
> +   The basic approach is to select a 15 or 16 bit screen mode, but
> 
> Why did you remove the dashes?  It's a valid construct AFAIK.

It is output from the python script.

Attachment: screen.diff.gz
Description: application/gunzip

Attachment: mouse.diff.gz
Description: application/gunzip



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