diff --git a/src/controllers/hid/hidenumerator.cpp b/src/controllers/hid/hidenumerator.cpp index d22c96f3023..d96700ada43 100644 --- a/src/controllers/hid/hidenumerator.cpp +++ b/src/controllers/hid/hidenumerator.cpp @@ -5,6 +5,7 @@ #include "controllers/hid/hidcontroller.h" #include "controllers/hid/hiddenylist.h" #include "controllers/hid/hiddevice.h" +#include "util/cmdlineargs.h" namespace { @@ -12,7 +13,8 @@ bool recognizeDevice(const hid_device_info& device_info) { // Skip mice and keyboards. Users can accidentally disable their mouse // and/or keyboard by enabling them as HID controllers in Mixxx. // https://bugs.launchpad.net/mixxx/+bug/1940599 - if (device_info.usage_page == mixxx::hid::kGenericDesktopUsagePage && + if (!CmdlineArgs::Instance().getDeveloper() && + device_info.usage_page == mixxx::hid::kGenericDesktopUsagePage && (device_info.usage == mixxx::hid::kGenericDesktopMouseUsage || device_info.usage == mixxx::hid::kGenericDesktopKeyboardUsage)) { return false;