From 0f18edfb54543db617b673b06ba62f70d9500728 Mon Sep 17 00:00:00 2001 From: Adam Jorgensen Date: Tue, 26 Jul 2022 17:20:12 -0400 Subject: [PATCH] #38: Added support for Victrix Pro FS XBO --- DriverManager/DriverManager.cpp | 5 ++ DriverManager/DriverManager.h | 1 + DriverManager/DriverManager.ui | 92 +++++++++++++--------- zadig_driver/victrix_pro_fs_xbo/README.txt | 1 + zadig_presets/victrix_pro_fs_preset.cfg | 6 ++ 5 files changed, 66 insertions(+), 39 deletions(-) create mode 100644 zadig_driver/victrix_pro_fs_xbo/README.txt create mode 100644 zadig_presets/victrix_pro_fs_preset.cfg diff --git a/DriverManager/DriverManager.cpp b/DriverManager/DriverManager.cpp index 13ab131..5a60915 100644 --- a/DriverManager/DriverManager.cpp +++ b/DriverManager/DriverManager.cpp @@ -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) @@ -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)))); +} diff --git a/DriverManager/DriverManager.h b/DriverManager/DriverManager.h index bb1fd7c..e45f88a 100644 --- a/DriverManager/DriverManager.h +++ b/DriverManager/DriverManager.h @@ -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; diff --git a/DriverManager/DriverManager.ui b/DriverManager/DriverManager.ui index 8b12419..3c5ea12 100644 --- a/DriverManager/DriverManager.ui +++ b/DriverManager/DriverManager.ui @@ -6,7 +6,7 @@ 0 0 - 711 + 689 324 @@ -19,28 +19,36 @@ - - + + - Razer Atrox XBO Driver + Madcatz TE2 XBO Driver - - - - true - - - Install + + + + false - - - - - - Madcatz TE2 XBO Driver + + Instructions + + + + + QFrame::NoFrame + + + <html><head/><body><p>1. Open the XBOFS.win application if it is not already open</p><p>2. Connect your Razer Atrox XBO, Madcatz TE2 XBO and/or Victrix Pro FS controller(s)</p><p>3. Click the relevant <span style=" font-weight:700;">Install</span> button</p><p>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 <span style=" font-weight:700;">Diagnostics</span> area and <a href="https://github.com/OOPMan/XBOFS.win/issues/new"><span style=" text-decoration: underline; color:#0000ff;">create a support ticket</span></a></p></body></html> + + + true + + + + @@ -53,7 +61,7 @@ - + Diagnostics @@ -75,29 +83,35 @@ - - - - false + + + + Razer Atrox XBO Driver - - Instructions + + + + + + true + + + Install + + + + + + + Victrix Pro FS XBO Driver + + + + + + + Install - - - - - QFrame::NoFrame - - - <html><head/><body><p>1. Open the XBOFS.win application if it is not already open</p><p>2. Connect your Razer Atrox XBO and/or Madcatz TE2 XBO controller(s)</p><p>3. Click the relevant <span style=" font-weight:700;">Install</span> button</p><p>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 <span style=" font-weight:700;">Diagnostics</span> area and <a href="https://github.com/OOPMan/XBOFS.win/issues/new"><span style=" text-decoration: underline; color:#0000ff;">create a support ticket</span></a></p></body></html> - - - true - - - - diff --git a/zadig_driver/victrix_pro_fs_xbo/README.txt b/zadig_driver/victrix_pro_fs_xbo/README.txt new file mode 100644 index 0000000..6506278 --- /dev/null +++ b/zadig_driver/victrix_pro_fs_xbo/README.txt @@ -0,0 +1 @@ +The driver created and installed by the Driver Manager will be placed here. Do not delete this directory! \ No newline at end of file diff --git a/zadig_presets/victrix_pro_fs_preset.cfg b/zadig_presets/victrix_pro_fs_preset.cfg new file mode 100644 index 0000000..1a164c4 --- /dev/null +++ b/zadig_presets/victrix_pro_fs_preset.cfg @@ -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}" \ No newline at end of file