diff options
| author | liamwhite <liamwhite@users.noreply.github.com> | 2024-02-25 14:01:05 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-02-25 14:01:05 -0500 |
| commit | 0b15d99bb22298113531acb86cff5acea2f2b26b (patch) | |
| tree | 96dcece1abea19d272ac7d729c2c3cf459ca4231 /src/hid_core/frontend/emulated_controller.cpp | |
| parent | 02b3a505649e5a60bb226f826d6dbd701b391a0c (diff) | |
| parent | 68b0f72f277f96b35f64b59ce66b465146dfa99e (diff) | |
Merge pull request #13163 from german77/ring
core: hid: hid_core doesn't have access to LIBUSB
Diffstat (limited to 'src/hid_core/frontend/emulated_controller.cpp')
| -rw-r--r-- | src/hid_core/frontend/emulated_controller.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/hid_core/frontend/emulated_controller.cpp b/src/hid_core/frontend/emulated_controller.cpp index 7664341bd5..9aa08d5cc9 100644 --- a/src/hid_core/frontend/emulated_controller.cpp +++ b/src/hid_core/frontend/emulated_controller.cpp @@ -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 } |
