qmk/qmk_firmware

[Bug] EXTRAKEY_ENABLE build flag is breaking steaminput on linux

クローズ

#25,277 opened on 2025/05/19

 (0 件のコメント) (0 件のリアクション) (0 人の担当者)C (43,867 件のフォーク)batch import
bughelp wanted

Repository metrics

Stars
 (20,368 個のスター)
PR merge metrics
 (平均マージ 20d 9h) (30d で 27 merged PRs)

説明

Describe the Bug

If you build qmk with EXTRAKEY_ENABLE which is default your keyboard will report that is supporting every HID available which will break steaminput. https://github.com/qmk/qmk_firmware/blob/02517bd8069ea6d22a3b10945611b0170f7ef7d4/tmk_core/protocol/usb_descriptor.c#L344-L347

Steam and KDE system settings will also detect your keyboard as joystick / gamepad.

For example my dualshock 4 controller will stop working in Dark souls 2 if I connect QMK keyboard. For now I have moved back to stock firmware which doesn't have this issue.

Keyboard Used

gmmk/gmmk2/p96/iso:default

Link to product page (if applicable)

No response

Operating System

Linux, Opensuse Tumbleweed

qmk doctor Output

Is AutoHotKey / Karabiner installed

  • AutoHotKey (Windows)
  • Karabiner (macOS)

Other keyboard-related software installed

No response

Additional Context

Steam related bug https://github.com/ValveSoftware/steam-for-linux/issues/3384

And more context what is probably happening. This patch was for microsoft keyboard https://github.com/torvalds/linux/commit/1989dada7ce07848196991c9ebf25ff9c5f14d4e

コントリビューターガイド