From 14a4b25e9740d39213c9036e9415751db7dc700a Mon Sep 17 00:00:00 2001 From: Phil Taylor Date: Tue, 7 Feb 2023 15:22:22 +0000 Subject: [PATCH] Add a comment about usb device types --- wfviewtypes.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/wfviewtypes.h b/wfviewtypes.h index 9074e5c..454fdb7 100644 --- a/wfviewtypes.h +++ b/wfviewtypes.h @@ -196,6 +196,10 @@ enum passbandActions {passbandStatic, pbtInnerMove, pbtOuterMove, pbtMoving, pas enum usbDeviceType { usbNone = 0, shuttleXpress, shuttlePro2, RC28, xBoxGamepad, unknownGamepad }; + +/* Entries in knownUsbDevices contain: + * {usbDeviceType,vendorId,productId} + */ static unsigned short knownUsbDevices[3][3] = { {shuttleXpress,0x0b33,0x0020}, {shuttlePro2,0x0b33,0x0030},