achowe@tiger.waterloo.edu (CrackerJack) (04/25/89)
I want to receive both mouse buttons using evnt_multi(). The Atari Doc say that for evnt_button() that the parm for the mouse buttons you're waiting for is a bit mask with the left button as 0x0001 and the right as 0x0002. Also they say that the button state (up/down) also uses the same bit positions so that: breturn = evnt_button( 1, 0x3, 0x3, &mx, &my, &buttons, &kstate ); says to me wait for one click of either left or right mouse buttons. Now evnt_multi() says it uses the definition from evnt_button(). YET...Atari Canada Newletter V1 #3 (yes they did once exist and everytime I call Julius at Atari Canada he says he's preparing the next release, the next newsletter will most likely be a book :) on the last page mentions Right Mouse Button Handling and that I'm suppose to tweek vex_butv() to setup my own handler for button changes. ...sigh... Well how do I get both mouse buttons? - Ant achowe@tiger.waterloo.edu | "Murdered by pirates is good." __ _ | - The Princess Bride (movie) / _ _ _ |/ _ _ | _ _ |/ | \__| `<_\<_ |\|= | ` \_/<_\<_ |\ | disclaimer...