Bug 512376 - Option to ignore mouse input when gamepad buttons/sticks are being used
Summary: Option to ignore mouse input when gamepad buttons/sticks are being used
Status: CONFIRMED
Alias: None
Product: kwin
Classification: Plasma
Component: input (other bugs)
Version First Reported In: 6.3.6
Platform: Other Linux
: NOR wishlist
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-11-20 10:27 UTC by caucusgrating600
Modified: 2025-11-20 21:19 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description caucusgrating600 2025-11-20 10:27:34 UTC
SUMMARY

Similar to the existing "Disable [touchpad] while typing" feature, accidental mouse input can cause issues when gaming (depending on the game, of course). Specifically, games tend to switch to a "keyboard + mouse" mode when they detect a mouse input, causing gamepad input to be ignored until a new input from the gamepad is received (i.e. moving the stick), causing the game to go back to it's "gamepad" mode. This is very noticeable with games where you have your stick in the same non-resting position for prolonged periods of time, where for example, a micro-movement in the mouse could cause you to stop moving in the game, which can be a big issue.

SUGGESTION

What I suggest is that if KDE Plasma detects that a gamepad's stick is in a non-idle position (respecting deadzones) or a button/trigger is held down, input from any connected mice are ignored, to prevent this issue. This feature should be optional however, as this might cause unforeseen issues for some people.

SOFTWARE/OS VERSIONS
KDE Plasma Version: 6.3.6
KDE Frameworks Version: 6.13.0
Qt Version: 6.8.3
Comment 1 TraceyC 2025-11-20 21:19:16 UTC
This seems worth considering

Moving to kwin which handles input events and changing to wishlist since this is a feature request
Comment 2 TraceyC 2025-11-20 21:19:26 UTC
.