Feeding Mouse State Data From Mira

    Jan 05 2015 | 4:04 am
    Hi There,
    Forgive the novice nature of my inquisitions. I am fairly new to max and am trying to update an inherited patch with a new mira interface.
    Basically this patch controls some video based on a mousestate object's horizontal and vertical position data. I am wondering if it is possible to feed similar x and Y data from a mira window on an ipad? Right now the patch is built to function within the confines of a small area (see blue square in patch), and I would like to keep the mira area the same. The patch is included. Any help would be much appreciated.
    Thanks! mx

    • Jan 05 2015 | 8:47 pm
      Surely in Mira you have the [mira.multitouch] object. You can use that one to get x/y data. You can use a [regexp] object to parse out the coordinates. If you want to restrict the output, you can use a [clip] object. The [mira.multitouch] object permits you to go beyond its boundaries, so [clip] might be useful. Have fun!