[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [pygame] Windows python2.4 pygame test binary installer. Please test!



On Thu, Feb 10, 2005 at 06:38:45PM +0100, Matthias Baas wrote:
> 
> It seems it's not just 0-based vs 1-based, but the order is different as 
> well. Above you wrote left-right-middle whereas pygame has 
> left-middle-right.
> 

But left-right-middle is correct and consistent with the rest of the 
world other than pygame.

left-middle-right is incorrect, not because it is illogical-- it is 
MORE logical, but it is contrary to the way the mouse buttons are 
actually numbered. This numbering system comes from the history of mouse 
evolution, from one-button mice, to two button mice, to three button 
mice. It also matters that 3 for the middle button is the binary AND of 
1 and 2, since an application might need to treat left button AND right 
button as middle button for the benefit of poor lost souls who only have 
ancient two button mouses... er, mices. mice.

---
Bob the Hamster
~he who uses a five-button mouse on a Macintosh~