Welcome to %s forums

BrainModular Users Forum

Login Register

HID Trackpad Apple

I need help on a Patch
Post Reply
User avatar
cmodica
Member
Posts: 606
Location: Pélissanne
Contact:

Unread post by cmodica » 05 Nov 2013, 17:30

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.

User avatar
nay-seven
Site Admin
Posts: 5684
Location: rennes France
Contact:

Unread post by nay-seven » 05 Nov 2013, 18:31

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..?

User avatar
cmodica
Member
Posts: 606
Location: Pélissanne
Contact:

Unread post by cmodica » 05 Nov 2013, 20:45

Yes, i see my track Pad and there is an activity but i don't know what to do with that ...

User avatar
nay-seven
Site Admin
Posts: 5684
Location: rennes France
Contact:

Unread post by nay-seven » 05 Nov 2013, 21:00

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
Image

User avatar
cmodica
Member
Posts: 606
Location: Pélissanne
Contact:

Unread post by cmodica » 06 Nov 2013, 09:30

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.

User avatar
cmodica
Member
Posts: 606
Location: Pélissanne
Contact:

Unread post by cmodica » 06 Nov 2013, 16:04

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 :o

I can't see something witch varied from 0 to 255 along the X or Y axes !!!

User avatar
nay-seven
Site Admin
Posts: 5684
Location: rennes France
Contact:

Unread post by nay-seven » 06 Nov 2013, 16:30

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..

User avatar
cmodica
Member
Posts: 606
Location: Pélissanne
Contact:

Unread post by cmodica » 06 Nov 2013, 17:33

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

iococoi
Member
Posts: 211
Contact:

Unread post by iococoi » 06 Nov 2013, 17:52

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!

User avatar
cmodica
Member
Posts: 606
Location: Pélissanne
Contact:

Unread post by cmodica » 06 Nov 2013, 19:21

Thank you very much.

The Max external seems to be very cool and it will be great to have something like that in Usine.
and that's the original code to read the raw gesture data from a MacBook trackpad.

http://www.steike.com/code/multitouch/
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 ...

User avatar
nay-seven
Site Admin
Posts: 5684
Location: rennes France
Contact:

Unread post by nay-seven » 08 Jan 2014, 19:50

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 ..?

User avatar
cmodica
Member
Posts: 606
Location: Pélissanne
Contact:

Unread post by cmodica » 13 Jan 2014, 09:54

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.

Post Reply

Who is online

Users browsing this forum: No registered users and 76 guests