Page 1 of 1
Posted: 05 Nov 2013, 17:30
by cmodica
How can i use the HID module with the TrackPad Apple to remote an XY Pad module.
I want to use the Track Pad to drive the "Real Time Granulator".
thanks.
Posted: 05 Nov 2013, 18:31
by nay-seven
If you add an array display module on the bytes out oulet of the HID module and a listbox on the devices inlet, do you see your pad and activity in the array..?
Posted: 05 Nov 2013, 20:45
by cmodica
Yes, i see my track Pad and there is an activity but i don't know what to do with that ...
Posted: 05 Nov 2013, 21:00
by nay-seven
you have to look at the values sent by your pad and convert them to 0_1 to enter your XY Pad, here an example where a joystick sends 0 to 255 values, i use here a
change scale module, but you can also use a divide module

Posted: 06 Nov 2013, 09:30
by cmodica
Thank you i will try as soon as possible. It seems very clear when you explain.
Thank you very much.
I'll tell you about my experience.
Posted: 06 Nov 2013, 16:04
by cmodica
I try but i don't understand how to use the value ... it seems not so easy as i hope. I don't understand what value correspond to the X/Y coordonate value ... Perhap's a combinaison of 6 values
I can't see something witch varied from 0 to 255 along the X or Y axes !!!
Posted: 06 Nov 2013, 16:30
by nay-seven
the 0 to 255 is only an example , maybe not applied to your case, can be 0 to 1 or any others
try this: press the left low corner of your pad and note the 6 values
do the same for the left high corner ,
then right hight,
then low right
any logic..?
i suppose you must also have the press ON/OFF state too..
Posted: 06 Nov 2013, 17:33
by cmodica
No i realy don't understand ... it seems never be the same. It's like it depend to a lot of parameter : position on the track pad, position on the screen, pressure, and more ...
I know Apple Trackpad is a complex interface witch can interact with 11 finger and i can find to understand how ... perhaps later ...
Thanks
Posted: 06 Nov 2013, 17:52
by iococoi
there exists an external object for MaxMsp
http://www.anyma.ch/2009/research/multi ... or-maxmsp/
and that's the original code to read the raw gesture data from a MacBook trackpad.
http://www.steike.com/code/multitouch/
that's a quite complicated device. ouch!
Posted: 06 Nov 2013, 19:21
by cmodica
Thank you very much.
The Max external seems to be very cool and it will be great to have something like that in Usine.
It is totaly out of my compétence ... But thanks a lot.
Perhaps some one who know and understand will can code a new Usine Module for the TrackPad ...
Posted: 08 Jan 2014, 19:50
by nay-seven
someone offer me this device for Christmas, it's a second hand device, but works fine as mouse, gesture on Mac, but i don't have activity in HID mode , only an array of 4 and a fixed value of 2...
have you change something in the system settings before ..?
Posted: 13 Jan 2014, 09:54
by cmodica
hi Nay.
No i didn't change anything in the system but i tried with the Trackpad of my MacBook Pro and not with an external device. But there is no reason to be different ...
I work a lot and i don't have a lot of free time for now, but i will try again and tell you.