kopia lustrzana https://gitlab.com/eliggett/wfview
Quick fix
rodzic
14a4b25e97
commit
529d101540
|
@ -148,6 +148,10 @@ private:
|
||||||
void buttonState(QString but, double val);
|
void buttonState(QString but, double val);
|
||||||
usbDeviceType usbDevice = usbNone;
|
usbDeviceType usbDevice = usbNone;
|
||||||
|
|
||||||
|
unsigned short knownUsbDevices[3][3] = {
|
||||||
|
{shuttleXpress,0x0b33,0x0020},
|
||||||
|
{shuttlePro2,0x0b33,0x0030},
|
||||||
|
{RC28,0x0c26,0x001e} };
|
||||||
|
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
|
|
|
@ -196,13 +196,4 @@ enum passbandActions {passbandStatic, pbtInnerMove, pbtOuterMove, pbtMoving, pas
|
||||||
|
|
||||||
enum usbDeviceType { usbNone = 0, shuttleXpress, shuttlePro2, RC28, xBoxGamepad, unknownGamepad };
|
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
|
#endif // WFVIEWTYPES_H
|
||||||
|
|
Ładowanie…
Reference in New Issue