diff --git a/rpcs3/Emu/Io/GunCon3.cpp b/rpcs3/Emu/Io/GunCon3.cpp index 00f41905f6..db456dab00 100644 --- a/rpcs3/Emu/Io/GunCon3.cpp +++ b/rpcs3/Emu/Io/GunCon3.cpp @@ -280,7 +280,7 @@ void usb_device_guncon3::interrupt_transfer(u32 buf_size, u8* buf, u32 endpoint, gc.gun_x = (mouse_data.x_pos * USHRT_MAX / mouse_data.x_max) - SHRT_MAX; gc.gun_y = (mouse_data.y_pos * -USHRT_MAX / mouse_data.y_max) + SHRT_MAX; - cfg->handle_input(mouse_data, true, input_callback); + cfg->handle_input(mouse_data, input_callback); } guncon3_encode(&gc, buf, m_key.data()); diff --git a/rpcs3/Emu/Io/emulated_pad_config.h b/rpcs3/Emu/Io/emulated_pad_config.h index e1a992f167..5e3fc47ab7 100644 --- a/rpcs3/Emu/Io/emulated_pad_config.h +++ b/rpcs3/Emu/Io/emulated_pad_config.h @@ -107,7 +107,7 @@ public: } } - void handle_input(const Mouse& mouse, bool press_only, const std::function& func) const + void handle_input(const Mouse& mouse, const std::function& func) const { for (int i = 0; i < 7; i++) {