Thanks for your reply!
I don't know if it's a bug or it's the behaviour of the object, but i like to know a workaround.
I will explain what i'm trying to do:
I use the recycling not for a touchscreen solution, but for video blob tracking with ID labels. I have to follow a blob, not target the biggest or in order from left to right. Blobtracking in combination with the cv.jit.touches.recycle object i could follow just the first blob no matters its size or position. If i use cv.jit.blobs.sort the cv.jit.label mode order (biggest blob or left to right) keeps active, which i don't want. Different blobs can become one by moving around, in that case if the blobs separate again i want to follow one blob, no matter it's size or position.
I'm not good in Javascript unfortunately. I tried you're patch but probably i'm missing something. I don't know how the data normally comes from the s2m.wacomtouch. I tried to put in coordinates in the s2m.recycleFingersIDs.js but it looks like only the drawLCD is working. Do you know how s2m.recycleFingersIDs.js want it's coordinates to receive? Probably i'm missing something with i suppose?
I attached the patch with the example.