Re: Pendants
Originally Posted by
kstrauss
The Shuttle has its own USB VID/PID (0b33:0020) so you'll have to figure out how to change the one that Arduino uses and probably change the Arduino IDE to recognize your modified device. Alternatively you can recompile the Shuttle handler used by PP to recognize the usual Arduino VID/PID (ISTR that the Shuttle VID/PID is hardcoded in the C source for the handler rather than relying on UDEV rules but I haven't checked for ages). Unfortunately you will then have to patch each version of PP to use your modified handler.
I think the preferred way would be to have change the USB VID/PID in a Teensy so it was the same as the jog shuttle. Having to make changes after a PathPilot update would be a hassle.
You would need to do a little reverse engineering to figure out how the shuttle USB protocol works now. Probably get some sort of USB snooper hardware or software. I wonder if you could mimic the jog shuttle with just keyboard commands sent from a Teensy microcontroller.
"You can't teach stuff in a school that you would learn in real life unless the real life people are in charge of the school." - Gene Sherman