title: How to request USB HID report descriptor from HID devices using UsbDeviceConnection on Android
body: <p>I'm trying to use <code>UsbDeviceConnection.controlTransfer</code> to get the HID report descriptor for USB devices, so I can see what buttons the USB HID device has.</p>
  
  <p>I've been able to get the actual input data from the HID devices by using a <code>bulkTransfer</code>.</p>
  
  <p>I've looked it up and can only find tutorials for creating and parsing a HID report descriptor. I've tried entering in different perimeters into <code>controlTransfer</code>, but I've been unable to figure it out.</p>
  
  <p>What values should I pass into <code>controlTransfer</code> to get the USB HID report descriptor, so I can start parsing what buttons the devices have and what bytes they are assigned to? Or are you not supposed to use <code>controlTransfer</code> to get the HID report descriptor? I'm new to working with USB.</p>