Joystick:getDeviceInfo
Gets the USB vendor ID, product ID, and product version numbers of joystick which consistent across operating systems.

Can be used to show different icons, etc. for different gamepads.
vendorID, productID, productVersion = Joystick:getDeviceInfo()
vendorID number The USB vendor ID of the joystick.
productID number The USB product ID of the joystick.
productVersion number The product version of the joystick.