From e9bb319875eb97d23c4467684407f3777284042c Mon Sep 17 00:00:00 2001 From: That One Seong Date: Wed, 5 Jun 2024 23:49:13 +0000 Subject: [PATCH] Replace G4ALL with OpenFIRE identifier Since really, no one should be using old code anyways... --- qhookermain.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/qhookermain.cpp b/qhookermain.cpp index 57f88f0..55db4ba 100644 --- a/qhookermain.cpp +++ b/qhookermain.cpp @@ -101,10 +101,10 @@ void qhookerMain::SerialInit() } else { // Yeah, sue me, we reading this backwards to make stack management easier. for(int i = serialFoundList.length() - 1; i >= 0; --i) { - // Detect GUN4ALL and GUN4IR guns (are we the only ones that support this?) - if(serialFoundList[i].vendorIdentifier() == 2336 || - serialFoundList[i].vendorIdentifier() == 9025 || - serialFoundList[i].vendorIdentifier() == 13939) { + // Detect OpenFIRE, GUN4IR, and Blamcon(?) guns (are we the only ones that support this?) + if(serialFoundList[i].vendorIdentifier() == 9025 || // JB + serialFoundList[i].vendorIdentifier() == 13939 || // Props3D + serialFoundList[i].vendorIdentifier() == 0xF143) { // OpenFIRE qInfo() << "Found device @" << serialFoundList[i].systemLocation(); } else { //qDebug() << "Deleting dummy device" << serialFoundList[i].systemLocation();