failbranch
Phil Taylor 2023-02-07 16:50:02 +00:00
rodzic 14a4b25e97
commit 529d101540
2 zmienionych plików z 4 dodań i 9 usunięć

Wyświetl plik

@ -148,6 +148,10 @@ private:
void buttonState(QString but, double val);
usbDeviceType usbDevice = usbNone;
unsigned short knownUsbDevices[3][3] = {
{shuttleXpress,0x0b33,0x0020},
{shuttlePro2,0x0b33,0x0030},
{RC28,0x0c26,0x001e} };
protected:

Wyświetl plik

@ -196,13 +196,4 @@ 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},
{RC28,0x0c26,0x001e} };
#endif // WFVIEWTYPES_H