Skip to content

[Bug]: Analog inputs on joysticks spam logs #1407

@DashDashDashDashDash

Description

@DashDashDashDashDash

Is there an existing issue for this?

  • I have searched the existing issues

Contact Details

No response

Version Info

Latest available release

What operating system are you seeing the problem on?

Linux (any distro)

Bug Behavior

Having a controller with any type of analog input (such as analog sticks, triggers and buttons) will cause InputFilter to spam the game's logs with "Invalid button pressed" until the controller is disconnected. As a side effect, this also makes rebinding keys a bit of a hassle as most inputs get eaten by "Joy0 unknown"

Expected Behavior

no log spam

Reproduction Steps

  1. Start game with or without controller plugged in
  2. Plug in controller if not already plugged in
Image

Anything else?

Tested locally with a Dualshock 4 controller, was successfully replicated by two other people with different setups, all using Linux.
One user reported that setting the analog sticks back to a neutral position would silence the logs, but analog triggers ' "neutral" position is when the button is half-pressed, so it happens regardless on my case.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions