Skip to content

Commit

Permalink
Update gs_frame.cpp/sys_usbd.cpp
Browse files Browse the repository at this point in the history
Co-authored-by: Megamouse <studienricky89@googlemail.com>
  • Loading branch information
Florin9doi and Megamouse committed Apr 29, 2024
1 parent f3277e7 commit 59e25a7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion rpcs3/Emu/Cell/lv2/sys_usbd.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -487,7 +487,7 @@ usb_handler_thread::usb_handler_thread()
usb_devices.push_back(std::make_shared<usb_device_gametablet>(get_new_location()));
}

if (g_cfg.io.guncon3 >= guncon3_handler::one_controller)
if (g_cfg.io.guncon3 != guncon3_handler::disabled)
{
sys_usbd.notice("Adding emulated GunCon3 (controller 1)");
usb_devices.push_back(std::make_shared<usb_device_guncon3>(0, get_new_location()));
Expand Down
2 changes: 1 addition & 1 deletion rpcs3/rpcs3qt/gs_frame.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1073,7 +1073,7 @@ void gs_frame::mouseDoubleClickEvent(QMouseEvent* ev)
if (m_disable_mouse
|| g_cfg.io.move == move_handler::mouse
|| g_cfg.io.gametablet == gametablet_handler::enabled
|| g_cfg.io.guncon3 >= guncon3_handler::one_controller) return;
|| g_cfg.io.guncon3 != guncon3_handler::disabled) return;
#ifdef HAVE_LIBEVDEV
if (g_cfg.io.move == move_handler::gun) return;
#endif
Expand Down

0 comments on commit 59e25a7

Please sign in to comment.