Skip to content

Commit

Permalink
#38: Added support for Victrix Pro FS XBO
Browse files Browse the repository at this point in the history
  • Loading branch information
OOPMan committed Jul 26, 2022
1 parent 321abfd commit 0f18edf
Show file tree
Hide file tree
Showing 5 changed files with 66 additions and 39 deletions.
5 changes: 5 additions & 0 deletions DriverManager/DriverManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ DriverManager::DriverManager(QWidget *parent)
ui.setupUi(this);
connect(ui.razerAtroxXBODriverPushButton, &QPushButton::clicked, this, &DriverManager::handleRazerAtroxXBODriverPushButtonClicked);
connect(ui.madcatzTE2DriverPushButton, &QPushButton::clicked, this, &DriverManager::handleMadcatzTE2XBODriverPushButtonClicked);
connect(ui.victrixProFSXBODriverPushButton, &QPushButton::clicked, this, &DriverManager::handleVictrixProFSXBODriverPushButtonClicked);
}

int DriverManager::installDriver(QString driverName, unsigned short vendorId, unsigned short productId)
Expand Down Expand Up @@ -53,3 +54,7 @@ void DriverManager::handleMadcatzTE2XBODriverPushButtonClicked(bool checked)
ui.diagnosticsLabel->setText(QString("libwdi Result Code: %1").arg(QString::number(installDriver("madcatz_te2_xbo", 0x0738, 0x4a01))));
}

void DriverManager::handleVictrixProFSXBODriverPushButtonClicked(bool checked)
{
ui.diagnosticsLabel->setText(QString("libwdi Result Code: %1").arg(QString::number(installDriver("victrix_pro_fs_xbo", 0xe6f, 0x205))));
}
1 change: 1 addition & 0 deletions DriverManager/DriverManager.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ class DriverManager : public QMainWindow
public slots:
void handleRazerAtroxXBODriverPushButtonClicked(bool checked = false);
void handleMadcatzTE2XBODriverPushButtonClicked(bool checked = false);
void handleVictrixProFSXBODriverPushButtonClicked(bool checked = false);

protected:
Ui::DriverManagerClass ui;
Expand Down
92 changes: 53 additions & 39 deletions DriverManager/DriverManager.ui
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<rect>
<x>0</x>
<y>0</y>
<width>711</width>
<width>689</width>
<height>324</height>
</rect>
</property>
Expand All @@ -19,28 +19,36 @@
</property>
<widget class="QWidget" name="centralWidget">
<layout class="QGridLayout" name="gridLayout">
<item row="1" column="0">
<widget class="QLabel" name="label">
<item row="2" column="0">
<widget class="QLabel" name="label_2">
<property name="text">
<string>Razer Atrox XBO Driver</string>
<string>Madcatz TE2 XBO Driver</string>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QPushButton" name="razerAtroxXBODriverPushButton">
<property name="enabled">
<bool>true</bool>
</property>
<property name="text">
<string>Install</string>
<item row="0" column="0" colspan="2">
<widget class="QGroupBox" name="groupBox_2">
<property name="autoFillBackground">
<bool>false</bool>
</property>
</widget>
</item>
<item row="2" column="0">
<widget class="QLabel" name="label_2">
<property name="text">
<string>Madcatz TE2 XBO Driver</string>
<property name="title">
<string>Instructions</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<widget class="QLabel" name="label_3">
<property name="frameShape">
<enum>QFrame::NoFrame</enum>
</property>
<property name="text">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;1. Open the XBOFS.win application if it is not already open&lt;/p&gt;&lt;p&gt;2. Connect your Razer Atrox XBO, Madcatz TE2 XBO and/or Victrix Pro FS controller(s)&lt;/p&gt;&lt;p&gt;3. Click the relevant &lt;span style=&quot; font-weight:700;&quot;&gt;Install&lt;/span&gt; button&lt;/p&gt;&lt;p&gt;4. Wait while the Driver is installed. The XBOFS.win application will immediately detect the controller(s) if the Driver installs correctly. If the Driver fails to install correctly note the error code displayed in the &lt;span style=&quot; font-weight:700;&quot;&gt;Diagnostics&lt;/span&gt; area and &lt;a href=&quot;https://github.com/OOPMan/XBOFS.win/issues/new&quot;&gt;&lt;span style=&quot; text-decoration: underline; color:#0000ff;&quot;&gt;create a support ticket&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="wordWrap">
<bool>true</bool>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item row="2" column="1">
Expand All @@ -53,7 +61,7 @@
</property>
</widget>
</item>
<item row="3" column="0" colspan="2">
<item row="4" column="0" colspan="2">
<widget class="QGroupBox" name="groupBox">
<property name="title">
<string>Diagnostics</string>
Expand All @@ -75,29 +83,35 @@
</layout>
</widget>
</item>
<item row="0" column="0" colspan="2">
<widget class="QGroupBox" name="groupBox_2">
<property name="autoFillBackground">
<bool>false</bool>
<item row="1" column="0">
<widget class="QLabel" name="label">
<property name="text">
<string>Razer Atrox XBO Driver</string>
</property>
<property name="title">
<string>Instructions</string>
</widget>
</item>
<item row="1" column="1">
<widget class="QPushButton" name="razerAtroxXBODriverPushButton">
<property name="enabled">
<bool>true</bool>
</property>
<property name="text">
<string>Install</string>
</property>
</widget>
</item>
<item row="3" column="0">
<widget class="QLabel" name="label_4">
<property name="text">
<string>Victrix Pro FS XBO Driver</string>
</property>
</widget>
</item>
<item row="3" column="1">
<widget class="QPushButton" name="victrixProFSXBODriverPushButton">
<property name="text">
<string>Install</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<widget class="QLabel" name="label_3">
<property name="frameShape">
<enum>QFrame::NoFrame</enum>
</property>
<property name="text">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;1. Open the XBOFS.win application if it is not already open&lt;/p&gt;&lt;p&gt;2. Connect your Razer Atrox XBO and/or Madcatz TE2 XBO controller(s)&lt;/p&gt;&lt;p&gt;3. Click the relevant &lt;span style=&quot; font-weight:700;&quot;&gt;Install&lt;/span&gt; button&lt;/p&gt;&lt;p&gt;4. Wait while the Driver is installed. The XBOFS.win application will immediately detect the controller(s) if the Driver installs correctly. If the Driver fails to install correctly note the error code displayed in the &lt;span style=&quot; font-weight:700;&quot;&gt;Diagnostics&lt;/span&gt; area and &lt;a href=&quot;https://github.com/OOPMan/XBOFS.win/issues/new&quot;&gt;&lt;span style=&quot; text-decoration: underline; color:#0000ff;&quot;&gt;create a support ticket&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="wordWrap">
<bool>true</bool>
</property>
</widget>
</item>
</layout>
</widget>
</item>
</layout>
Expand Down
1 change: 1 addition & 0 deletions zadig_driver/victrix_pro_fs_xbo/README.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
The driver created and installed by the Driver Manager will be placed here. Do not delete this directory!
6 changes: 6 additions & 0 deletions zadig_presets/victrix_pro_fs_preset.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# This is a preset device configuration for Zadig for the Razer Atrox XBO Arcade Stick
[device]
Description = "XBOFS.win Controller (Victrix Pro Fight Stick for Xbox One)"
VID = 0xe6f
PID = 0x205
GUID = "{5ACF052A-3BE5-46AE-905E-356BA17671BD}"

0 comments on commit 0f18edf

Please sign in to comment.