title: How to emulate a xbox 360 controller in Ubuntu 16.04
body: <p>I am a windows 10 user and using wsl to run ubuntu 16.04 to use ROS without a virtual machine.Now I need to use a jotstick to control a robot simulation in gazebo but the problem is wsl doesn't support usb joysticks yet. I have tried USBIP and it doesn't work without wsl2.</p>
  <p>So I used <a href="https://pypi.org/project/inputs/#:%7E:text=About,and%20your%20granddad%27s%20Python%202.7." rel="nofollow noreferrer">inputs</a> library to get data from joystick and using socket to &quot;transmit&quot; and  then &quot;receive&quot; and print the data in a script running in the wsl terminal. I am sending the data whenever a joystick event occurs.I am planning to use the received data to emulate a xbox 360 controller.</p>
  <p>I have looked into the <a href="https://pypi.org/project/evdev" rel="nofollow noreferrer">evdev</a> library but failed to find documentation on how to emulate xbox 360 controller. Is there any better way to do it?</p>