Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Right mouse button only works once with controller button, until real right mouse button is pressed again #521

Closed
rsn8887 opened this issue Aug 26, 2024 · 1 comment · Fixed by #522

Comments

@rsn8887
Copy link
Collaborator

rsn8887 commented Aug 26, 2024

Tested with Eye of the Beholder using latest vice64sc core from today.

I mapped dpad to wasd and shoulder buttons to q,e, for movement. I then controlled mouse with left analog stick, which works. I then pressed B on the controller over my character's hand to punch. It works once, but never again, UNTIL I press the right mouse button on my real mouse once. Then the controller B button works as right mouse button again one more time.

The status bar displays the "R" icon for right mouse button correctly. So it must be something internal that blocks the controller button acting as right mouse button after one press.

Or maybe I am doing something wrong?

The left mouse button via A button doesn't show this behavior, it works pressing it multiple times just fine.

BTW: For EOTB, J1 and M2 is the correct configuration (I used the VKBD JOYP button to switch that)

@rsn8887 rsn8887 changed the title Right mouse button only works once with dpad, until real right mouse button is pressed again Right mouse button only works once with controller button, until real right mouse button is pressed again Aug 26, 2024
@sonninnos
Copy link
Collaborator

sonninnos commented Aug 26, 2024

Can't reproduce with mousetest2.prg, but can with joyride.prg..

mousetest2.prg tests only one port, but joyride.prg can test both ports, and it shows odd activity with the other port. I'm on it.

Edit: Just a rather simple overflow issue as suspected. Fix incoming after I inspect some more why the other port is still getting some wrong data with the right mouse button.

Edit2: Hah, it was just because I had F7 key mapped to the same button as the right mouse button in the core options. I'll make sure to block the mouse button press in that case.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants
@rsn8887 @sonninnos and others