Fixed whitespace

This commit is contained in:
Sam Lantinga 2020-12-15 14:57:47 -08:00
parent 9940e71088
commit 14f977348d
1 changed files with 11 additions and 11 deletions

View File

@ -524,17 +524,17 @@ static int is_xbox360(unsigned short vendor_id, const struct libusb_interface_de
static int is_xboxone(unsigned short vendor_id, const struct libusb_interface_descriptor *intf_desc) static int is_xboxone(unsigned short vendor_id, const struct libusb_interface_descriptor *intf_desc)
{ {
static const int XB1_IFACE_SUBCLASS = 71; static const int XB1_IFACE_SUBCLASS = 71;
static const int XB1_IFACE_PROTOCOL = 208; static const int XB1_IFACE_PROTOCOL = 208;
static const int SUPPORTED_VENDORS[] = { static const int SUPPORTED_VENDORS[] = {
0x045e, /* Microsoft */ 0x045e, /* Microsoft */
0x0738, /* Mad Catz */ 0x0738, /* Mad Catz */
0x0e6f, /* PDP */ 0x0e6f, /* PDP */
0x0f0d, /* Hori */ 0x0f0d, /* Hori */
0x1532, /* Razer Wildcat */ 0x1532, /* Razer Wildcat */
0x24c6, /* PowerA */ 0x24c6, /* PowerA */
0x2e24, /* Hyperkin */ 0x2e24, /* Hyperkin */
}; };
if (intf_desc->bInterfaceNumber == 0 && if (intf_desc->bInterfaceNumber == 0 &&
intf_desc->bInterfaceClass == LIBUSB_CLASS_VENDOR_SPEC && intf_desc->bInterfaceClass == LIBUSB_CLASS_VENDOR_SPEC &&