PCSX2 / pcsx2

PCSX2 - The Playstation 2 Emulator
https://pcsx2.net
GNU General Public License v3.0
11.48k stars 1.6k forks source link

[BUG]: Mouse issue in Half-Life #8319

Open vini1264 opened 1 year ago

vini1264 commented 1 year ago

Describe the Bug

I was testing the PS2 port of Half-Life 1 which has native mouse support, but when I set the mouse in the emulator USB device setting and started the game the camera wasn't moving as expected when moving the mouse fast, it's moving in a direction it wasn't supposed to be as showed in the video.

https://user-images.githubusercontent.com/52476409/222605491-e8c2e688-b316-4616-97f9-5e7a7780a634.mp4

Reproduction Steps

Move the mouse really fast reproduces this behaviour, moving it very slowly doesn't show this issue.

Expected Behavior

No response

PCSX2 Revision

v1.7.4179

Operating System

Windows 10 (64bit)

If Linux - Specify Distro

No response

AFrameWorker commented 1 year ago

Yep! Same issue here! Hoping it'll be resolved :)

goatcheeese commented 1 year ago

I have the same issue on both MacBook M2 and Windows 10!

landfillbaby commented 11 months ago

lower your DPI if your mouse supports it, it might just be the game itself not being able to handle it. that seemed to work for me.

PRGilland commented 10 months ago

This issue is still present in 1.7.5213. I vaguely recall it working properly on an older version of PCSX2 when it still used plugins, and even got as far as the Blast Pit chapter with no issues.

On a somewhat related note, there doesn't seem to be any way to get mouse support working in-game on the Steam Deck version. The deck's gyroscope functions as a mouse and works in the interface, but not in-game.

stenzek commented 10 months ago

We have nothing to do with Steam Deck. As far as we're concerned, it's not even PCSX2, because they ship modified configurations/setup.

Ask them for help, not us.

goatcheeese commented 10 months ago

lower your DPI if your mouse supports it, it might just be the game itself not being able to handle it. that seemed to work for me.

Thanks for the suggestion! I tried lowering the DPI in Windows, but it didn't seem to help much. It could make the mouse a lot slower, but jerky movements still seemed to throw it off. Is there a specific DPI that worked best for you?

Hmm I see what you mean about the game not being able to handle it. Using the analog stick mitigates the problem, but you can't ever really control it as quickly or precisely as you would a mouse; and if you move it slowly, it kinda defeats the purpose of having one at all. Seeing as the game has native mouse support, I'd assume the devs' intention was to make it feel like the PC version.

We have nothing to do with Steam Deck. As far as we're concerned, it's not even PCSX2, because they ship modified configurations/setup.

Ask them for help, not us.

Any idea what to do about it on Windows tho?

xDShot commented 10 months ago

We have nothing to do with Steam Deck. As far as we're concerned, it's not even PCSX2, because they ship modified configurations/setup.

Ask them for help, not us.

There's no such thing Steam Deck version. It's usually installed through Flatpak or appimage.

stenzek commented 10 months ago

We have nothing to do with Steam Deck. As far as we're concerned, it's not even PCSX2, because they ship modified configurations/setup. Ask them for help, not us.

There's no such thing Steam Deck version. It's usually installed through Flatpak or appimage.

Please read what I said again. They ship an unsupported configuration, refuse to change it, therefore we do not support SD.

WillySteichen commented 9 months ago

We have nothing to do with Steam Deck. As far as we're concerned, it's not even PCSX2, because they ship modified configurations/setup. Ask them for help, not us.

There's no such thing Steam Deck version. It's usually installed through Flatpak or appimage.

Please read what I said again. They ship an unsupported configuration, refuse to change it, therefore we do not support SD.

I have the exact same issue with the version available from the discover store, which AFAIK is directly sourced from https://flathub.org/apps/net.pcsx2.PCSX2

dsmirc commented 9 months ago

This issue is still present in 1.7.5213. I vaguely recall it working properly on an older version of PCSX2 when it still used plugins, and even got as far as the Blast Pit chapter with no issues.

On a somewhat related note, there doesn't seem to be any way to get mouse support working in-game on the Steam Deck version. The deck's gyroscope functions as a mouse and works in the interface, but not in-game.

I can confirm that the mouse works perfectly on PCSX2 1.5.0 using USBQemu 0.10.1-20 32-bit on Windows 10, confirming that this is a bug in the emulator, not the game.

thecnoNSMB commented 9 months ago

This issue also occurs on Linux (Nobara 38, based on Fedora), if that helps.

Sol1vaN commented 7 months ago

any updates for this? on 1.7.5476 the mouse directly dont move, even if i move the mouse really fast, the camera dont move nothing. 😥

JordanTheToaster commented 7 months ago

any updates for this? on 1.7.5476 the mouse directly dont move, even if i move the mouse really fast, the camera dont move nothing. 😥

It'll be fixed when someone wants to look into it no need to keep bumping posts.

CookiePLMonster commented 4 months ago

I can confirm that the mouse works perfectly on PCSX2 1.5.0 using USBQemu 0.10.1-20 32-bit on Windows 10, confirming that this is a bug in the emulator, not the game.

That isn't my experience - USBqemu-wheel 0.10.1-20 shows this issue on both v1.5.5 and v1.4.0. Could this be a game bug after all?

EDIT: USBqemu-wheel 0.8.0 introduced USB HID Mouse, yet I can still reproduce the same issue - it is most likely a game bug.

dsmirc commented 4 months ago

I can confirm that the mouse works perfectly on PCSX2 1.5.0 using USBQemu 0.10.1-20 32-bit on Windows 10, confirming that this is a bug in the emulator, not the game.

That isn't my experience - USBqemu-wheel 0.10.1-20 shows this issue on both v1.5.5 and v1.4.0. Could this be a game bug after all?

EDIT: USBqemu-wheel 0.8.0 introduced USB HID Mouse, yet I can still reproduce the same issue - it is most likely a game bug.

Hmm, that's odd. I tested it again, but got the same results. Maybe it's an issue on my end, but everything works great with the older versions. The new ones, though, they've got this mouse bug going on.

CookiePLMonster commented 4 months ago

I can confirm that the mouse works perfectly on PCSX2 1.5.0 using USBQemu 0.10.1-20 32-bit on Windows 10, confirming that this is a bug in the emulator, not the game.

That isn't my experience - USBqemu-wheel 0.10.1-20 shows this issue on both v1.5.5 and v1.4.0. Could this be a game bug after all? EDIT: USBqemu-wheel 0.8.0 introduced USB HID Mouse, yet I can still reproduce the same issue - it is most likely a game bug.

Hmm, that's odd. I tested it again, but got the same results. Maybe it's an issue on my end, but everything works great with the older versions. The new ones, though, they've got this mouse bug going on.

What is the

that you're using for this test? Also, if you know, what is your mouse's

?

dsmirc commented 4 months ago

What is the

  • Exact PCSX2 build
  • Exact USBqemu/USBqemu-wheel build

that you're using for this test? Also, if you know, what is your mouse's

  • Polling rate
  • DPI

?

PCSX2 1.5.0 using USBQemu 0.10.1-20 32-bit (newest version is the latest nightly build) mouse is Microsoft wireless mouse 1850 and the sensitivity is set to default in windows

CookiePLMonster commented 4 months ago

PCSX2 1.5.0

There isn't a single 1.5.0 build - check what specific one it is.

TheLastRar commented 4 months ago

The build date might be mentioned in the log iirc

dsmirc commented 4 months ago

PCSX2 1.5.0-20160108200937 - compiled on Jan 8 2016