Wacom tablet: calculating stroke angle (vector) in degrees …

May 7, 2010 at 7:16am

Wacom tablet: calculating stroke angle (vector) in degrees …

Hi,

I am trying to get the acceleration strength and the stroke angle (vector) of the wacom tablet pen. How do I calculate that? Do I use atan, or something else in max? See patch below:

{
“boxes” : [ {
"box" : {
"maxclass" : "comment",
"text" : "< -------------- Please double click this sub-patch to see my question ...",
"id" : "obj-42",
"fontname" : "Arial",
"frgb" : [ 1.0, 1.0, 1.0, 1.0 ],
“numinlets” : 1,
“patching_rect” : [ 204.0, 157.0, 482.0, 23.0 ],
“fontsize” : 14.0,
“numoutlets” : 0,
“textcolor” : [ 1.0, 1.0, 1.0, 1.0 ]
}

}
, {
“box” : {
“maxclass” : “comment”,
“text” : “< -- 1) press poll to see data, 2) de-activate pen as mouse, 3) click to see pressure data",
“id” : “obj-9″,
“presentation_rect” : [ 170.0, 45.0, 0.0, 0.0 ],
“fontname” : “Arial”,
“numinlets” : 1,
“patching_rect” : [ 170.0, 45.0, 442.0, 19.0 ],
“fontsize” : 11.0,
“numoutlets” : 0
}

}
, {
“box” : {
“maxclass” : “comment”,
“text” : “analyze wacom data”,
“id” : “obj-7″,
“presentation_rect” : [ 131.0, 180.0, 0.0, 0.0 ],
“fontname” : “Arial”,
“numinlets” : 1,
“patching_rect” : [ 132.0, 132.0, 143.0, 23.0 ],
“fontsize” : 14.0,
“numoutlets” : 0
}

}
, {
“box” : {
“maxclass” : “toggle”,
“id” : “obj-24″,
“numinlets” : 1,
“patching_rect” : [ 87.0, 43.0, 26.0, 26.0 ],
“numoutlets” : 1,
“outlettype” : [ "int" ]
}

}
, {
“box” : {
“maxclass” : “flonum”,
“id” : “obj-22″,
“fontname” : “Arial”,
“numinlets” : 1,
“patching_rect” : [ 116.0, 46.0, 50.0, 19.0 ],
“fontsize” : 11.0,
“numoutlets” : 2,
“outlettype” : [ "float", "bang" ]
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “r data-p1″,
“hidden” : 1,
“id” : “obj-78″,
“fontname” : “Arial”,
“numinlets” : 0,
“patching_rect” : [ 116.0, 20.0, 55.0, 19.0 ],
“fontsize” : 11.0,
“numoutlets” : 1,
“outlettype” : [ "" ]
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “s see-data-p1″,
“hidden” : 1,
“id” : “obj-65″,
“fontname” : “Arial”,
“numinlets” : 1,
“patching_rect” : [ 185.0, 88.0, 78.0, 19.0 ],
“fontsize” : 11.0,
“numoutlets” : 0
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “p computer”,
“id” : “obj-21″,
“fontname” : “Arial”,
“numinlets” : 0,
“patching_rect” : [ 133.0, 160.0, 66.0, 19.0 ],
“fontsize” : 11.0,
“numoutlets” : 0,
“color” : [ 0.0, 0.0, 0.0, 1.0 ],
“patcher” : {
“fileversion” : 1,
“rect” : [ 154.0, 262.0, 784.0, 398.0 ],
“bglocked” : 0,
“defrect” : [ 154.0, 262.0, 784.0, 398.0 ],
“openrect” : [ 0.0, 0.0, 0.0, 0.0 ],
“openinpresentation” : 0,
“default_fontsize” : 11.0,
“default_fontface” : 0,
“default_fontname” : “Arial”,
“gridonopen” : 0,
“gridsize” : [ 15.0, 15.0 ],
“gridsnaponopen” : 0,
“toolbarvisible” : 1,
“boxanimatetime” : 200,
“imprint” : 0,
“boxes” : [ {
"box" : {
"maxclass" : "comment",
"text" : "Question: How do I calculate acceleration angle and acceleration strength?",
"id" : "obj-42",
"fontname" : "Arial",
"frgb" : [ 0.0, 0.14902, 1.0, 1.0 ],
“numinlets” : 1,
“patching_rect” : [ 201.0, 188.0, 482.0, 23.0 ],
“fontsize” : 14.0,
“numoutlets” : 0,
“textcolor” : [ 0.0, 0.14902, 1.0, 1.0 ]
}

}
, {
“box” : {
“maxclass” : “comment”,
“text” : “acceleration in 4 different directions”,
“id” : “obj-41″,
“presentation_rect” : [ 251.0, 216.0, 0.0, 0.0 ],
“fontname” : “Arial”,
“numinlets” : 1,
“patching_rect” : [ 251.0, 216.0, 223.0, 19.0 ],
“fontsize” : 11.0,
“numoutlets” : 0
}

}
, {
“box” : {
“maxclass” : “comment”,
“text” : “if the pen is pressed, get acceleration data”,
“id” : “obj-40″,
“fontname” : “Arial”,
“numinlets” : 1,
“patching_rect” : [ 97.0, 92.0, 223.0, 19.0 ],
“fontsize” : 11.0,
“numoutlets” : 0
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “r p1-button”,
“id” : “obj-36″,
“fontname” : “Arial”,
“numinlets” : 0,
“patching_rect” : [ 323.0, 30.0, 64.0, 19.0 ],
“fontsize” : 11.0,
“numoutlets” : 1,
“outlettype” : [ "" ]
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “r p1-ytilt”,
“id” : “obj-79″,
“fontname” : “Arial”,
“numinlets” : 0,
“patching_rect” : [ 272.0, 30.0, 50.0, 19.0 ],
“fontsize” : 11.0,
“numoutlets” : 1,
“outlettype” : [ "" ]
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “r p1-xtilt”,
“id” : “obj-80″,
“fontname” : “Arial”,
“numinlets” : 0,
“patching_rect” : [ 221.0, 30.0, 50.0, 19.0 ],
“fontsize” : 11.0,
“numoutlets” : 1,
“outlettype” : [ "" ]
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “+ 1″,
“id” : “obj-32″,
“fontname” : “Arial”,
“numinlets” : 2,
“patching_rect” : [ 156.0, 268.0, 32.5, 19.0 ],
“fontsize” : 11.0,
“numoutlets” : 1,
“outlettype” : [ "int" ]
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “+ 1″,
“id” : “obj-31″,
“fontname” : “Arial”,
“numinlets” : 2,
“patching_rect” : [ 113.0, 268.0, 32.5, 19.0 ],
“fontsize” : 11.0,
“numoutlets” : 1,
“outlettype” : [ "int" ]
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “+ 1″,
“id” : “obj-30″,
“fontname” : “Arial”,
“numinlets” : 2,
“patching_rect” : [ 71.0, 269.0, 32.5, 19.0 ],
“fontsize” : 11.0,
“numoutlets” : 1,
“outlettype” : [ "int" ]
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “+ 1″,
“id” : “obj-29″,
“fontname” : “Arial”,
“numinlets” : 2,
“patching_rect” : [ 28.0, 269.0, 32.5, 19.0 ],
“fontsize” : 11.0,
“numoutlets” : 1,
“outlettype” : [ "int" ]
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “p acc”,
“id” : “obj-28″,
“fontname” : “Arial”,
“numinlets” : 1,
“patching_rect” : [ 79.0, 159.0, 37.0, 19.0 ],
“fontsize” : 11.0,
“numoutlets” : 2,
“outlettype” : [ "int", "int" ],
“patcher” : {
“fileversion” : 1,
“rect” : [ 25.0, 69.0, 215.0, 268.0 ],
“bglocked” : 0,
“defrect” : [ 25.0, 69.0, 215.0, 268.0 ],
“openrect” : [ 0.0, 0.0, 0.0, 0.0 ],
“openinpresentation” : 0,
“default_fontsize” : 11.0,
“default_fontface” : 0,
“default_fontname” : “Arial”,
“gridonopen” : 0,
“gridsize” : [ 15.0, 15.0 ],
“gridsnaponopen” : 0,
“toolbarvisible” : 1,
“boxanimatetime” : 200,
“imprint” : 0,
“boxes” : [ {
"box" : {
"maxclass" : "newobj",
"text" : "split -500 0",
"id" : "obj-14",
"fontname" : "Arial",
"numinlets" : 3,
"patching_rect" : [ 9.0, 149.0, 64.0, 19.0 ],
“fontsize” : 11.0,
“numoutlets” : 2,
“outlettype” : [ "int", "int" ]
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “split 0 500″,
“id” : “obj-13″,
“fontname” : “Arial”,
“numinlets” : 3,
“patching_rect” : [ 77.0, 149.0, 61.0, 19.0 ],
“fontsize” : 11.0,
“numoutlets” : 2,
“outlettype” : [ "int", "int" ]
}

}
, {
“box” : {
“maxclass” : “outlet”,
“id” : “obj-3″,
“numinlets” : 1,
“patching_rect” : [ 64.0, 190.0, 25.0, 25.0 ],
“numoutlets” : 0,
“comment” : “”
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “t i b”,
“id” : “obj-103″,
“fontname” : “Arial”,
“numinlets” : 1,
“patching_rect” : [ 12.0, 49.0, 35.0, 21.0 ],
“fontsize” : 13.0,
“numoutlets” : 2,
“outlettype” : [ "int", "bang" ]
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “-”,
“id” : “obj-106″,
“fontname” : “Arial”,
“numinlets” : 2,
“patching_rect” : [ 12.0, 116.0, 47.0, 21.0 ],
“fontsize” : 13.0,
“numoutlets” : 1,
“outlettype” : [ "int" ]
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “int”,
“id” : “obj-124″,
“fontname” : “Arial”,
“numinlets” : 2,
“patching_rect” : [ 29.0, 83.0, 33.0, 21.0 ],
“fontsize” : 13.0,
“numoutlets” : 1,
“outlettype” : [ "int" ]
}

}
, {
“box” : {
“maxclass” : “outlet”,
“id” : “obj-2″,
“numinlets” : 1,
“patching_rect” : [ 12.0, 188.0, 25.0, 25.0 ],
“numoutlets” : 0,
“comment” : “”
}

}
, {
“box” : {
“maxclass” : “inlet”,
“id” : “obj-1″,
“numinlets” : 0,
“patching_rect” : [ 12.0, 11.0, 25.0, 25.0 ],
“numoutlets” : 1,
“outlettype” : [ "float" ],
“comment” : “”
}

}
],
“lines” : [ {
"patchline" : {
"source" : [ "obj-103", 0 ],
“destination” : [ "obj-124", 1 ],
“hidden” : 0,
“midpoints” : [ 21.5, 74.0, 52.5, 74.0 ]
}

}
, {
“patchline” : {
“source” : [ "obj-124", 0 ],
“destination” : [ "obj-106", 1 ],
“hidden” : 0,
“midpoints” : [ 38.5, 108.0, 49.5, 108.0 ]
}

}
, {
“patchline” : {
“source” : [ "obj-103", 1 ],
“destination” : [ "obj-124", 0 ],
“hidden” : 0,
“midpoints” : [ ]
}

}
, {
“patchline” : {
“source” : [ "obj-103", 0 ],
“destination” : [ "obj-106", 0 ],
“hidden” : 0,
“midpoints” : [ ]
}

}
, {
“patchline” : {
“source” : [ "obj-1", 0 ],
“destination” : [ "obj-103", 0 ],
“hidden” : 0,
“midpoints” : [ ]
}

}
, {
“patchline” : {
“source” : [ "obj-106", 0 ],
“destination” : [ "obj-14", 0 ],
“hidden” : 0,
“midpoints” : [ ]
}

}
, {
“patchline” : {
“source” : [ "obj-106", 0 ],
“destination” : [ "obj-13", 0 ],
“hidden” : 0,
“midpoints” : [ ]
}

}
, {
“patchline” : {
“source” : [ "obj-13", 0 ],
“destination” : [ "obj-3", 0 ],
“hidden” : 0,
“midpoints” : [ ]
}

}
, {
“patchline” : {
“source” : [ "obj-14", 0 ],
“destination” : [ "obj-2", 0 ],
“hidden” : 0,
“midpoints” : [ ]
}

}
]
}
,
“saved_object_attributes” : {
“default_fontname” : “Arial”,
“default_fontsize” : 11.0,
“fontname” : “Arial”,
“globalpatchername” : “”,
“fontface” : 0,
“fontsize” : 11.0,
“default_fontface” : 0
}

}

}
, {
“box” : {
“maxclass” : “comment”,
“text” : “R”,
“id” : “obj-26″,
“fontname” : “Arial”,
“numinlets” : 1,
“patching_rect” : [ 87.0, 236.0, 24.0, 19.0 ],
“fontsize” : 11.0,
“numoutlets” : 0
}

}
, {
“box” : {
“maxclass” : “comment”,
“text” : “L”,
“id” : “obj-27″,
“fontname” : “Arial”,
“numinlets” : 1,
“patching_rect” : [ 30.0, 236.0, 24.0, 19.0 ],
“fontsize” : 11.0,
“numoutlets” : 0
}

}
, {
“box” : {
“maxclass” : “comment”,
“text” : “DN”,
“id” : “obj-25″,
“fontname” : “Arial”,
“numinlets” : 1,
“patching_rect” : [ 199.0, 235.0, 24.0, 19.0 ],
“fontsize” : 11.0,
“numoutlets” : 0
}

}
, {
“box” : {
“maxclass” : “comment”,
“text” : “UP”,
“id” : “obj-24″,
“fontname” : “Arial”,
“numinlets” : 1,
“patching_rect” : [ 142.0, 235.0, 24.0, 19.0 ],
“fontsize” : 11.0,
“numoutlets” : 0
}

}
, {
“box” : {
“maxclass” : “number”,
“id” : “obj-22″,
“fontname” : “Arial”,
“numinlets” : 1,
“patching_rect” : [ 198.0, 215.0, 50.0, 19.0 ],
“fontsize” : 11.0,
“numoutlets” : 2,
“outlettype” : [ "int", "bang" ]
}

}
, {
“box” : {
“maxclass” : “number”,
“id” : “obj-23″,
“fontname” : “Arial”,
“numinlets” : 1,
“patching_rect” : [ 141.0, 215.0, 50.0, 19.0 ],
“fontsize” : 11.0,
“numoutlets” : 2,
“outlettype” : [ "int", "bang" ]
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “abs”,
“id” : “obj-21″,
“fontname” : “Arial”,
“numinlets” : 1,
“patching_rect” : [ 79.0, 184.0, 28.0, 19.0 ],
“fontsize” : 11.0,
“numoutlets” : 1,
“outlettype” : [ "int" ]
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “p drawstyle-p1″,
“id” : “obj-20″,
“fontname” : “Arial”,
“numinlets” : 4,
“patching_rect” : [ 28.0, 294.0, 147.0, 19.0 ],
“fontsize” : 11.0,
“numoutlets” : 0,
“patcher” : {
“fileversion” : 1,
“rect” : [ 652.0, 269.0, 640.0, 480.0 ],
“bglocked” : 0,
“defrect” : [ 652.0, 269.0, 640.0, 480.0 ],
“openrect” : [ 0.0, 0.0, 0.0, 0.0 ],
“openinpresentation” : 0,
“default_fontsize” : 11.0,
“default_fontface” : 0,
“default_fontname” : “Arial”,
“gridonopen” : 0,
“gridsize” : [ 15.0, 15.0 ],
“gridsnaponopen” : 0,
“toolbarvisible” : 1,
“boxanimatetime” : 200,
“imprint” : 0,
“boxes” : [ {
"box" : {
"maxclass" : "number",
"id" : "obj-7",
"fontname" : "Arial",
"numinlets" : 1,
"patching_rect" : [ 27.0, 134.0, 50.0, 19.0 ],
“fontsize” : 11.0,
“numoutlets” : 2,
“outlettype” : [ "int", "bang" ]
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “pak 0 0 0 0″,
“id” : “obj-6″,
“fontname” : “Arial”,
“numinlets” : 4,
“patching_rect” : [ 27.0, 63.0, 65.0, 19.0 ],
“fontsize” : 11.0,
“numoutlets” : 1,
“outlettype” : [ "" ]
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “lpeak”,
“id” : “obj-5″,
“fontname” : “Arial”,
“numinlets” : 2,
“patching_rect” : [ 27.0, 100.0, 37.0, 19.0 ],
“fontsize” : 11.0,
“numoutlets” : 2,
“outlettype” : [ "", "" ]
}

}
, {
“box” : {
“maxclass” : “button”,
“id” : “obj-17″,
“numinlets” : 1,
“patching_rect” : [ 66.0, 401.0, 20.0, 20.0 ],
“numoutlets” : 1,
“outlettype” : [ "bang" ]
}

}
, {
“box” : {
“maxclass” : “number”,
“id” : “obj-16″,
“fontname” : “Arial”,
“numinlets” : 1,
“patching_rect” : [ 115.0, 420.0, 50.0, 19.0 ],
“fontsize” : 11.0,
“numoutlets” : 2,
“outlettype” : [ "int", "bang" ]
}

}
, {
“box” : {
“maxclass” : “message”,
“id” : “obj-14″,
“fontname” : “Arial”,
“numinlets” : 2,
“patching_rect” : [ 24.0, 431.0, 50.0, 17.0 ],
“fontsize” : 11.0,
“numoutlets” : 1,
“outlettype” : [ "" ]
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “loadmess 1″,
“id” : “obj-13″,
“fontname” : “Arial”,
“numinlets” : 1,
“patching_rect” : [ 115.0, 368.0, 67.0, 19.0 ],
“fontsize” : 11.0,
“numoutlets” : 1,
“outlettype” : [ "" ]
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “nth”,
“id” : “obj-12″,
“fontname” : “Arial”,
“numinlets” : 2,
“patching_rect” : [ 115.0, 396.0, 32.5, 19.0 ],
“fontsize” : 11.0,
“numoutlets” : 1,
“outlettype” : [ "" ]
}

}
, {
“box” : {
“maxclass” : “message”,
“text” : “4″,
“id” : “obj-11″,
“fontname” : “Arial”,
“numinlets” : 2,
“patching_rect” : [ 59.0, 369.0, 32.5, 17.0 ],
“fontsize” : 11.0,
“numoutlets” : 1,
“outlettype” : [ "" ]
}

}
, {
“box” : {
“maxclass” : “message”,
“text” : “1″,
“id” : “obj-10″,
“fontname” : “Arial”,
“numinlets” : 2,
“patching_rect” : [ 24.0, 369.0, 32.5, 17.0 ],
“fontsize” : 11.0,
“numoutlets” : 1,
“outlettype” : [ "" ]
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “sel 1 4″,
“id” : “obj-9″,
“fontname” : “Arial”,
“numinlets” : 1,
“patching_rect” : [ 24.0, 342.0, 46.0, 19.0 ],
“fontsize” : 11.0,
“numoutlets” : 3,
“outlettype” : [ "bang", "bang", "" ]
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “collect”,
“id” : “obj-8″,
“fontname” : “Arial”,
“numinlets” : 2,
“patching_rect” : [ 24.0, 403.0, 42.0, 19.0 ],
“fontsize” : 11.0,
“numoutlets” : 1,
“outlettype” : [ "" ]
}

}
, {
“box” : {
“maxclass” : “inlet”,
“id” : “obj-4″,
“numinlets” : 0,
“patching_rect” : [ 169.0, 17.0, 25.0, 25.0 ],
“numoutlets” : 1,
“outlettype” : [ "int" ],
“comment” : “”
}

}
, {
“box” : {
“maxclass” : “inlet”,
“id” : “obj-3″,
“numinlets” : 0,
“patching_rect” : [ 124.0, 17.0, 25.0, 25.0 ],
“numoutlets” : 1,
“outlettype” : [ "int" ],
“comment” : “”
}

}
, {
“box” : {
“maxclass” : “inlet”,
“id” : “obj-2″,
“numinlets” : 0,
“patching_rect” : [ 76.0, 17.0, 25.0, 25.0 ],
“numoutlets” : 1,
“outlettype” : [ "int" ],
“comment” : “”
}

}
, {
“box” : {
“maxclass” : “inlet”,
“id” : “obj-1″,
“numinlets” : 0,
“patching_rect” : [ 27.0, 17.0, 25.0, 25.0 ],
“numoutlets” : 1,
“outlettype” : [ "int" ],
“comment” : “”
}

}
],
“lines” : [ {
"patchline" : {
"source" : [ "obj-17", 0 ],
“destination” : [ "obj-14", 0 ],
“hidden” : 0,
“midpoints” : [ ]
}

}
, {
“patchline” : {
“source” : [ "obj-8", 0 ],
“destination” : [ "obj-17", 0 ],
“hidden” : 0,
“midpoints” : [ ]
}

}
, {
“patchline” : {
“source” : [ "obj-12", 0 ],
“destination” : [ "obj-16", 0 ],
“hidden” : 0,
“midpoints” : [ ]
}

}
, {
“patchline” : {
“source” : [ "obj-14", 0 ],
“destination” : [ "obj-12", 1 ],
“hidden” : 0,
“midpoints” : [ ]
}

}
, {
“patchline” : {
“source” : [ "obj-8", 0 ],
“destination” : [ "obj-14", 0 ],
“hidden” : 0,
“midpoints” : [ ]
}

}
, {
“patchline” : {
“source” : [ "obj-13", 0 ],
“destination” : [ "obj-12", 0 ],
“hidden” : 0,
“midpoints” : [ ]
}

}
, {
“patchline” : {
“source” : [ "obj-11", 0 ],
“destination” : [ "obj-8", 0 ],
“hidden” : 0,
“midpoints” : [ 68.5, 384.0 ]
}

}
, {
“patchline” : {
“source” : [ "obj-10", 0 ],
“destination” : [ "obj-8", 0 ],
“hidden” : 0,
“midpoints” : [ ]
}

}
, {
“patchline” : {
“source” : [ "obj-9", 1 ],
“destination” : [ "obj-11", 0 ],
“hidden” : 0,
“midpoints” : [ ]
}

}
, {
“patchline” : {
“source” : [ "obj-9", 0 ],
“destination” : [ "obj-10", 0 ],
“hidden” : 0,
“midpoints” : [ ]
}

}
, {
“patchline” : {
“source” : [ "obj-9", 2 ],
“destination” : [ "obj-8", 1 ],
“hidden” : 0,
“midpoints” : [ ]
}

}
, {
“patchline” : {
“source” : [ "obj-1", 0 ],
“destination” : [ "obj-6", 0 ],
“hidden” : 0,
“midpoints” : [ ]
}

}
, {
“patchline” : {
“source” : [ "obj-2", 0 ],
“destination” : [ "obj-6", 1 ],
“hidden” : 0,
“midpoints” : [ ]
}

}
, {
“patchline” : {
“source” : [ "obj-3", 0 ],
“destination” : [ "obj-6", 2 ],
“hidden” : 0,
“midpoints” : [ ]
}

}
, {
“patchline” : {
“source” : [ "obj-4", 0 ],
“destination” : [ "obj-6", 3 ],
“hidden” : 0,
“midpoints” : [ ]
}

}
, {
“patchline” : {
“source” : [ "obj-6", 0 ],
“destination” : [ "obj-5", 0 ],
“hidden” : 0,
“midpoints” : [ ]
}

}
, {
“patchline” : {
“source” : [ "obj-5", 0 ],
“destination” : [ "obj-7", 0 ],
“hidden” : 0,
“midpoints” : [ ]
}

}
]
}
,
“saved_object_attributes” : {
“default_fontname” : “Arial”,
“default_fontsize” : 11.0,
“fontname” : “Arial”,
“globalpatchername” : “”,
“fontface” : 0,
“fontsize” : 11.0,
“default_fontface” : 0
}

}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “abs”,
“id” : “obj-19″,
“fontname” : “Arial”,
“numinlets” : 1,
“patching_rect” : [ 28.0, 184.0, 28.0, 19.0 ],
“fontsize” : 11.0,
“numoutlets” : 1,
“outlettype” : [ "int" ]
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “> 0.”,
“id” : “obj-17″,
“fontname” : “Arial”,
“numinlets” : 2,
“patching_rect” : [ 142.0, 57.0, 32.5, 19.0 ],
“fontsize” : 11.0,
“numoutlets” : 1,
“outlettype” : [ "int" ]
}

}
, {
“box” : {
“maxclass” : “number”,
“id” : “obj-16″,
“fontname” : “Arial”,
“numinlets” : 1,
“patching_rect” : [ 85.0, 215.0, 50.0, 19.0 ],
“fontsize” : 11.0,
“numoutlets” : 2,
“outlettype” : [ "int", "bang" ]
}

}
, {
“box” : {
“maxclass” : “number”,
“id” : “obj-15″,
“fontname” : “Arial”,
“numinlets” : 1,
“patching_rect” : [ 28.0, 215.0, 50.0, 19.0 ],
“fontsize” : 11.0,
“numoutlets” : 2,
“outlettype” : [ "int", "bang" ]
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “p acc”,
“id” : “obj-10″,
“fontname” : “Arial”,
“numinlets” : 1,
“patching_rect” : [ 28.0, 159.0, 37.0, 19.0 ],
“fontsize” : 11.0,
“numoutlets” : 2,
“outlettype” : [ "int", "int" ],
“patcher” : {
“fileversion” : 1,
“rect” : [ 25.0, 69.0, 215.0, 268.0 ],
“bglocked” : 0,
“defrect” : [ 25.0, 69.0, 215.0, 268.0 ],
“openrect” : [ 0.0, 0.0, 0.0, 0.0 ],
“openinpresentation” : 0,
“default_fontsize” : 11.0,
“default_fontface” : 0,
“default_fontname” : “Arial”,
“gridonopen” : 0,
“gridsize” : [ 15.0, 15.0 ],
“gridsnaponopen” : 0,
“toolbarvisible” : 1,
“boxanimatetime” : 200,
“imprint” : 0,
“boxes” : [ {
"box" : {
"maxclass" : "newobj",
"text" : "split -500 0",
"id" : "obj-14",
"fontname" : "Arial",
"numinlets" : 3,
"patching_rect" : [ 9.0, 149.0, 64.0, 19.0 ],
“fontsize” : 11.0,
“numoutlets” : 2,
“outlettype” : [ "int", "int" ]
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “split 0 500″,
“id” : “obj-13″,
“fontname” : “Arial”,
“numinlets” : 3,
“patching_rect” : [ 77.0, 149.0, 61.0, 19.0 ],
“fontsize” : 11.0,
“numoutlets” : 2,
“outlettype” : [ "int", "int" ]
}

}
, {
“box” : {
“maxclass” : “outlet”,
“id” : “obj-3″,
“numinlets” : 1,
“patching_rect” : [ 64.0, 190.0, 25.0, 25.0 ],
“numoutlets” : 0,
“comment” : “”
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “t i b”,
“id” : “obj-103″,
“fontname” : “Arial”,
“numinlets” : 1,
“patching_rect” : [ 12.0, 49.0, 35.0, 21.0 ],
“fontsize” : 13.0,
“numoutlets” : 2,
“outlettype” : [ "int", "bang" ]
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “-”,
“id” : “obj-106″,
“fontname” : “Arial”,
“numinlets” : 2,
“patching_rect” : [ 12.0, 116.0, 47.0, 21.0 ],
“fontsize” : 13.0,
“numoutlets” : 1,
“outlettype” : [ "int" ]
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “int”,
“id” : “obj-124″,
“fontname” : “Arial”,
“numinlets” : 2,
“patching_rect” : [ 29.0, 83.0, 33.0, 21.0 ],
“fontsize” : 13.0,
“numoutlets” : 1,
“outlettype” : [ "int" ]
}

}
, {
“box” : {
“maxclass” : “outlet”,
“id” : “obj-2″,
“numinlets” : 1,
“patching_rect” : [ 12.0, 188.0, 25.0, 25.0 ],
“numoutlets” : 0,
“comment” : “”
}

}
, {
“box” : {
“maxclass” : “inlet”,
“id” : “obj-1″,
“numinlets” : 0,
“patching_rect” : [ 12.0, 11.0, 25.0, 25.0 ],
“numoutlets” : 1,
“outlettype” : [ "float" ],
“comment” : “”
}

}
],
“lines” : [ {
"patchline" : {
"source" : [ "obj-14", 0 ],
“destination” : [ "obj-2", 0 ],
“hidden” : 0,
“midpoints” : [ ]
}

}
, {
“patchline” : {
“source” : [ "obj-13", 0 ],
“destination” : [ "obj-3", 0 ],
“hidden” : 0,
“midpoints” : [ ]
}

}
, {
“patchline” : {
“source” : [ "obj-106", 0 ],
“destination” : [ "obj-13", 0 ],
“hidden” : 0,
“midpoints” : [ ]
}

}
, {
“patchline” : {
“source” : [ "obj-106", 0 ],
“destination” : [ "obj-14", 0 ],
“hidden” : 0,
“midpoints” : [ ]
}

}
, {
“patchline” : {
“source” : [ "obj-1", 0 ],
“destination” : [ "obj-103", 0 ],
“hidden” : 0,
“midpoints” : [ ]
}

}
, {
“patchline” : {
“source” : [ "obj-103", 0 ],
“destination” : [ "obj-106", 0 ],
“hidden” : 0,
“midpoints” : [ ]
}

}
, {
“patchline” : {
“source” : [ "obj-103", 1 ],
“destination” : [ "obj-124", 0 ],
“hidden” : 0,
“midpoints” : [ ]
}

}
, {
“patchline” : {
“source” : [ "obj-124", 0 ],
“destination” : [ "obj-106", 1 ],
“hidden” : 0,
“midpoints” : [ 38.5, 108.0, 49.5, 108.0 ]
}

}
, {
“patchline” : {
“source” : [ "obj-103", 0 ],
“destination” : [ "obj-124", 1 ],
“hidden” : 0,
“midpoints” : [ 21.5, 74.0, 52.5, 74.0 ]
}

}
]
}
,
“saved_object_attributes” : {
“default_fontname” : “Arial”,
“default_fontsize” : 11.0,
“fontname” : “Arial”,
“globalpatchername” : “”,
“fontface” : 0,
“fontsize” : 11.0,
“default_fontface” : 0
}

}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “* 10000.”,
“id” : “obj-9″,
“fontname” : “Arial”,
“numinlets” : 2,
“patching_rect” : [ 79.0, 134.0, 51.0, 19.0 ],
“fontsize” : 11.0,
“numoutlets” : 1,
“outlettype” : [ "float" ]
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “* 10000.”,
“id” : “obj-8″,
“fontname” : “Arial”,
“numinlets” : 2,
“patching_rect” : [ 28.0, 134.0, 51.0, 19.0 ],
“fontsize” : 11.0,
“numoutlets” : 1,
“outlettype” : [ "float" ]
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “gate”,
“id” : “obj-5″,
“fontname” : “Arial”,
“numinlets” : 2,
“patching_rect” : [ 62.0, 91.0, 32.5, 19.0 ],
“fontsize” : 11.0,
“numoutlets” : 1,
“outlettype” : [ "" ]
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “gate”,
“id” : “obj-4″,
“fontname” : “Arial”,
“numinlets” : 2,
“patching_rect” : [ 28.0, 91.0, 32.5, 19.0 ],
“fontsize” : 11.0,
“numoutlets” : 1,
“outlettype” : [ "" ]
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “r p1-ypos”,
“id” : “obj-91″,
“fontname” : “Arial”,
“numinlets” : 0,
“patching_rect” : [ 83.0, 30.0, 56.0, 19.0 ],
“fontsize” : 11.0,
“numoutlets” : 1,
“outlettype” : [ "" ]
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “r p1-xpos”,
“id” : “obj-92″,
“fontname” : “Arial”,
“numinlets” : 0,
“patching_rect” : [ 25.0, 30.0, 56.0, 19.0 ],
“fontsize” : 11.0,
“numoutlets” : 1,
“outlettype” : [ "" ]
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “r p1-pressure”,
“id” : “obj-81″,
“fontname” : “Arial”,
“numinlets” : 0,
“patching_rect” : [ 142.0, 30.0, 76.0, 19.0 ],
“fontsize” : 11.0,
“numoutlets” : 1,
“outlettype” : [ "" ]
}

}
],
“lines” : [ {
"patchline" : {
"source" : [ "obj-32", 0 ],
“destination” : [ "obj-20", 3 ],
“hidden” : 0,
“midpoints” : [ ]
}

}
, {
“patchline” : {
“source” : [ "obj-31", 0 ],
“destination” : [ "obj-20", 2 ],
“hidden” : 0,
“midpoints” : [ ]
}

}
, {
“patchline” : {
“source” : [ "obj-30", 0 ],
“destination” : [ "obj-20", 1 ],
“hidden” : 0,
“midpoints” : [ ]
}

}
, {
“patchline” : {
“source” : [ "obj-29", 0 ],
“destination” : [ "obj-20", 0 ],
“hidden” : 0,
“midpoints” : [ ]
}

}
, {
“patchline” : {
“source” : [ "obj-28", 0 ],
“destination” : [ "obj-32", 0 ],
“hidden” : 0,
“midpoints” : [ ]
}

}
, {
“patchline” : {
“source” : [ "obj-21", 0 ],
“destination” : [ "obj-31", 0 ],
“hidden” : 0,
“midpoints” : [ ]
}

}
, {
“patchline” : {
“source” : [ "obj-19", 0 ],
“destination” : [ "obj-29", 0 ],
“hidden” : 0,
“midpoints” : [ ]
}

}
, {
“patchline” : {
“source” : [ "obj-10", 1 ],
“destination” : [ "obj-30", 0 ],
“hidden” : 0,
“midpoints” : [ ]
}

}
, {
“patchline” : {
“source” : [ "obj-28", 1 ],
“destination” : [ "obj-22", 0 ],
“hidden” : 0,
“midpoints” : [ ]
}

}
, {
“patchline” : {
“source” : [ "obj-9", 0 ],
“destination” : [ "obj-28", 0 ],
“hidden” : 0,
“midpoints” : [ ]
}

}
, {
“patchline” : {
“source” : [ "obj-28", 0 ],
“destination” : [ "obj-21", 0 ],
“hidden” : 0,
“midpoints” : [ ]
}

}
, {
“patchline” : {
“source” : [ "obj-21", 0 ],
“destination” : [ "obj-23", 0 ],
“hidden” : 0,
“midpoints” : [ ]
}

}
, {
“patchline” : {
“source” : [ "obj-19", 0 ],
“destination” : [ "obj-15", 0 ],
“hidden” : 0,
“midpoints” : [ ]
}

}
, {
“patchline” : {
“source” : [ "obj-10", 0 ],
“destination” : [ "obj-19", 0 ],
“hidden” : 0,
“midpoints” : [ ]
}

}
, {
“patchline” : {
“source” : [ "obj-5", 0 ],
“destination” : [ "obj-9", 0 ],
“hidden” : 0,
“midpoints” : [ ]
}

}
, {
“patchline” : {
“source” : [ "obj-4", 0 ],
“destination” : [ "obj-8", 0 ],
“hidden” : 0,
“midpoints” : [ ]
}

}
, {
“patchline” : {
“source” : [ "obj-8", 0 ],
“destination” : [ "obj-10", 0 ],
“hidden” : 0,
“midpoints” : [ ]
}

}
, {
“patchline” : {
“source” : [ "obj-17", 0 ],
“destination” : [ "obj-4", 0 ],
“hidden” : 0,
“midpoints” : [ ]
}

}
, {
“patchline” : {
“source” : [ "obj-17", 0 ],
“destination” : [ "obj-5", 0 ],
“hidden” : 0,
“midpoints” : [ ]
}

}
, {
“patchline” : {
“source” : [ "obj-81", 0 ],
“destination” : [ "obj-17", 0 ],
“hidden” : 0,
“midpoints” : [ ]
}

}
, {
“patchline” : {
“source” : [ "obj-10", 1 ],
“destination” : [ "obj-16", 0 ],
“hidden” : 0,
“midpoints” : [ ]
}

}
, {
“patchline” : {
“source” : [ "obj-91", 0 ],
“destination” : [ "obj-5", 1 ],
“hidden” : 0,
“midpoints” : [ ]
}

}
, {
“patchline” : {
“source” : [ "obj-92", 0 ],
“destination” : [ "obj-4", 1 ],
“hidden” : 0,
“midpoints” : [ ]
}

}
]
}
,
“saved_object_attributes” : {
“default_fontname” : “Arial”,
“default_fontsize” : 11.0,
“fontname” : “Arial”,
“globalpatchername” : “”,
“fontface” : 0,
“fontsize” : 11.0,
“default_fontface” : 0
}

}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “bgcolor 0.25 0. 0.140625 1.”,
“hidden” : 1,
“id” : “obj-13″,
“fontname” : “Arial”,
“numinlets” : 4,
“patching_rect” : [ 461.0, 89.0, 157.0, 19.0 ],
“fontsize” : 11.0,
“numoutlets” : 0
}

}
, {
“box” : {
“maxclass” : “toggle”,
“id” : “obj-4″,
“numinlets” : 1,
“patching_rect” : [ 53.0, 43.0, 26.0, 26.0 ],
“checkedcolor” : [ 1.0, 1.0, 1.0, 1.0 ],
“numoutlets” : 1,
“bordercolor” : [ 1.0, 1.0, 1.0, 1.0 ],
“outlettype” : [ "int" ],
“bgcolor” : [ 0.0, 0.6, 0.031373, 1.0 ]
}

}
, {
“box” : {
“maxclass” : “message”,
“text” : “poll”,
“id” : “obj-2″,
“fontname” : “Arial”,
“numinlets” : 2,
“patching_rect” : [ 11.0, 45.0, 32.0, 21.0 ],
“fontsize” : 14.0,
“numoutlets” : 1,
“textcolor” : [ 1.0, 1.0, 1.0, 1.0 ],
“outlettype” : [ "" ],
“bgcolor” : [ 0.0, 0.67451, 0.270588, 1.0 ]
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “s pollGreen”,
“hidden” : 1,
“id” : “obj-68″,
“fontname” : “Arial”,
“numinlets” : 1,
“patching_rect” : [ 11.0, 89.0, 67.0, 19.0 ],
“fontsize” : 11.0,
“numoutlets” : 0
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “s no-pointerGreen”,
“hidden” : 1,
“id” : “obj-67″,
“fontname” : “Arial”,
“numinlets” : 1,
“patching_rect” : [ 81.0, 89.0, 99.0, 19.0 ],
“fontsize” : 11.0,
“numoutlets” : 0
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “p wacom-data”,
“id” : “obj-1″,
“fontname” : “Arial”,
“numinlets” : 0,
“patching_rect” : [ 9.0, 160.0, 80.0, 19.0 ],
“fontsize” : 11.0,
“numoutlets” : 0,
“color” : [ 0.368627, 0.368627, 0.368627, 1.0 ],
“patcher” : {
“fileversion” : 1,
“rect” : [ 89.0, 108.0, 576.0, 528.0 ],
“bglocked” : 0,
“defrect” : [ 89.0, 108.0, 576.0, 528.0 ],
“openrect” : [ 0.0, 0.0, 0.0, 0.0 ],
“openinpresentation” : 0,
“default_fontsize” : 11.0,
“default_fontface” : 0,
“default_fontname” : “Arial”,
“gridonopen” : 0,
“gridsize” : [ 15.0, 15.0 ],
“gridsnaponopen” : 0,
“toolbarvisible” : 1,
“boxanimatetime” : 200,
“imprint” : 0,
“boxes” : [ {
"box" : {
"maxclass" : "newobj",
"text" : "s p1-button",
"id" : "obj-104",
"fontname" : "Arial",
"numinlets" : 1,
"patching_rect" : [ 138.0, 274.0, 66.0, 19.0 ],
“fontsize” : 11.0,
“numoutlets” : 0
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “s p1-ypos”,
“id” : “obj-91″,
“fontname” : “Arial”,
“numinlets” : 1,
“patching_rect” : [ 125.0, 491.0, 58.0, 19.0 ],
“fontsize” : 11.0,
“numoutlets” : 0
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “s p1-xpos”,
“id” : “obj-92″,
“fontname” : “Arial”,
“numinlets” : 1,
“patching_rect” : [ 66.0, 491.0, 58.0, 19.0 ],
“fontsize” : 11.0,
“numoutlets” : 0
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “scale 0 19674 1. 0.”,
“id” : “obj-89″,
“fontname” : “Arial”,
“numinlets” : 6,
“patching_rect” : [ 125.0, 466.0, 103.0, 19.0 ],
“fontsize” : 11.0,
“numoutlets” : 1,
“outlettype” : [ "float" ]
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “scale 0 31486 0. 1.”,
“id” : “obj-90″,
“fontname” : “Arial”,
“numinlets” : 6,
“patching_rect” : [ 66.0, 442.0, 103.0, 19.0 ],
“fontsize” : 11.0,
“numoutlets” : 1,
“outlettype” : [ "float" ]
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “scale -30720 30720 -1. 1.”,
“id” : “obj-84″,
“fontname” : “Arial”,
“numinlets” : 6,
“patching_rect” : [ 126.0, 320.0, 135.0, 19.0 ],
“fontsize” : 11.0,
“numoutlets” : 1,
“outlettype” : [ "float" ]
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “scale -30720 30720 -1. 1.”,
“id” : “obj-83″,
“fontname” : “Arial”,
“numinlets” : 6,
“patching_rect” : [ 72.0, 295.0, 135.0, 19.0 ],
“fontsize” : 11.0,
“numoutlets” : 1,
“outlettype” : [ "float" ]
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “s p1-pressure”,
“id” : “obj-81″,
“fontname” : “Arial”,
“numinlets” : 1,
“patching_rect” : [ 19.0, 318.0, 78.0, 19.0 ],
“fontsize” : 11.0,
“numoutlets” : 0
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “s p1-ytilt”,
“id” : “obj-79″,
“fontname” : “Arial”,
“numinlets” : 1,
“patching_rect” : [ 126.0, 343.0, 51.0, 19.0 ],
“fontsize” : 11.0,
“numoutlets” : 0
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “s p1-xtilt”,
“id” : “obj-80″,
“fontname” : “Arial”,
“numinlets” : 1,
“patching_rect” : [ 72.0, 343.0, 51.0, 19.0 ],
“fontsize” : 11.0,
“numoutlets” : 0
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “s data-p1″,
“id” : “obj-78″,
“fontname” : “Arial”,
“numinlets” : 1,
“patching_rect” : [ 5.0, 415.0, 56.0, 19.0 ],
“fontsize” : 11.0,
“numoutlets” : 0
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “r see-data-p1″,
“id” : “obj-65″,
“fontname” : “Arial”,
“numinlets” : 0,
“patching_rect” : [ 5.0, 362.0, 76.0, 19.0 ],
“fontsize” : 11.0,
“numoutlets” : 1,
“outlettype” : [ "" ]
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “gate”,
“id” : “obj-63″,
“fontname” : “Arial”,
“numinlets” : 2,
“patching_rect” : [ 5.0, 388.0, 32.5, 19.0 ],
“fontsize” : 11.0,
“numoutlets” : 1,
“outlettype” : [ "" ]
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “r pollGreen”,
“id” : “obj-68″,
“fontname” : “Arial”,
“numinlets” : 0,
“patching_rect” : [ 101.0, 77.0, 65.0, 19.0 ],
“fontsize” : 11.0,
“numoutlets” : 1,
“outlettype” : [ "" ]
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “r no-pointerGreen”,
“id” : “obj-67″,
“fontname” : “Arial”,
“numinlets” : 0,
“patching_rect” : [ 176.0, 50.0, 97.0, 19.0 ],
“fontsize” : 11.0,
“numoutlets” : 1,
“outlettype” : [ "" ]
}

}
, {
“box” : {
“maxclass” : “comment”,
“text” : “scaled pressure”,
“id” : “obj-8″,
“fontname” : “Arial”,
“numinlets” : 1,
“patching_rect” : [ 135.0, 401.0, 82.0, 17.0 ],
“fontsize” : 9.0,
“numoutlets” : 0
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “/ 65535.”,
“id” : “obj-9″,
“fontname” : “Arial”,
“numinlets” : 2,
“patching_rect” : [ 19.0, 293.0, 52.0, 17.0 ],
“fontsize” : 9.0,
“numoutlets” : 1,
“outlettype” : [ "float" ]
}

}
, {
“box” : {
“maxclass” : “toggle”,
“id” : “obj-11″,
“numinlets” : 1,
“patching_rect” : [ 251.0, 138.0, 15.0, 15.0 ],
“numoutlets” : 1,
“outlettype” : [ "int" ]
}

}
, {
“box” : {
“maxclass” : “message”,
“text” : “bgrd $1″,
“id” : “obj-12″,
“fontname” : “Arial”,
“numinlets” : 2,
“patching_rect” : [ 251.0, 158.0, 44.0, 15.0 ],
“fontsize” : 9.0,
“numoutlets” : 1,
“outlettype” : [ "" ]
}

}
, {
“box” : {
“maxclass” : “message”,
“text” : “poll bang”,
“id” : “obj-13″,
“fontname” : “Arial”,
“numinlets” : 2,
“patching_rect” : [ 40.0, 159.0, 48.0, 15.0 ],
“fontsize” : 9.0,
“numoutlets” : 1,
“outlettype” : [ "" ]
}

}
, {
“box” : {
“maxclass” : “comment”,
“text” : “deviceID”,
“id” : “obj-15″,
“fontname” : “Arial”,
“numinlets” : 1,
“patching_rect” : [ 357.0, 233.0, 44.0, 17.0 ],
“fontsize” : 9.0,
“numoutlets” : 0
}

}
, {
“box” : {
“maxclass” : “number”,
“id” : “obj-16″,
“fontname” : “Arial”,
“numinlets” : 1,
“patching_rect” : [ 360.0, 216.0, 36.0, 17.0 ],
“triscale” : 0.9,
“fontsize” : 9.0,
“htextcolor” : [ 0.870588, 0.870588, 0.870588, 1.0 ],
“numoutlets” : 2,
“outlettype” : [ "int", "bang" ],
“bgcolor” : [ 0.866667, 0.866667, 0.866667, 1.0 ]
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “wacom 512″,
“id” : “obj-17″,
“fontname” : “Arial”,
“numinlets” : 1,
“patching_rect” : [ 31.0, 186.0, 140.5, 17.0 ],
“fontsize” : 9.0,
“numoutlets” : 10,
“outlettype” : [ "list", "int", "list", "int", "int", "int", "int", "int", "list", "list" ]
}

}
, {
“box” : {
“maxclass” : “comment”,
“text” : “tangential pressure”,
“linecount” : 2,
“id” : “obj-18″,
“fontname” : “Arial”,
“numinlets” : 1,
“patching_rect” : [ 305.0, 233.0, 50.0, 27.0 ],
“fontsize” : 9.0,
“numoutlets” : 0
}

}
, {
“box” : {
“maxclass” : “comment”,
“text” : “z-axis”,
“id” : “obj-19″,
“fontname” : “Arial”,
“numinlets” : 1,
“patching_rect” : [ 267.0, 233.0, 36.0, 17.0 ],
“fontsize” : 9.0,
“numoutlets” : 0
}

}
, {
“box” : {
“maxclass” : “comment”,
“text” : “button flags”,
“linecount” : 2,
“id” : “obj-23″,
“fontname” : “Arial”,
“numinlets” : 1,
“patching_rect” : [ 178.0, 233.0, 36.0, 27.0 ],
“fontsize” : 9.0,
“numoutlets” : 0
}

}
, {
“box” : {
“maxclass” : “comment”,
“text” : “pressure”,
“id” : “obj-24″,
“fontname” : “Arial”,
“numinlets” : 1,
“patching_rect” : [ 31.0, 276.0, 48.0, 17.0 ],
“fontsize” : 9.0,
“numoutlets” : 0
}

}
, {
“box” : {
“maxclass” : “comment”,
“text” : “x/y tilt”,
“id” : “obj-26″,
“fontname” : “Arial”,
“numinlets” : 1,
“patching_rect” : [ 90.0, 276.0, 43.0, 17.0 ],
“fontsize” : 9.0,
“numoutlets” : 0
}

}
, {
“box” : {
“maxclass” : “comment”,
“text” : “x/y position”,
“id” : “obj-27″,
“fontname” : “Arial”,
“numinlets” : 1,
“patching_rect” : [ 135.0, 420.0, 65.0, 17.0 ],
“fontsize” : 9.0,
“numoutlets” : 0
}

}
, {
“box” : {
“maxclass” : “comment”,
“text” : “rotation”,
“id” : “obj-28″,
“fontname” : “Arial”,
“numinlets” : 1,
“patching_rect” : [ 217.0, 233.0, 45.0, 17.0 ],
“fontsize” : 9.0,
“numoutlets” : 0
}

}
, {
“box” : {
“maxclass” : “umenu”,
“id” : “obj-29″,
“fontname” : “Arial”,
“types” : [ ],
“numinlets” : 1,
“patching_rect” : [ 369.0, 155.0, 178.0, 17.0 ],
“fontsize” : 9.0,
“numoutlets” : 3,
“labelclick” : 1,
“items” : [ "All tablets and tools", "u002c", "Graphire 4x5 / all tools", "u002c", "Intuos4 S / all tools", "u002c", "Intuos4 S / all tools", "u002c", "Intuos4 S / Unknown", "u002c", "Intuos4 S / Unknown" ],
“outlettype” : [ "int", "", "" ]
}

}
, {
“box” : {
“maxclass” : “message”,
“text” : “menu”,
“id” : “obj-30″,
“fontname” : “Arial”,
“numinlets” : 2,
“patching_rect” : [ 329.0, 156.0, 32.0, 15.0 ],
“fontsize” : 9.0,
“numoutlets” : 1,
“outlettype” : [ "" ]
}

}
, {
“box” : {
“maxclass” : “toggle”,
“id” : “obj-31″,
“numinlets” : 1,
“patching_rect” : [ 176.0, 138.0, 15.0, 15.0 ],
“numoutlets” : 1,
“outlettype” : [ "int" ]
}

}
, {
“box” : {
“maxclass” : “message”,
“text” : “nopointer $1″,
“id” : “obj-32″,
“fontname” : “Arial”,
“numinlets” : 2,
“patching_rect” : [ 176.0, 158.0, 65.0, 15.0 ],
“fontsize” : 9.0,
“numoutlets” : 1,
“outlettype” : [ "" ]
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “unpack 0 0″,
“id” : “obj-34″,
“fontname” : “Arial”,
“numinlets” : 1,
“patching_rect” : [ 72.0, 234.0, 55.0, 17.0 ],
“fontsize” : 9.0,
“numoutlets” : 2,
“outlettype” : [ “int”, “int”

#50244
May 7, 2010 at 9:34am
#180317
May 7, 2010 at 12:25pm

Oh, sorry about that, I will “copy compressed” and make a new post! Thanks for telling me!

#180318

You must be logged in to reply to this topic.