The goal of my project is to make a robot that is wirelessly controlled. I can be controlled via a gamepad controller locally when connected to the raspberry pi (the raspberry pi is connected to a pwm board to which motors are connected). This is done in one python script and can do stuff for each button. I'm running lighttpd on the pi as a website host for the audio and visual components. Currently I've tried to use html 5 to recognize the controller and run a script for each button. This is proving to be complicated (around two scripts per button), and not working correctly. It seems that lighttpd can only really run one script at a time. I hold a button to turn on light A (works), keep holding that button hold another to turn on light B (works) - I let go of button A and B also shuts off. I was wondering if there is a way to pass through the usb device to the python script located on the pi. Somehow use just one script that tells it that usb device is not local but on a client. Any help is appreciated thank ya!