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

Some non-gamepad devices opened as gamepads on Linux #94775

Closed
davnotdev opened this issue Jul 26, 2024 · 0 comments
Closed

Some non-gamepad devices opened as gamepads on Linux #94775

davnotdev opened this issue Jul 26, 2024 · 0 comments

Comments

@davnotdev
Copy link

davnotdev commented Jul 26, 2024

Tested versions

Reproducible in v4.3.rc.custom_build.e343dbbcc, 4.2.2.stable.fedora.15073afe3, and v4.0.stable.official.92bee43ad

System information

Fedora

Issue description

On my hardware (ThinkBook 13s Gen 4 13" AMD) running Linux, my touchpad shows up as a device called ELAN06FA:00 04F3:3214 Touchpad on udev. This device is advertised similar to a joystick with absolute XY events and no key events, enough for Godot to pass this device as a joypad. When moving my cursor via this touchpad in game or in editor, both mouse events and joypad events are fired.

Steps to reproduce

Any use of joypad inputs. For example:

  1. Project > Project Settings > Input Map
  2. Click Filter events
  3. Move the cursor via touchpad

Joypad axis 0-1 will appear.

Minimal reproduction project (MRP)

N/A

@davnotdev davnotdev changed the title Some non-gamepad devices as opened as gamepads on Linux Some non-gamepad devices opened as gamepads on Linux Jul 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants