Skip to content

Commit

Permalink
USB: Move Buzz device to dedicated files and create custom UI
Browse files Browse the repository at this point in the history
  • Loading branch information
Florin9doi authored and SternXD committed Jul 28, 2024
1 parent 73a6322 commit ab7a6ab
Show file tree
Hide file tree
Showing 12 changed files with 1,362 additions and 208 deletions.
6 changes: 6 additions & 0 deletions pcsx2-qt/Settings/ControllerBindingWidget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
#include "QtUtils.h"
#include "SettingWidgetBinder.h"

#include "ui_USBBindingWidget_Buzz.h"
#include "ui_USBBindingWidget_DrivingForce.h"
#include "ui_USBBindingWidget_Gametrak.h"
#include "ui_USBBindingWidget_GTForce.h"
Expand Down Expand Up @@ -1333,6 +1334,11 @@ USBBindingWidget* USBBindingWidget::createInstance(
has_template = true;
}
}
else if (type == "BuzzDevice")
{
Ui::USBBindingWidget_Buzz().setupUi(widget);
has_template = true;
}
else if (type == "Gametrak")
{
Ui::USBBindingWidget_Gametrak().setupUi(widget);
Expand Down
Loading

0 comments on commit ab7a6ab

Please sign in to comment.