1
1
Fork 0
forked from suyu/suyu

Merge pull request #13068 from german77/no_errors

core: hid: Remove driver errors from log
This commit is contained in:
Charles Lombardo 2024-02-18 13:30:54 -05:00 committed by GitHub
commit 5361027ef0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -174,9 +174,13 @@ void EmulatedController::LoadDevices() {
// Only map virtual devices to the first controller // Only map virtual devices to the first controller
if (npad_id_type == NpadIdType::Player1 || npad_id_type == NpadIdType::Handheld) { if (npad_id_type == NpadIdType::Player1 || npad_id_type == NpadIdType::Handheld) {
camera_params[1] = Common::ParamPackage{"engine:camera,camera:1"}; camera_params[1] = Common::ParamPackage{"engine:camera,camera:1"};
ring_params[1] = Common::ParamPackage{"engine:joycon,axis_x:100,axis_y:101"};
nfc_params[0] = Common::ParamPackage{"engine:virtual_amiibo,nfc:1"}; nfc_params[0] = Common::ParamPackage{"engine:virtual_amiibo,nfc:1"};
#ifdef HAVE_LIBUSB
ring_params[1] = Common::ParamPackage{"engine:joycon,axis_x:100,axis_y:101"};
#endif
#ifdef ANDROID
android_params = Common::ParamPackage{"engine:android,port:100"}; android_params = Common::ParamPackage{"engine:android,port:100"};
#endif
} }
output_params[LeftIndex] = left_joycon; output_params[LeftIndex] = left_joycon;