apratt@atari.UUcp (Allan Pratt) (09/30/86)
The fact is, the you can wait for the right mouse button just as well as the left. What you can't do is wait for "EITHER the right OR the left button." If you study the semantics of the evnt_button call, you will see why. What you CAN do is substitute your own button handler, using the well-defined GEM interface (rather than mucking with hardware interrupts). See the VDI call "Exchange button change vector" and Appendix E, "Processor-Specific Data." Once you get the hang of that, your control of the mouse buttons can get as fine as you like! Imagine: long-click vs. short-click, Left followed by right as different from right followed by left... The possibilities are endless! :-) /----------------------------------------------\ | Opinions expressed above do not necessarily | -- Allan Pratt, Atari Corp. | reflect those of Atari Corp. or anyone else. | ...lll-lcc!atari!apratt \----------------------------------------------/ "A man hears what he wants to hear, and disregards the rest."