kopia lustrzana https://gitlab.com/eliggett/wfview
Ecoderplus
rodzic
b373685fd3
commit
32639c5394
|
@ -131,6 +131,10 @@ void controllerSetup::newDevice(unsigned char devType, QVector<BUTTON>* but, QVe
|
||||||
image.load(":/resources/xbox.png");
|
image.load(":/resources/xbox.png");
|
||||||
deviceName = "XBox";
|
deviceName = "XBox";
|
||||||
break;
|
break;
|
||||||
|
case eCoderPlus:
|
||||||
|
image.load(":/resources/ecoder.png");
|
||||||
|
deviceName = "eCoderPlus";
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
textItem->show();
|
textItem->show();
|
||||||
ui->graphicsView->setSceneRect(scene->itemsBoundingRect());
|
ui->graphicsView->setSceneRect(scene->itemsBoundingRect());
|
||||||
|
@ -199,4 +203,4 @@ void controllerSetup::receiveSensitivity(int val)
|
||||||
void controllerSetup::on_sensitivitySlider_valueChanged(int val)
|
void controllerSetup::on_sensitivitySlider_valueChanged(int val)
|
||||||
{
|
{
|
||||||
emit sendSensitivity(val);
|
emit sendSensitivity(val);
|
||||||
}
|
}
|
||||||
|
|
Plik binarny nie jest wyświetlany.
Po Szerokość: | Wysokość: | Rozmiar: 289 KiB |
|
@ -4,6 +4,7 @@
|
||||||
<file>shuttlexpress.png</file>
|
<file>shuttlexpress.png</file>
|
||||||
<file>shuttlepro.png</file>
|
<file>shuttlepro.png</file>
|
||||||
<file>rc28.png</file>
|
<file>rc28.png</file>
|
||||||
|
<file>ecoder.png</file>
|
||||||
<file>xbox.png</file>
|
<file>xbox.png</file>
|
||||||
</qresource>
|
</qresource>
|
||||||
</RCC>
|
</RCC>
|
||||||
|
|
|
@ -194,6 +194,12 @@ enum codecType { LPCM, PCMU, OPUS };
|
||||||
|
|
||||||
enum passbandActions {passbandStatic, pbtInnerMove, pbtOuterMove, pbtMoving, passbandResizing};
|
enum passbandActions {passbandStatic, pbtInnerMove, pbtOuterMove, pbtMoving, passbandResizing};
|
||||||
|
|
||||||
enum usbDeviceType { usbNone = 0, shuttleXpress, shuttlePro2, RC28, xBoxGamepad, unknownGamepad };
|
enum usbDeviceType { usbNone = 0, shuttleXpress, shuttlePro2, RC28, xBoxGamepad, eCoderPlus, unknownGamepad };
|
||||||
|
|
||||||
|
static unsigned short knownUsbDevices[4][4] = {
|
||||||
|
{shuttleXpress,0x0b33,0x0020},
|
||||||
|
{shuttlePro2,0x0b33,0x0030},
|
||||||
|
{eCoderPlus,0x1fc9,0x0003},
|
||||||
|
{RC28,0x0c26,0x001e} };
|
||||||
|
|
||||||
#endif // WFVIEWTYPES_H
|
#endif // WFVIEWTYPES_H
|
||||||
|
|
Ładowanie…
Reference in New Issue