I have a code not written by me that controls robotic arm by leap motion and arduino. using johnny five and leapjs. i tried it and it works and the way i move my hand the robot arm moves. no problem. but i want to make it to move by using keyboard.. like when i press a specific key one of the servo rotate right as long as i hold that key and so on for a total of four servos and each to have its specific keyboard key ,
example ( for servo 1 pressing "a" for left, "b" for right. for servo 2 "z"for left,"c" for right)
I really didn't write the original code that uses leap motion but i got it to run it and it worked for all servos.. now i want to make it keyboard control. can someone help ? i don't know the code to make the robot arm ( 4servos) controlled by keyboard