ValveSoftware / ValveSoftware/Proton

Mouse scroll wheel stops working in Glass Masquerade (511470) when gamepad is emulating a mouse

Open
#2,824 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Game compatibility
Dominant language
C++
Stars
32.8k
Forks
1.6k
PR merge metrics
PR metrics pending

Description

Compatibility Report

  • Name of the game with compatibility issues: Glass Masquerade
  • Steam AppID of the game: 511470

System Information

I confirm:

  • that I haven't found an existing compatibility report for this game.
  • that I have checked whether there are updates for my system available.

Symptoms

When launching the game from Big Picture, using a gamepad configured to emulate a mouse, the mouse's scroll wheel doesn't work. Also the ESC key doesn't work (possibly other keyboard keys, the game I think only responds to ESC.) If I then switch to the physical mouse, its scroll wheel doesn't work either.

Strangely, if I first move around the game with a physical mouse, and then switch to the gamepad, then it all works fine, both the physical mouse and the emulated one, including the scroll wheel.

Reproduction

In Big Picture mode:

  • Configure a bluetooth connected Dualshock 4 gamepad for the game using the template for WASD keyboard and mouse
  • Launch the game
  • Without moving the physical mouse or using the physical keyboard, start a level
  • Hover over one of the puzzle pieces that have yet to be placed
  • Press L1 or R1 (which map to the mouse's scroll wheel)
Expected Result

The circle where the pieces are placed rotates to show more pieces

Actual Result

The circle doesn't move

Notes

I can confirm the scroll wheel and ESC key work fine no matter what the first input is in proton 3.16-9 beta, and I'm pretty sure it was all working fine on previous proton 4.2 versions (4.2.6 or maybe 4.2.5) though I can't confirm it now.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the issue in Proton 4.2-7 using Big Picture, a Bluetooth DualShock 4 configured for WASD and mouse, and Glass Masquerade (AppID 511470). Start by tracing the input handling involved when the gamepad provides the first input; the work is done when scroll-wheel input and ESC work whether input begins with the gamepad or physical devices.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.