Skip to content

Commit

Permalink
Replace G4ALL with OpenFIRE identifier
Browse files Browse the repository at this point in the history
Since really, no one should be using old code anyways...
  • Loading branch information
SeongGino authored Jun 5, 2024
1 parent 8288cc2 commit e9bb319
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions qhookermain.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit e9bb319

Please sign in to comment.