Skip to content

Commit

Permalink
USB: Add DJ hero turntable emulation
Browse files Browse the repository at this point in the history
  • Loading branch information
sanjay900 authored and stenzek committed Jul 1, 2023
1 parent 28a197b commit f91f257
Show file tree
Hide file tree
Showing 7 changed files with 598 additions and 1 deletion.
1 change: 1 addition & 0 deletions pcsx2/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -437,6 +437,7 @@ set(pcsx2USBSources
USB/usb-pad/usb-pad-ff.cpp
USB/usb-pad/usb-pad.cpp
USB/usb-pad/usb-seamic.cpp
USB/usb-pad/usb-turntable.cpp
USB/usb-printer/usb-printer.cpp
)

Expand Down
2 changes: 2 additions & 0 deletions pcsx2/USB/deviceproxy.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
#include "usb-mic/usb-mic-singstar.h"
#include "usb-msd/usb-msd.h"
#include "usb-pad/usb-pad.h"
#include "usb-pad/usb-turntable.h"
#include "usb-printer/usb-printer.h"
#include "usb-lightgun/guncon2.h"

Expand Down Expand Up @@ -82,6 +83,7 @@ void RegisterDevice::Register()
inst.Add(DEVTYPE_HIDKBD, new usb_hid::HIDKbdDevice());
inst.Add(DEVTYPE_HIDMOUSE, new usb_hid::HIDMouseDevice());
inst.Add(DEVTYPE_RBKIT, new usb_pad::RBDrumKitDevice());
inst.Add(DEVTYPE_DJ, new usb_pad::DJTurntableDevice());
inst.Add(DEVTYPE_BUZZ, new usb_pad::BuzzDevice());
inst.Add(DEVTYPE_EYETOY, new usb_eyetoy::EyeToyWebCamDevice());
inst.Add(DEVTYPE_BEATMANIA_DADADA, new usb_hid::BeatManiaDevice());
Expand Down
3 changes: 2 additions & 1 deletion pcsx2/USB/deviceproxy.h
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,8 @@ enum DeviceType : s32
DEVTYPE_SEGA_SEAMIC,
DEVTYPE_PRINTER,
DEVTYPE_KEYBOARDMANIA,
DEVTYPE_GUNCON2
DEVTYPE_GUNCON2,
DEVTYPE_DJ
};

class DeviceProxy
Expand Down
Loading

0 comments on commit f91f257

Please sign in to comment.