hello pd-people!

i would like to make a project where a video on a beamer is controlled by a capacitive touch sensor.

I would like to know, if you think its possible to run a video from the pi, have PD as a in inbetween program that both picks up the signal of the sensor and also translates it to the video?

it seems most people use arduino, but i would see if its possible to link togetether a raspberry a sensor and puredata?

thanks a million!