Merge pull request #13163 from german77/ring

core: hid: hid_core doesn't have access to LIBUSB
This commit is contained in:
liamwhite 2024-02-25 14:01:05 -05:00 committed by GitHub
commit 15831b19a3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -176,10 +176,9 @@ void EmulatedController::LoadDevices() {
if (npad_id_type == NpadIdType::Player1 || npad_id_type == NpadIdType::Handheld) {
camera_params[1] = Common::ParamPackage{"engine:camera,camera:1"};
nfc_params[0] = Common::ParamPackage{"engine:virtual_amiibo,nfc:1"};
#ifdef HAVE_LIBUSB
#ifndef ANDROID
ring_params[1] = Common::ParamPackage{"engine:joycon,axis_x:100,axis_y:101"};
#endif
#ifdef ANDROID
#else
android_params = Common::ParamPackage{"engine:android,port:100"};
#endif
}