Mouse Tracking Question


    Apr 12 2010 | 4:50 am
    With the Max Tutorials, I see that the mouse tracking begins in the upper left hand corner of your screen.
    I was curious if anybody could share a patch with me or a method of causing this tracking to be centered in the middle of the screen. This way I would be able to have it reach a max of 127 (or -127) on each side of the screen.
    Thanks guys

    • Apr 12 2010 | 6:13 am
      It's easy - start with the normal mousetracking stuff, add a split object to the mousestate object's output to divide your screen into different areas, and then do some adding and subtracting.
    • Apr 12 2010 | 8:30 am
      [unpack 0 0] | [scale 0 1280 -127. 127.] [scale 0 1024 -127. 127.] | / [pack 0 0]
    • Apr 12 2010 | 9:51 am
      simples: