python joystick data sending test

my code to get data from a joystick and send it