I'm messing about with a patch using the mousestate object and I am trying to figure out the best way to do this. What I want to do is be able to basically split the screen in 2, so when my mouse scrolls left and right past the halfway mark, it sends a bang. This bang will be sent to a gswitch2 so that when the mouse is in the left half of the screen the left outlet is being used and when it is on the right, it is the opposite. I have tried using 'select' with the values out of mousestate, but the values don't update fast enough if i run my mouse across the screen at a fast pace only when i do it gently. I have the metro object set to 1 connected to mousestate so it is updating at 1 ms but this is not fast enough.
So basically what I am asking is, if anybody knows the best way to get '1' bang when the mouse moves left and '1' bang when mouse moves right of the half way mark. Preferably when the mouse is moved at fast and slow speeds.
Thanks for your help :)