mirror of
https://github.com/yuzu-emu/yuzu-android
synced 2024-11-25 15:59:06 +00:00
core: hid: hid_core doesn't have access to LIBUSB
This commit is contained in:
parent
a93d249ac1
commit
e62cea20d1
1 changed files with 2 additions and 3 deletions
|
@ -175,10 +175,9 @@ void EmulatedController::LoadDevices() {
|
||||||
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"};
|
||||||
nfc_params[0] = Common::ParamPackage{"engine:virtual_amiibo,nfc: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"};
|
ring_params[1] = Common::ParamPackage{"engine:joycon,axis_x:100,axis_y:101"};
|
||||||
#endif
|
#else
|
||||||
#ifdef ANDROID
|
|
||||||
android_params = Common::ParamPackage{"engine:android,port:100"};
|
android_params = Common::ParamPackage{"engine:android,port:100"};
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue