I'm trying to gesture control my raspberry pi monitor with leap motion and I'm using Cylon.js to achieve that. If I want to my raspberry pi 4 to connect to leap motion via Cylon.js. Would I be running Cylon.js on the raspberry pi or on the computer that is connected to leap motion?
In addition, to connect raspberry pi to leap motion, is this the way to write the code? I wrote this code assuming that Cylon.js is running on the raspberry pi and trying to connect to the computer that is connect to leap motion. Please correct me if I'm wrong.
connections: {
leap: { adaptor: "leapmotion", host:"192.168.1.0" },
rasp: { adaptor: "raspi" }
},
devices: {
leapmotion: { driver: "leapmotion", connection: "leap" }
}